@font-face {
    font-family: title;
    src: url(../fonts/Comfortaa-Regular.ttf);
}
@font-face {
    font-family: txt;
    src: url(../fonts/PTSans-Regular.ttf);
}
body{
    background-color: rgb(243, 243, 243);
}
@keyframes load{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* .loaded header, .loaded main{
    display: none;
}
.loaded{
    width: 100%;
    height: 100vh;
    background-image: url("../img/styles/stylepage_bg.jpg");
}
.loaded::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 300px;
    height: 300px;
    background-image: url("../img/logo/logo.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    animation: load 1s infinite linear;
} */
.banner{
    position: relative;
    margin-top: 10px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 100%;
    height: 90vh;
    background-image: url("../img/bannerbg/banner_bg.avif");
    background-position: center center;
    background-size: cover;
    background-repeat:  no-repeat;
}
.banner::after{
    content: '';
    width: 100%;
    height: 90vh;
    position: absolute;
    background-color: black;
    opacity: 0.45;
    z-index: 2;
}
.banner-txt{
    z-index: 3;
    color: white;
    text-shadow: 3px 3px 0 rgb(138, 138, 138),
    5px 5px 0 rgb(138, 138, 138);
    margin-top: calc(40vh - 120px);
    font-family: title;
    font-size: 5vw;
}
.menu{
    z-index: 3;
    display: flex;
    width: 95%;
    flex-flow: row nowrap;
    margin: 20px auto;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.menu-links{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-flow: row nowrap;
    width: 85%;
}
.link{
    z-index: 3;
    font-size: 14px;
    text-align: center;
}
.link:hover a{
    background-color: white;
    color: black;
}
.link a{
    transition: background-color 0.15s linear;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: title;
    color: white;
    text-decoration: none;
}
.logo{
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background-image: url("../img/logo/logo.png");
    background-size: 100px 100px;
}
.menu-links .link:not(.menu-links .link:first-child){
    margin-left: 15px;
}

.about{
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row nowrap;
    min-height: 60vh;
    margin-bottom: 20px;
}
.title{
    font-family: title;
    font-size: 28px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
    z-index: 3;
}
.subtitle{
    font-family: title;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    z-index: 3;
}
.txt{
    text-indent: 28px;
    font-family: txt;
    font-size: 16px;
    text-align: justify;
    width: 75%;
    z-index: 3;
}
.about-text{
    width: 50%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    justify-content: center;
}
.about-img .img{
    width: 100%;
    min-height: 60vh;
    background-image: url("../img/about/cameraman.avif");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
    position: relative;
}
.about-img{
    width: 50%;
    min-height: 60vh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-end;
}

.styles{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    background-image: url("../img/styles/bg_styles.jpg");
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color:  white;
    min-height: 75vh;
    justify-content: space-around;
    width: 100%;
}
.styles::after{
    position: absolute;
    content: '';
    height: 100%;
    background-color: black;
    width: 100%;
    opacity: 0.3;
    z-index: 2;
}
.styles-content{
    z-index: 3;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 85%;
}

.styles .style-wrap{
    text-shadow: 2px 2px 2px black;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 17%;
    justify-content: center;
}
.styles .style-wrap .img{
    margin-bottom: 40px;
    width: 150px;
    height: 150px;
    background-image: url("../img/styles/portret.jpg");
    background-position: center center;
    background-size: cover;
    box-shadow: 0 0 30px 15px white;
    border-radius: 50%;
}
.style-wrap:nth-child(2) .img{
    background-image: url("../img/styles/naturemort.jpg");
}
.style-wrap:nth-child(3) .img{
    background-image: url("../img/styles/landscape.jpg");
}
.style-wrap:nth-child(4) .img{
    background-image: url("../img/styles/makrophoto.jpg");
}
.style-wrap:nth-child(5) .img{
    background-image: url("../img/styles/photohunt.jpg");
}
.styles .link{
    position: absolute;
    align-self: flex-end;
    top: 20px;
    right: 10px;
}
.styles .link a{
    border: 2px solid white;
}
section:not(.banner){
    position: relative;
    padding: 60px 0;
}

.photographs, .photographspage{
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}
.photograph-wrap .photo-img{
    order: 1;
}
.photograph-wrap:nth-child(odd) .photo-img{
    order: -2;
}
.photograph-wrap .photo-img .img{
    width: 100%;
    min-height: 50vh;
    background: url("../img/photographs/richard.webp");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.photograph-wrap:nth-child(3) .photo-img .img{
    background-image: url("../img/photographs/antri.webp");
}
.photograph-wrap:nth-child(4) .photo-img .img{
    background-image: url("../img/photographs/sebastian.webp");
}
.photograph-wrap .photo-img{
    width: 50%;
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    justify-content: space-around;
}
.photograph-wrap .photo-text{
    order: -1;
    width: 50%;
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    justify-content: center;
}
.photograph-wrap{
    display: flex;
    flex-flow: row nowrap;
    width: 90%;
}
.photographs .link{
    position: absolute;
    top: 20px;
    right: 10px;
}
.link-black:hover a{
    background-color: black;
    color: white;
}
.link-black a{
    color: black;
    border: 2px solid black;
}

.best-models{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: column nowrap;
    width: 100%;
    min-height: 75vh;
    background-image: url("../img/models/models_bg.jpg");
    background-position: center center;
    background-size: cover;
    color: white;
}
.best-models::after{
    content: '';
    position: absolute;
    width: 100%;
    min-height: 75vh;
    background-color: black;
    opacity: 0.55;
    z-index: 2;
}
.best-content{
    z-index: 3;
    width: 85%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}
.best-wrap{
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 27%;
    min-height: 20vh;
}
.best-wrap:nth-child(2){
    position: absolute;
    right: 0;
    top: -100px;
    left: 0;
    margin: auto;
}
.best-wrap:nth-child(1) .img{
    background-image: url("../img/models/nikon.jpg");
}
.best-wrap::after{
    content: '';
    position: absolute;
    bottom: -10px;
    width: 90%;
    height: 10px;
    background-color: white;
    box-shadow: 0 0 5px 1px white;
}
.best-wrap .img{
    border-radius: 20px;
    width: 150px;
    height: 100px;
    background-image: url("../img/models/canon.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 150px 100px;
    margin-bottom: 25px;
}
.best-wrap:nth-child(3) .img{
    background-image: url("../img/models/sony.jpg");
}
.best-models .link{
    position: absolute;
    top: 20px;
    right: 10px;
}
.best-models .link a{
    border: 2px solid white;
}
nav .link a{
    border: none;
}

.stylepage{
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    min-height: 450vh;
}
.stylepage::after{
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: rgb(86, 109, 128);
    box-shadow: 0 0 0px 12px rgba(86, 109, 128, 0.66),
    0 0 0px 24px rgba(86, 109, 128, 0.22);
    top: 160px;
}
.stylepage::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 380vh;
    background-color: rgb(86, 109, 128);
    box-shadow: 0 0 3px 7px rgb(86, 109, 128, 0.5);
    z-index: -1;
    top: 180px;
}
.stylepage-content{
    margin-top: 100px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 400vh;
}
.stylepage-content .style-wrap{
    display: flex;
    border-radius: 40px;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px;
    width: 80%;
    /* background-color: rgb(243, 243, 243); */
    background-color: rgb(127, 159, 185);
    box-shadow: 0 0 1px 10px rgba(127, 159, 185, 0.519);
    margin-top: 100px;
}
.stylepage-content .style-wrap .img{
    width: 80%;
    min-height: 50vh;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../img/styles/stylepage_portret.jpg");
    margin-bottom: 50px;
}
.stylepage-content .style-wrap:nth-child(2) .img{
    background-image: url("../img/styles/stylepage_landscape.jpg");
}
.stylepage-content .style-wrap:nth-child(3) .img{
    background-image: url("../img/styles/stylepage_naturemort.jpg");
}
.stylepage-content .style-wrap:nth-child(4) .img{
    background-image: url("../img/styles/stylepage_macro.jpg");
}
.stylepage-content .style-wrap:nth-child(5) .img{
    background-image: url("../img/styles/stylepage_photohunt.jpg");
}
body[for="style"]{
    background-image: url("../img/styles/stylepage_bg.jpg");
    background-position: center center;
    background-size: contain;
}

.photographspage{
    display: flex;
    flex-flow: column nowrap;
    min-height: 600vh;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
}
.photographspage::after{
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: rgb(86, 109, 128);
    box-shadow: 0 0 0px 12px rgba(86, 109, 128, 0.66),
    0 0 0px 24px rgba(86, 109, 128, 0.22);
    top: 160px;
}
.photographspage::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 480vh;
    background-color: rgb(86, 109, 128);
    box-shadow: 0 0 3px 7px rgb(86, 109, 128, 0.5);
    z-index: -1;
    top: 180px;
}
.photographspage-content{
    margin-top: 50px;
    display: flex;
    flex-flow: column nowrap;
    min-height: 550vh;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}
.photographspage-wrap{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 80%;
    justify-content: space-around;
    min-height: 75vh;
    background-color: rgb(127, 159, 185);
    box-shadow: 0 0 1px 10px rgba(127, 159, 185, 0.519);
    padding: 60px 0;
    border-radius: 40px;
    margin-top: 100px;
}
.photographspage-wrap .photo-img{
    width: 100%;
    min-height: 40vh;
}
.photographspage-wrap .photo-img .img{
    width: 100%;
    min-height: 60vh;
    background-image: url("../img/photographs/richard.webp");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.photographspage-wrap .photo-text{
    width: 100%;
    margin: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}
.photographspage-wrap:nth-child(2) .img{
    background-image: url("../img/photographs/antri.webp");
}
.photographspage-wrap:nth-child(3) .img{
    background-image: url("../img/photographs/sebastian.webp");
}
.photographspage-wrap:nth-child(4) .img{
    background-image: url("../img/photographs/uilyam.webp");
}
.photographspage-wrap:nth-child(5) .img{
    background-image: url("../img/photographs/aleks.webp");
}

.galery{
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}
.galery-content{
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-evenly;
}
.galery-content .galery-wrap{
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    min-height: 65vh;
    width: 45%;
    margin-top: 100px;
}
.galery-content .galery-wrap .img{
    width: 100%;
    border-radius: 40px;
    min-height: 50vh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../img/galery/1.jpg");
}
.galery-wrap:nth-child(2) .img{
    background-image: url("../img/galery/2.jpg");
}
.galery-wrap:nth-child(3) .img{
    background-image: url("../img/galery/3.jpg");
}
.galery-wrap:nth-child(4) .img{
    background-image: url("../img/galery/4.jpg");
}
.galery-wrap:nth-child(5) .img{
    background-position: center top;
    background-image: url("../img/galery/5.jpg");
}
.galery-wrap:nth-child(6) .img{
    background-image: url("../img/galery/6.jpg");
}
.galery-wrap:nth-child(7) .img{
    background-image: url("../img/galery/7.jpg");
}
.galery-wrap:nth-child(8) .img{
    background-image: url("../img/galery/8.jpg");
}
.galery-wrap:nth-child(9) .img{
    background-image: url("../img/galery/9.jpg");
}
.galery-wrap:nth-child(10) .img{
    background-image: url("../img/galery/10.jpg");
}
@media(max-width: 1250px){
    .title{
        font-size: 24px;
    }
    .subtitle{
        font-size: 20px;
    }
    .txt{
        font-size: 14px;
    }
    .styles .style-wrap .img{
        width: 100px;
        height: 100px;
    }
}
@media(max-width: 950px) {
    .menu-links{
        min-height: 100px;
        margin: auto;
    }
    .menu-links .link{
        font-size: 11px;
    }
    .menu-links .link{
        font-size: 11px;
    }
    .styles-content{
        flex-flow: row wrap;
        justify-content: center;
    }
    .styles .style-wrap{
        width: 29%;
    }
    .title{
        font-size: 22px;
    }
    .subtitle{
        font-size: 18px;
    }
    .txt{
        font-size: 12px;
    }
    .best-wrap .img{
        width: 125px;
        height: 75px;
        background-size: 125px 75px;
    }
}
@media(max-width: 640px){
    .menu{
        flex-flow: column nowrap;
    }
    .best-models{
        min-height: 100vh;
    }
    .best-models::after{
        min-height: 100vh;
    }
    .menu-links{
        width: 100%;
        flex-flow: row wrap;
        height: 10vh;
        justify-content: center;
    }
    .menu-links .link{
        font-size: 12px;
    }
    .title{
        font-size: 20px;
    }
    .subtitle{
        font-size: 14px;
    }
    .txt{
        font-size: 10px;
    }
} 
@media(max-height: 650px){
    .best-models{
        min-height: 150vh;
    }
    .best-models::after{
        min-height: 150vh;
    }
} 