:root {
    --highlight-color: #000000;
    --background-color:#FFFFFF;
    --p-text-color:#838383;
    --h-text-color:#000000;
    --transition-speed:0.7s;
}

@font-face {
    font-family: "lucidahdw";
    src: url("../assets/fonts/LHANDW.TTF")
}

@font-face {
    font-family:"futura-pt-l";
    src:url("../assets/fonts/FuturaPTLight.otf")
}

@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes animatordiv {
    from{height:60rem;}
    to{height:0;}
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    font-family:ebrima-regular,sans-serif;
    font-size:1rem;
    font-weight:normal;
    border-radius:0;
    border:none;
    color:var(--h-text-color);
}


#home{
    background:url(../assets/img/backgroundv2.jpg) no-repeat center/cover fixed;

}

body{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100vw;
}



/* HEADER */
header{
    display: flex;
    padding-bottom: 5vw;
    padding-top:5vw;
    align-items: stretch;
    box-shadow: 0 20px 20px rgb(0 0 0 / 0.2);
    background:rgb(0 0 0 / 0.2);
}

.photography header{
    box-shadow: none;
    background:none;
}


#home header{
    animation-name: fade-in;
    animation-duration: 2s;
}


header>div{
    display:flex;
    flex-basis: calc(100% / 3);
    align-items: center;
    padding-left:5vw;
    padding-right: 5vw;
}

header>div>a{
    display:flex;
    align-items:center;
    justify-content: center;
}

#logo{
    width:18vw;
    height:18vw;
}

#headertitle{
    padding-top:2vw;
    display:flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-left:0;
    padding-right: 0;
}

#webname{
    padding:0.5vw;
    display:flex;
    justify-content: center;
    font-size: 6vw;
    font-weight: normal;
    word-spacing: 0.7rem;
    color: #FFFFFF;
    left:50%;

}


#webdesc{
    display: flex;
    justify-content: flex-end;
    font-size: 2vw;
    font-family: "Lucida Handwriting", lucidahdw, cursive;
    color: #FFFFFF;
}

#about{
    text-align: right;
    font-size:4.5vw;
    text-transform: uppercase;
    color:#FFFFFF;
    opacity:50%;
    font-weight: bold;
    font-family:futura-pt-l, sans-serif;
    letter-spacing: 0.06rem;
    padding-top:0.8rem;
}

#about:hover{
    opacity:90%;
    transition: 1s;
}

#aboutdiv{
    display:flex;
    justify-content: flex-end;
    align-items: center;
}


.separator{
    position:relative;
    width:95%;
    height:0.1rem;
    background-color: #FFFFFF;
    opacity:30%;
    top:0;
    left:50%;
    transform: translate(-50%);
}

/* FOOTER */
footer{
    margin-top:3rem;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem 1rem 1rem 1rem;
    backdrop-filter: blur(2px);
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 3px 10px rgba(255,255,255,0.1);
    min-height:8vh;
}
.photography footer, #visualiser footer{
    margin-top:1rem;
}
footer p, footer a {
    color:#ededed;
    font-weight: lighter;
    opacity:50%;
}
.photography footer p, .photography footer a,#visualiser footer p, #visualiser footer a{
    color:black;
    opacity: 1;
}


/*MAIN*/
main{
    display:flex;
    align-items: center;
    flex-direction: column;
    min-height: 70vh;
}

#home main{
    justify-content: flex-start;
    padding-top:8vw;
}

#home main>div{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Boutons page d'accueil */
.homebutton{
    padding:2rem 3rem 2rem 3rem;
    backdrop-filter: blur(10px);
    background-color: rgba(150,150,150,0.40);
    color: #FFFFFF;
    text-align: center;
    font-size: 5vw;
    margin:0.6rem;
    text-transform: uppercase;
    transition: 1s;
}

.homebutton:hover {
    transform: scale(105%);
    cursor: pointer;
    transition: 1s;
}

.animator{
    animation-name: animatordiv;
    animation-duration: 4s;
}



/* Page photo artistique */
.topband{
    height:40vh;
    width:100%;
}

.topband>img, .topband>video{
    width:100%;
    height:40vh;
    object-fit: cover;
    object-position: center 73%;
    position:absolute;
    top:0;
    z-index: -1;
}
.bandtitle{
    text-align: center;
    width:100%;
    color:white;
    font-size:calc(1.7rem - 0.4vw);
    margin-top:4vw;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: lighter;
    font-family: "Segoe UI", sans-serif;
}


/* PAGE DE CATEGORIES */
.catpresnormal, .catpresreversed, .artpresnormal, .artpresreversed{
    display:flex;
    flex-direction:column;
    justify-content: flex-start;
    border: 1px solid white;
    transition:2s;
    padding: 2rem 3vw;
    align-items: center;
    max-width:100%;
}

.artpresnormal img, .artpresreversed img{
    width:90vw;
    height:55vw;
    object-fit: contain;
    object-position: center;
}

.catpresnormal:hover, .catpresreversed:hover{
    cursor:pointer;
    border: 1px solid black;
    transition:5s;
    opacity:1;
}

.catpresnormal h1, .catpresreversed h1{
    font-size:calc(1.8rem - 0.4vw);
    text-transform: uppercase;
    color:#838383;
    font-family:futura-pt-l, sans-serif;
    padding: 1rem 3rem;
    letter-spacing: 0.06rem;
}

.normal,.reversed{
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items:center;
}

.reversedp, .normalp{
    color:#838383;
    font-size:1.5rem;
    text-align: center;
    font-weight: lighter;
    font-family:futura-pt-l, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;

}

/* PAGE DE VISIONNAGE */

