@-ms-viewport{
    width:  device-width;
}

*{
    padding: 0px;
    margin: 0px;
    transition: 0.5s;
    font-family: 'Dosis', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #010101;
}

/*---------------------Navigation Bar---------------------*/

.navbar{
    margin-top: 3vh;
    position: relative;
    margin-left: 0%;
    overflow: hidden;
    justify-content: space-between;
    max-height: initial;
}

.navbar ul{
    list-style:none;
    display: inline-flex;
}

.navbar li{
    margin: 2vh 3vw;
}

.nav-Link {
    font-size: 4.7vw;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.activeLink{
    border-bottom: transparent;
}

.nav-Link:hover{
    color:grey;
}

.activeLink:hover{
    border-bottom: transparent;
}

.Home{
    display: none;
}



/*------------------------Image Cover-------------------*/

.ImgCover{
    max-height: initial;
    min-height: fit-content;
}

.ImgLabel{
    color: #ffffff;
    text-align:center;
    text-transform: uppercase;
    position:relative;
    font-size:3.2vh;
}

.imageBackground{
    height: 68vh;
    width:auto;
}

/*-------------------SocialMedia list--------------------*/

.socialmedia{
    position:relative;
    text-align: center;
}

.socialmedia ul{
    list-style: none;
    display: inline-flex;
    margin-bottom:1vh;
}

.socialmedia li{
    font-size:3.3vh;
    margin: 0 2.5vw;
}

.socialmedia i{
    color: #ffffff;
}

/*-----------------------Biography------------------------*/

.Biography{
    display:none
}

.ImgCoverBiography{
    text-align: center;
    margin-top: 0;
    max-height: initial;
    min-height: initial;
}

.imageBackgroundBiography{
    height:68vh;
    width:auto;
}

.BiographyContent{
    margin-left: 0%;
    overflow: hidden;
    justify-content: space-between;
    list-style: none;
    display: initial;
}

.biography{
    font-size: 4vw;
    position:relative;   
    color: #ffffff;
    text-align: justify;
    margin-top: 3vh;
    margin-left: 10vw;
    margin-right: 10vw;
    max-width: initial;
    max-height: initial;
}

.socialmediaBiography {
    position:relative;
    text-align: center;
    margin-top: 4vh;
    margin-bottom: 4vh;
}

.socialmediaBiography ul{
    list-style: none;
    display: inline-flex;
}

.socialmediaBiography li {
    font-size:3.7vh;
    margin: 0 4vw;
}

.socialmediaBiography i{
    color: #ffffff;
}

/*------------------Photography Portfolio------------------*/

.Photography{
    display: none;
}

.navbarPortfolio{
    margin-top: 2vh;
    position: relative;
    margin-left:5vw;
    overflow: hidden;
    justify-content: space-between;
    max-height: initial;
}

.main{
    position: relative;
    height: 100%;
    width: 100%;
}
.main .gallery{
    position: relative;
    height: auto;
    width: 90%;
    margin: auto;
    padding: 0 0;
    display: grid; 
    grid-auto-flow: dense;
    grid-template-columns: auto auto auto auto;
    grid-gap: 3vh; 
}

.main .gallery .img{
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.main .gallery .img:fisrt-child {

    grid-column-start: span 2;
    grid-row-start: span 3;
}

.main .gallery .img:nth-child(2n+3) {
    grid-row-start: span 2;
}

.main .gallery .img:nth-child(4n+5) {
    grid-row-start: span 2;
    grid-column-start: span 3;
}

.main .gallery .img:nth-child(6n+7) {
    grid-column-start: span 1;
}

.main .gallery .img:nth-child(8n+9) {
    grid-row-start: span 3;
    grid-column-start: span 2;
}


.main .gallery .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: center;
    filter: brightness(1) grayscale(0); /*Gris*/
    transition: 0.2s ease-in-out;           /*Gris*/
}

.main .gallery .img:hover img{
   
    filter: brightness(1) grayscale(0); /*Gris*/

}

@media only screen 
and (max-width: 768px) 
{
    .main .gallery{
        display: grid;
        grid-template-columns: auto auto auto ;
    }
}

@media only screen 
and (max-width: 425px){
    .main .gallery{
        display: block;
      
    }

    .main .gallery .img {
        display: block;
        width: 100%;
        height: 100%;
        margin: 5% 0;

    }

    .main .gallery .img img{
        display: block;
        filter: brightness(1) grayscale(0);

    }
}

/*------------------Iphone X/XS IOS 12--------------------*/

@media only screen 
and (max-width : 376px) 
and (max-height : 813px) 
and (-webkit-device-pixel-ratio : 3)
and (orientation : portrait)  {

    .navbar li{
        margin: 0vh 2vw;
    }

    .nav-Link{
        font-size: 4.7vw;
        text-transform: uppercase;
        color: #FFFFFF;
        text-decoration: none;
    }

    .ImgCover{
        text-align:center;
        max-height: initial;
        min-height: initial;   
        margin: 6vh 0;
    }

    .ImgLabel{
        color: #ffffff;
        text-align:center;
        text-transform: uppercase;
        position:relative;
        font-size:3.2vh;
    }

    .imageBackground{
        height: 68vh;
        width:auto;
    }

}

/*-----------------------Iphone XS Max----------------------*/

@media only screen 
and (max-width : 415px) 
and (max-height : 897px) 
and (-webkit-min-device-pixel-ratio: 2) {

    .navbar li{
        margin: 0vh 2vw;
    }

    .nav-Link {
        font-size: 5.5vw;
        text-transform: uppercase;
        color: #ffffff;
        text-decoration: none;
    }

    .ImgCover{
        text-align:center;
        max-height: initial;
        min-height: initial;   
        margin: 5vh 0;
    }

    .ImgLabel {
        color: #ffffff;
        text-align:center;
        text-transform: uppercase;
        position:relative;
        font-size:3.2vh;
    }

    .imageBackground{
        height: 68vh;
        width:auto;
    }

    /*  Bigoraphy   */

}

/*-------------------------Tablets-------------------------*/

@media (min-width: 600px) and (max-width: 1024px){ 

    .Home{
        display: none;
    }

    .navbar{
        margin-top: 3vh;
        position: relative;
        margin-left: 0%;
        overflow: hidden;
        justify-content: space-between;
        max-height: initial;
    }

    .navbarPortfolio{
        margin-top: 3vh;
        position: relative;
        margin-left:10vw;
        overflow: hidden;
        justify-content: space-between;
        max-height: initial;
    }

    .navbar li{
        margin: 0vh 3vw;
    }

    .nav-Link{
        font-size: 4.7vw;
        text-transform: uppercase;
        color: #FFFFFF;
        text-decoration: none;
    }

    .ImgCover{
        text-align:center;
        max-height: initial;
        min-height: initial;   
        margin: 6vh 0;
    }

    .ImgLabel{
        color: #ffffff;
        text-align:center;
        text-transform: uppercase;
        position:relative;
        font-size:3.2vh;
    }

    .imageBackground{
        height: 68vh;
        width:auto;
    }

    .socialmedia li{
        font-size:3.3vh;
        margin: 0 2.5vw;
    }

    .biography{
        font-size: 3vw;
        position:relative;   
        color: #ffffff;
        text-align: justify;
        margin-top: 3vh;
        margin-left: 10vw;
        margin-right: 10vw;
        max-width: initial;
        max-height: initial;
    }

    .main .gallery{
        position: relative;
        height: auto;
        width: 90%;
        margin: auto;
        padding: 0 0;
        display: grid; 
        grid-auto-flow: dense;
        grid-template-columns: auto auto auto auto;
        grid-gap: 0.5vh; 
    }

    .main .gallery .img img{
        height: 100%;
        width: 100%;
        object-fit: cover;
        position: center;
        filter: brightness(1) grayscale(0); /*Gris*/
        transition: 0.2s ease-in-out;           /*Gris*/
    }

}

/*----------------Case of rotation of the screen---------------*/

@media screen 
  and (-webkit-min-device-pixel-ratio: 1)
  and (orientation: landscape) { 

    .navbar{
        position: absolute;
        margin-left: 10%;
        overflow: hidden;
        justify-content: space-between;
        max-height: initial;
    }

    .navbar li{
        margin: 2.4vh 4vw;
    }
    
    .nav-Link {
        font-size: 3vw;
        text-transform: uppercase;
        color: #ffffff;
        text-decoration: none;
    }

    .socialmedia li{
        font-size: 2.5vw;
        margin: 0 1.5vw;
    }

    .biography{
        font-size: 2vw;
        position:relative;   
        color: #ffffff;
        text-align: justify;
        margin-top: 3vh;
        margin-left: 10vw;
        margin-right: 10vw;
        max-width: initial;
        max-height: initial;
    }

    .main .gallery .img img{
        height: 100%;
        width: 100%;
        object-fit: cover;
        position: center;
        filter: brightness(1) grayscale(0); /*Gris*/
        transition: 0.2s ease-in-out;           /*Gris*/
    }

}

@media screen 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 

    .navbar{
        position: absolute;
        margin-left: 10%;
        overflow: hidden;
        justify-content: space-between;
        max-height: initial;
    }

    .navbar li{
        margin: 2.4vh 4vw;
    }
    
    .nav-Link {
        font-size: 3vw;
        text-transform: uppercase;
        color: #ffffff;
        text-decoration: none;
    }

    .socialmedia li{
        font-size: 2.5vw;
        margin: 0 1.5vw;
    }

    .main .gallery .img img{
        height: 100%;
        width: 100%;
        object-fit: cover;
        position: center;
        filter: brightness(1) grayscale(0); /*Gris*/
        transition: 0.2s ease-in-out;           /*Gris*/
    }

}
