@font-face {
    font-family: "Poppins";
    src: url("Ressources/Poppins-ExtraLight.ttf");
}

body {
    margin: 0;
    font-family: "Poppins";
}

.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
}

.images {
    position: relative;
    transform-style: preserve-3d;
    z-index: -2;
    height: 100%;
    transform: translateZ(-5px) scale(1.49);
}

#image1 {
    background-image: url("Ressources/background1.jpg");
    background-size: cover;
}
#image2 {
    background-image: url("Ressources/background2.jpg");
    background-size: cover;
}
#image3 {
    background-image: url("Ressources/background3.jpg");
    background-size: cover;
    transform: translateZ(-5px) scale(1.49);
    
    height: 140%;
    background-position: center;
}
#image4 {
    background-image: url("Ressources/background4.jpg");
    background-size: cover;
    background-position: 0 -120%;
    background-position: center;
}

.text {
    position: relative;
    transform-style: preserve-3d;

    z-index: 1;
    font-size: 20px;
    background-color: white;
    padding: 1%;
    padding-right: 5%;
    display: flex;
    min-height: 60vh;
}
.textContents {
    margin-left: 550px;
    margin-top: 3%;
    margin-bottom: 3%;

    line-height: 30px;
}

p {
    margin: 1%;
    margin-bottom: 3%;
}

.header {
    text-align: center;
    position: absolute;
    
    margin: 1%;
    z-index: 2;
    transform: translateY(125%);
}
.languageSelect {
    position: absolute;
    text-align: right;
    width: 100%;
}

h1 {
    font-size: 80px;
    color: rgb(80, 80, 80);
}
h2 {
    font-size: 40px;
    color: rgb(80, 80, 80);
}
ul {
    margin-left: 5%;
}
li {
    margin-bottom: 10px;
}

.languageBtn {
    font-family: "Poppins";
    font-size: 25px;
    background-color: transparent;
    box-shadow: rgb(56, 56, 56) -1px 1px 20px 1px;
    border: none;
    text-decoration: none;
    width: 120px;
    height: 50px;

    transition: all .1s;
}
.languageBtn:hover {
    color: rgb(56, 56, 56);
    text-decoration: underline;
}
.basicBtn {
    font-family: "Poppins";
    background-color: transparent;
    border: none;
    font-size: 25px;
    transition: all .2s;
}
.basicBtn:hover {
    text-decoration: underline;

}
a {
    color: rgb(68, 168, 168);
}

@media (max-width: 1000px) {
    .header {
        transform: translateY(120%);
    }
    h1 {
        color: whitesmoke;
    }
    .text {
        display: block;
    }
    .textContents {
        margin: 0;
        margin-bottom: 10%;
    }
    #image1 {
        background-position: -80% 0;
    }
    #image2 {
        background-position: -350px 0;
    }
}
@media (max-width: 700px) {
    .header {
        transform: translateY(100%);
    }
}