.descp{
    max-width: 50rem;
    padding:3rem 2rem 2rem 2rem;
    color:#838383;
    font-size:1.5rem;
    text-align: center;
    font-weight: lighter;
    font-family:futura-pt-l, sans-serif;
    margin-bottom:2rem;
}

.container{
    display:flex;
    flex-direction: column;
    justify-content: center;

}

/******* Affichage en plein écran *****/
#imageviewer{
    display: none;
    position: sticky;
    z-index: 9999;
    top: 0;
    left: 0;
    max-width: 100vw;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: white;
    opacity:0;
}


#imageviewer:hover{
    cursor: pointer;
}

.close {
    position: sticky;
    left: calc(98vw - 50px);
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    background-color: white;
    transition: 1s;
}
.close:hover {
    opacity: 1;
    transition: 1s;
}
.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: black;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}

/***** galerie classique *****/
.container img{
    padding:0.5rem;
    object-fit:contain;
    margin:0.5rem;
    max-width:100%;
    max-height: 40rem;
}

.container:hover{
    cursor:pointer;
}

.counter{
    top:83rem;
    color:#838383;
    text-align:center;
    padding-bottom:2rem;
}

/* Bouton de retour */
.backbutton {
    display: none;
}


/* Warning */
.warning{
    margin-top:15rem;
    background-color: white;
    border: 1px solid #838383;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #838383;
    padding:3rem;
    opacity:0.5;
}


/* VideoPreview (page video) */
.videocontainer{
    display:flex;
    flex-direction: column;
    justify-content: center;
    width:90vw;
    min-height:60vw;

}

.videopreview{
    padding:0.5rem;
    object-fit:contain;
    margin:0.5rem;
    max-width:100%;
    min-height: 60vw;
}


/* Page ABOUT */
/* About body */
.aboutbody{
    background:url(../assets/img/miniature.jpg) no-repeat center/cover fixed;
}

.about{
    background-color: rgba(162, 162, 162, 0.18);
    margin-right: 5vw;
    margin-left: 5vw;
    margin-top: 60px;
    padding:3vw;
    border-radius: 10px;
    display:flex;
    flex-direction: column;
    align-items: center ;
}
.about>p{
    margin-top: 3rem;
    margin-bottom:4rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 1.5rem;
    text-align: center;
    font-weight: lighter;
    font-family: futura-pt-l, sans-serif;
}

.aboutlink{
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-family: futura-pt-l, sans-serif;
    transition:1s;
}

.aboutlink:hover{
    transition:1s;
    text-decoration:underline;
}

.about>h1{
    margin-bottom:15px;
    font-size:calc(1.8rem - 0.4vw);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
    font-family:futura-pt-l, sans-serif;
    padding: 1rem 3rem;
    letter-spacing: 0.06rem;
}

.aboutimg{
    margin-bottom:20px;
    width:250px;
    height:250px;
    object-fit: cover;
    object-position: center;
}

.backbutton2{
    color: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.66);
    padding:25px;
    margin-top:40px;
    margin-bottom:20px;
    text-transform:uppercase;
    font-size: 1.1rem;
    transition:1s;
}

.backbutton2:hover{
        transform:scale(105%);
        transition: 1s;
        color:white;
        border:1px solid white;
}

/*MediaQueries*/
@media only screen and (min-width: 768px){
    header {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
    }

    #logo{
        width:64px;
        height:64px;
    }
    #headertitle {
        padding-top: 16px;
    }
    header>div{
        padding-right: 3rem;
        padding-left: 3rem;
    }

    #webname{
        padding:2px;
        font-size: 32px;
        font-weight: lighter;
    }

    #webdesc{
        font-size: 1rem;
    }

    #about{
        font-size:1.5rem;
        font-weight: normal;
    }

    #home main{
        flex-direction: row;
        justify-content: flex-end;
        padding:8% 13% 10% 1%;
    }

    .homebutton{
        font-size: 1.7rem;
    }

    .topband, .topband>img, .topband>video{
        height:27rem;
    }

    .bandtitle{
        font-size:1.7rem;
        margin-top:9rem;
        font-weight: bold;
    }

    .reversedp, .normalp {
        font-size: 1.8rem;
    }
    .catpresnormal h1, .catpresreversed h1, .about>h1{
        font-size: 2.2rem;
    }

    .backbutton{
        display: block;
        position: sticky;
        bottom: 2rem;
        left: 2.2rem;
        width: 13rem;
        height: 3.5rem;
        background-color: white;
        border: 1px solid #838383;
        text-align: center;
        text-transform: uppercase;
        font-size: 1.1rem;
        color: #838383;
        padding-top: 1rem;
        margin-bottom:1rem;
        transition: 0.5s;
    }

    .backbutton:hover{
        transform:scale(105%);
        transition: 1s;
        color:#000000;
        border:1px solid black;
    }

}

@media (orientation: landscape) {
    .artpresnormal, .catpresnormal{
        flex-direction: row;
    }
    .artpresreversed, .catpresreversed{
        flex-direction: row-reverse;
    }
    .artpresnormal img, .artpresreversed img{
        width:40vw;
        height:30vw
    }
    .reversed{
        align-items: flex-end;
    }
    .normal{
        align-items: flex-start;
    }
    .normalp{
        text-align: left;
        padding-left:3rem;
    }

    .reversedp{
        text-align: right;
        padding-right:3rem;
    }

    .topband, .topband>img, .topband>video{
        height:27rem;
    }
	.videocontainer{
		width:70vw;
    min-height:40vw;
	}
	.videopreview{
		min-height:40vw;
	}
	
}

