:root{
    --white: #fffbe0;
    --yellow: #fcda05;
    --dark-yellow: #fece49;
    --pink: #ff41b3;
    --gray: #393e46;
    --black: #222831;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
html,body{
    background-color: transparent;
    line-height: 1.5;
}

/* Header */
header{
    background-color: var(--black);
    width: 100vw;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
header h1{
    color: var(--yellow);
    font-size: 4vmin;
    font-weight: 700;
    font-variant-caps: small-caps;
    text-align: center;
}

/* Main */
.container{
    width: 100vw;
    height: 80vh;
    display: flex;
    align-items: center;
}
.container .card{
    width: 35vw;
    height: 65vh;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: var(--gray);
    padding: 20px;
    margin: 0 1.5vw;
}
.container .card h2{
    font-size: 3vmin;
    font-weight: 700;
    font-variant-caps: small-caps;
    margin-bottom: 15px;
}
.container .card p{
    font-size: 2vmin;
    font-weight: 500;
    margin-bottom: 15px;
    width: 100%;
}
.container#ai{
    flex-direction: row-reverse;
}
.container#ai .card{
    width: 35vw;
    height: 55vh;
}
.media{
    margin-top: 10px;
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.link{
    margin-top: 15px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.media audio{
    width: 100%;
}
.media a{
    width: 45%;
    height: 100%;
    background-color: var(--yellow);
    border: none;
    border-radius: 5px;
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--gray) 4px 4px 0 0;
}
.media a:hover{
    background-color: var(--dark-yellow);
}
.media a:active, .media a:focus{
    box-shadow: var(--gray) 2px 2px 0 0;
    transform: translate(2px, 2px);
}

/* Background */
.background{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
}
.image1{
    background-image: url("../img/background1.jpg");
}
.image2{
    background-image: url("../img/background2.jpg");
    transform: scaleX(-1);
}
.image3{
    background-image: url("../img/background3.jpg");
    transform: scaleX(-1);
}

/* Lang Change */
.lang{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 30px;
    background-color: var(--yellow);
    border: none;
    border-radius: 5px;
    color: var(--black);
    font-size: 100%;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
#lang{
    top: 30px;
}
label.lang{
    padding-left: 3px;
}

/* Footer */
footer{
    position: relative;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 20vh;
    background-color: var(--black);
    color: var(--yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5px 0;
}
footer p{
    font-size: 100%;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Media Queries */
@media screen and (max-width: 390px) {
    .container .card{
        height: 700px;
    }
    .container#ai .card{
        height: 430px;
    }
    footer{
        font-size: 90%;
    }
}
@media screen and (max-width: 530px) {
    body{
        overflow-x: hidden;
    }
    header h1{
        font-size: 5.5vmin;
    }
    .container .card, .container#ai .card{
        margin-top: 30px;
        width: 95vw;
        height: 800px;
        display: inline;
    }
    .container {
        margin-top: 50px;
    }
    .container#ai .card{
        height: 520px;
    }
    .container .card h2, .container#ai .card h2{
        font-size: 4.4vmin;
    }
    .container .card p, .container#ai .card p{
        font-size: 4vmin;
    }
    .media{
        height: 20%;
    }
    .media a{
        width: 45%;
        font-size: 1.2rem;
    }
    .media audio{
        height: 35px;
    }
    .link{
        height: 35px;
    }
    .container{
        width: 99vw;
        height: 80vh;
    }
    .imgSlide{
        width: 100vw !important;
        height: 65vh !important;
    }
    .lang{
        width: 80px;
        height: 20px;
        top: 5px;
        font-size: 70%;
    }
    #lang{
        top: 20px;
    }
}
@media screen and (max-width: 950px) and (min-width: 531px){
    .container .card{
        width: 70vw;
        margin: 0 3vw;
    }
    .container#ai .card{
        width: 60vw;
        margin: 0 3vw;
    }
    .container#SlideShow{
        width: 80vw;
        overflow: hidden;
    }
    .lang{
        width: 80px;
        height: 20px;
        top: 5px;
        font-size: 70%;
    }
    #lang{
        top: 20px;
    }
}

@media screen and (max-width: 1430px) and (min-width: 950px){
    .container .card{
        width: 54vw;
    }
    .container#ai .card{
        width: 50vw;
    }
    .container#SlideShow{
        width: 90vw;
        overflow: hidden;
    }
}

@media screen and (max-width: 1680px) and (min-width: 1430px){
    .container .card{
        width: 40vw;
    }
}