@font-face {
    font-family: titre;
    src: url(fonts/Barlow-Bold.ttf);
}

@font-face {
    font-family: texte;
    src: url(fonts/Barlow-Medium.ttf);
}

@font-face {
    font-family: bolditalic;
    src: url(fonts/Barlow-BoldItalic.ttf);
}

@font-face {
    font-family: mediumitalic;
    src: url(fonts/Barlow-MediumItalic.ttf);
}

body {
    font-family: texte;
    font-size: 1.2vw;
    margin: 25px;
}

p {
    color: #FF0808;
    width: 91%;
    padding:3.8%;
    border-style: solid;
    color:#FF0808;
    border-width:2px;
    margin:0;
    margin-bottom: 3px;
}

#emmaweber {
    width:70%;
    margin-bottom:25px;
    margin-left:10%;
}

span{
    font-family: mediumitalic;
}

#bolditalique {
    font-family: bolditalic;
}
 
.photo {
    width: calc(100% - 6px);
    margin: 0px;
    padding:0px;
    border-style: solid;
    border-width:2px;
    color: #FFFFFF;
    transition: all .3s;
}

.photo:hover {
    /*transform: scale(0.97); /*Rotation de 5 degrés au survol */
    border-style: solid;
    border-width:2px;
    color: #FF0808;
} 

/*#langues {
    padding:4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 4px;
    border-style:none;
    position: fixed;
    right:20px;
    bottom:120px;
    display: flex;
    width:20%;
    height:27px;
    z-index: 5;
    padding-left: 20px;
    transition: all 0.3s;
    /*transform: translateY(-100%)
    translateZ(0);
    transition: transform 0.3s ease-out;
}*/

#langues {
    padding: 4px;
    background-color: white;
    border-style: solid 2px #FF0808;
    position: fixed;
    right: -72px;
    bottom: 120px;
    width: 400px;
    height: 50px;
    z-index: 5;
    padding-left: 20px;
    transition: all 0.3s;
    /*border-left: 10px solid red;*/
    transform: translate(284px,0);
}

#langues a {
    line-height: 50px;
    font-size: 1.2vw;
}

#langues img {
    height: 75%;
    margin-bottom: -9px;
}

#transparent {
    color:rgba(255,255,255,0)
}

a {
    font-family: texte;
    color: #FF0808;
    text-decoration: none;
}

#mention {
    font-family: mediumitalic;
}

a:hover{
    text-decoration: underline;
}

.general {
    width: 100%; 
    position: relative; 
    display: flex; 
    flex-wrap: wrap; 
    margin-top: 35px;
}

.col-1, .col-2, .col-3, .col-4 {
    width: calc((100% - 14px) / 4); 
    float: left; 
    position: relative; 
    height: auto; 
    margin-right: 3px;
}

#popup {
    background-color: white;
    color: #FF0808;
    border: 2px solid;
    position: absolute;
    position: fixed;
    top: 40px;
    left: 60px;
    width: calc(100% - 122px);
    height: calc(100% - 90px);
    z-index: 100;
    visibility: hidden;
    display: inline-flex;
    cursor:e-resize;
    overflow-y: hidden;
    padding-right: 20px;
    scrollbar-width: none;
    transition:0s;
}

.close {
    width: 20px;
    position: fixed;
    margin-top:5px;;
    right:48px;
    z-index: 0;
    transition: transform 0.2s;
}

#imgPopup {
    margin-left: 25px;
    margin-top: 33px;
    height: calc(100% - 60px);
}

#titre{
    border-style:none;
    padding-top:20px;
    font-family: titre;
    font-size:1.7vw;
}

#popuptexte{
    height: calc(100% - 40px);
    width: 300px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top:15px;
    background-color: transparent;
}

#texte {
    border-style:none;
    font-size: 1.2vw;
}

#annee, #dimensions{
    font-size:1vw;
    border-style:none;
    padding-bottom:0px;
}

#dimensions{
    padding-top:0px;
}

/*telephone*/

@media only screen and (max-width: 900px) {
    body{
        margin:10px;
    }

    .col-1, .col-2, .col-3, .col-4 {
        margin-right: 2px;
        width: calc((100% - 4px) / 2);
    }  

    p {
        font-size: 3.5vw;
        border-width:2px;
        width:88%;
    }

    #langues{
        right:0px;
        width:40%;
        height:17px;
    }

    #popup {
        top: 0px;
        left: 0px;
        width: 95%;
        height: 100%;
        display: block;
        overflow-y: scroll;
        border-style: none;
    }

    .close {
        position: fixed;
        top: 15px;
        right: 15px;
    }

    #popuptexte{
        width: 100%;
        margin: 10px;
        height: fit-content;
    }

    #titre{
        font-size:5vw;
    }
    
    #texte {
        font-size: 3.5vw;
    }
    
    #annee, #dimensions{
        font-size:2.5vw;
    }

    #imgPopup {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        margin-top:0px;
        width: 100%;
        height: auto;
    }

    #langues {
        padding: 4px;
        background-color: white;
        border-style: solid 2px #FF0808;
        position: fixed;
        right: 20px;
        bottom: 120px;
        width: 300px;
        height: 40px;
        z-index: 5;
        padding-left: 17px;
    }
    
    #langues a {
        line-height: 40px;
        font-size: 3.5vw;
    }
    
    #langues img {
        height: 75%;
        margin-left:2px;
        margin-bottom: -10px;
    }

}