body{
    margin: 0;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 100;
    color: #F1F1E6;
    background-color: #072B33;
}
h1{
    font-size: 6vw;
    margin: 40px -8px;
    font-weight: 600;
}
h2{
    font-size: 66px;
    font-weight: 600;
    margin: 0;
    opacity: 0;
    text-transform: uppercase;
    width: fit-content;
    
}
h2.start{
    animation:rotateh2 1s 1s ease-out forwards;
}

@keyframes rotateh2{
    0%{
        opacity: 0;
        /* transform: rotate(0deg); */
    }
    100%{
        opacity: 1;
        /* transform: rotate(1080deg); */
    }

}


h3{
    font-size: 46px;
    font-weight: 300;
    text-transform: capitalize;
}
p{
    font-size: 22px;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 2px;

}
a{
    /* color: #F1F1E6; */
    color: #FFF;
    text-decoration: underline;
}
a:hover{
    color: #127187;
}


.nav_link > a, .socials_container > a, .prev, .next{
    /* font-size: 20px; */
    text-transform: capitalize;
    text-decoration: none;
    font-weight: 200;
}


.nav_link.activete{
    border-bottom: 2px solid #127187;
}
.nav_link.activete > a{
    color: #A7C9D3;
}


.main_container{
    width: 100%;
    
    overflow: hidden;
}
.menu{
    width:calc(100% - 240px);
    max-height: 100px;
    padding: 20px 120px;
    background-color: rgba(7, 43, 51, 0.2);
    position: fixed;
    z-index: 10000;
    border-bottom: SOLID 1px #127187;
    animation: dropdown 2s ease-out forwards;
    top: -100%;
}

@keyframes dropdown{
    0%{
        top:-100px
    }
    100%{
        top: 0%;
    }
}



.menu_container{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.logo{
    flex: 1;
}
.nav_links_block{
    flex: 1;
    display: flex;
    padding-left: 1%;
}
.nav_link{
    /* flex:1;
    margin-top: auto;
    margin-bottom: 6px; */
    text-align: center;
    margin: auto auto 0 auto;
    padding: 0 0 5px 0;
    /* text-align: center; */
}
.socials_container{
    padding-top: 8px;
}
.socials_container > svg{
    margin: 0 5px;
    
}
/* .socials_container svg:hover{
    fill: #127187;
    /* filter: brightness(0.5); 
} */



.header_img{
    width: 100vw;
    height: 75vw;
    background-image: url("/media/img/main_background.webp");
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
    display: flex;
}
.main_snow {
    position: absolute;
    right: 5%;
    top: 20%;
}

@keyframes rotat{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}


.header_text_container{
    top: 33vw;
    left: 120px;
    position: absolute;
    opacity: 0;
    animation: opacitys 1s 0.5s linear forwards; 
    filter: drop-shadow(2px 4px 2px #072B33);
}
@keyframes opacitys{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}



.pre_title{
    font-size: 4vw;
}
.hedder_mirrow{
    /* position: absolute; */
    /* bottom: -50%; */
    /* left: -63px; */
    width: 100%;
    overflow: hidden;
    margin-top: auto;
}
.hedder_mirrow svg.start{
    transform: scale3d(1, 0, 1);
    animation:patsalyk_top 1s 0s ease-out forwards;
}
@keyframes patsalyk_top{
    0%{
        transform: scale3d(1, 0, 1);
        transform-origin: 0% 500%;
    }
    100%{
        transform: scale3d(1, 1, 1);
        transform-origin: 0% 0%;
    }
}
div#patsalyk{   
    overflow: hidden;
}
div#patsalyk svg.start{
    transform: scale3d(1, 0, 1);
    animation:patsalyk_down 1s 0s ease-out forwards;
}
@keyframes patsalyk_down{
    0%{
        transform: scale3d(1, 0, 1);
        transform-origin: 0% -200%;
    }
    100%{
        transform: scale3d(1, 1, 1);
        transform-origin: 0% 0%;
    }
}





.snowflake > svg{
    max-width: 200px;
    transform: scale(0);
}
.snowflake.start > svg{
    max-width: 200px;
    animation: snowflake_blowp 0.4s forwards;
}

@keyframes snowflake_blowp{
    0%{
        transform: scale(0);
    }
    97%{transform: scale(1.4);}
    100%{transform: scale(1.0);}
}


.block{
    width: 100%;
    position: relative;
    /*overflow: hidden;*/
}
.wraper{
    width: calc(100% - 240px);
    margin: 0 auto;
    position: relative;
    /* overflow: hidden; */
}
.folk{
    /* width: 25vw; */
    /* height: 5vw; */
    margin: 10px 0 0 30px;
}
.folk-line{
    background-image: url(/media/img/folk-line.png);
    background-position-y: center;
    background-size: 3px;
    background-repeat: repeat-x;
    opacity: 0.3;
}
.folk-line > svg{
    max-width: 160px;
    width: 80px;
    height: 60px;
}
/* .folk-right{
    
    transform: scaleX(-1);
    opacity: 0.4;
    margin: -50px 0 50px 0;
    position: absolute;
} */
a#top:hover path{
    fill: #072B33;
}





.tiber{
    background-color: #072B33;
    color: #F1F1E6;
}
.light{
    background-color: #F1F1E6;
    color: #072B33;
}

.text{
    width: calc(100% - 120px);
    margin: 0 0 0 120px;
}

/* .left-text{
    width: calc(100% - 120px);
    margin: 0 0 0 120px;
} */
/* .right-text{
    width: calc(45% - 120px);
    margin-right: 120px;
    margin-left: auto;    
} */
.float_right{
    /* position:absolute; */
    width: 45%;
    right: 0;
    top: 0;
}
.runa-left{
    width: 50%;
    margin: 0 auto 20px -18%;
    /* height: 60vh; */
    opacity: 0.2;
    transform: rotate(15deg);
    
}


.px-100{
    padding: 100px 0;
}
.pt-100{
    padding-top: 100px;
}
.pt-50{
    padding-top: 50px;
}
.pb-100{
    padding-bottom: 100px;
}
.mt--5{
    margin-top: -5px;
}
.vh-100{
    min-height: 100vh;
}

.intro{
    margin: 50px 0 0 0;
}

.flex-header{
    display: flex;
    position: relative;
}









.tiber_block{
    background-color: #072B33;
    color: #F1F1E6;
    width: 100vw;
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
}
.gbr_block{
    /* min-height: 100vh; */
    /* padding-bottom: 120px; */
    padding-right: 140px;
    width: calc(50% - 147px);
    margin-left: auto;
}
.gb_block{
    /* min-height: 100vh; */
    padding-bottom: 120px;
    /* padding-right: 140px; */
    width: 50%;
    margin-left: 120px;
}
.gr_right{   
    display: flex;
    align-items: end;
    flex-direction: column;
    /* margin: 100px 0; */
}
.pt-200{
    padding-top: 200px;
}
.bg-tiber{
    background-color: #072B33;
    color: #F1F1E6
}

.h-200{
    width:100vw;
}


.mb--5{
    margin-bottom: -5px;
}



.contaider_justifity{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px 120px;
    opacity: 0.4;
}
.flex-justifity{
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;

}


.folk{
    position: relative;
}

.folk-line{
    left: 150vw;
    width: 25vw;
    
}
.folk-line{
    position: absolute;
}
.folk-line.start{
    animation: left-fly 2s 1s ease-out;
    animation-fill-mode: forwards;
}

@keyframes left-fly{
    0%{left: 150vw;}
    100%{left: 20px;}
}

/* .anright{
    right: -41%;
    width: calc(45% - 120px);
}
.anright.start{
    animation: right-fly 1s 1s;
    animation-fill-mode: forwards;
}
@keyframes right-fly{
    0%{right: -41%;}
    100%{right: 120px;}
}
 */


/* .fork-left{
    opacity: 0.2;
    margin: 20px 0 50px 0;

} */

.runa-right{
    /* position: absolute; */
    /* right: -8%; */
    /* margin-top: -100px; */
    opacity: 0.2;
    width: 40vw;
    margin: 0 0 0 68%;
}

.social-icon{
    display: flex;
    justify-content: space-between;
    max-width: 666px;
    overflow: hidden;
    width: 0%;
}
.intro .social-icon > img:hover{
    transform: scale(1.3,1.3);

}
.social-icon > img:first-child{
    margin-left: -12px;
} 
.intro .social-icon.start{

    animation: transform_width 1s 2s linear forwards;
}
@keyframes transform_width{
    0%{
        width: 0%;
    }
    100%{
        width: 100%;
    }
}


.hidden{
    overflow: hidden;
}
.w-100{
    width: 100%;
}
.slider_left{
    width: 50%;
    padding-left: 120px;
}



/* -------------------------------   slider   ----------------------------------------------------------------------------------------- */
.slideshow-container > * {
    box-sizing:border-box
}

/* Slideshow container */
.slideshow-container {
    position: relative;
}
.slidshow_container{
    box-sizing: border-box;
    width: calc(100% - 240px);
    margin: 0 auto;
    height: 100vh;
}
.slidshow{
    display: none;
    position: absolute;
}

/* Hide the images by default */
.mySlides {
    display: none;
    max-width: 1440px;
    margin: 0 auto;
}
.mySlides:first-child {
    display: block;
}
.image_bgr{
    background-color: rgba(0,0,0,0.8);
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: calc(50% - 30px);
    width: auto;
    margin-top: -32px;
    padding: 16px;
    color: #F1F1E6;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    border: solid 1px rgba(7,43,51,0.2);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(7,43,51,0.6);
}

/* Caption text */
.text {
    color: #F1F1E6;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #F1F1E6;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 5px 2px 5px 0;
    background-color: #F1F1E6;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #127187;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
.illustrations{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    
}
.illustrations a, .ills{
    box-sizing: border-box;
    width: calc(100% / 6 - 4px);
    max-width: 350px;
    min-width: 280px;
    margin: 2px;
    padding: 5px;
    border: #072B33 2px solid;
    
}
.illustrations a img{
    width: 100%;
    
}
.illustrations a:hover{
    border: 2px solid #127187;
    opacity: 0.5;
    transition: 0.4s;
}


.snowflake:hover{
    animation:breath 0.8s infinite linear;
}
.snowflake:active{
    animation:rotate_altime 2s infinite linear;
}
@keyframes breath {
    0%{transform: scale(1.0);}
    50%{transform: scale(1.2);}
    100%{transform: scale(1.0);}
}
@keyframes rotate_altime {
    0%{transform: rotate(0deg);}
    100%{transform: rotate(360deg);}
}
.futter{
    height: 200px;
    padding: 30px 120px 10px 120px;
    z-index: 2;
    position: relative;
    bottom: 0;
    background: #1A1A1A;
}
.f_container{
    width: 100%;
    display: flex;
    justify-content: space-between;
  
}


.projects_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.projects_container > a{
    width: calc(50% - 10px);
    margin: 5px;
}

.project_object{
    width: 100%;
    
}
.project_img > img{
    width: 100%;
}







@media screen and (min-width: 768px) and (max-width: 1600px) {

    .folk-right{
        margin: -20px 0 20px 0;
    }
    .left-block{
        width: 50%;
    }
    .float_right{
        width: 35%;
    }
    .nav_links_block{
        flex: 2;
    }
}

@media screen and (max-width: 1000px) {
    .nav_link{
        display: none;
    }
    .nav_links_block{
        justify-content: flex-end;
    }
}



@media screen and (max-width:768px ) {
    .logo svg{
        width: 100%;
    }
    .menu{
        padding: 10px;
        width: 100vw;
        height: 35px;
    }
    
    .nav_links_block{
        flex: 2;
    }
    .socials_container {
        display: none;
    }
    .block {
        padding: 50px 0;
    }    
    .header_text_container{
        left: 30px;
        top: 40vw
    }
    body{
        font-weight: 300;
    }
    h1{
        margin: 10px 0px; 
    }
    h2{
        font-size: 30px;
        /* text-align: center; */
        margin: 0 10px;
    }
    #about h2{
        opacity: 1;
    }
    #viking_photo, #images{
        padding-top: 0;
    }
    h3{
        font-size: 26px;
        margin: 0;
        /* text-align: center; */
    }
    p{
        font-size: 18px;
        letter-spacing: 1px;
    }
    .wraper{
        width: calc(100% - 20px);
    }
    .contaider_justifity{
        padding: 0px 10px 0px 10px;
    }
    .px-100{
        padding: 50px 0;
    }
    .left-text, .right-text{
        width: 100%;
        margin: 0 auto;
        overflow-x: scroll;
        /*-webkit-overflow-scrolling: touch;*/
    }
    .float_right{
        position: relative;
        margin: 0 0 0 auto;
        width: 80%;
    }
    .anal{
        width: 80%;
        left: -100%;
    }
    .anal.start {
        animation: left-fly 1s 0s forwards;
    }
    @keyframes left-fly{
        0%{left: -100%;}
        100%{left: 10%;}
    }
    
    .anright{
        right: -100%;
        width: 80%;
    }
    .anright.start{
        animation: right-fly 1s 1s;
        animation-fill-mode: forwards;
    }
    @keyframes right-fly{
        0%{right: -100%;}
        100%{right: 10%;}
    }
    .intro{
        margin: 0px 10px 10px 10px;
        width: calc(100% - 20px);
    }
    /* .block.tiber.px-100.mt--5{
        height: auto !important;
        position: relative;
    } */

    .folk{
        margin: 0 10px;
    }
    .folk-right{
        margin: -10px 0 50px 0;
    }
    .folk-line{
        background-size: 0.4vw;
        background-repeat: repeat-x;
        width: 35vw;
    }
    .folk-line > svg{
        width: 10vw;
        height: 9vw;
    }
    .social-icon{
        width: 40%;
    }
    .social-icon>img {
        height: 10vw;
    }
    .social-icon > img:first-child {
        margin-left: -5px;
    }
    .slideshow-container{
        overflow: scroll;
    }
    .image_bgr{
        width: 100%;
        margin: 10px 0;
        display: flex;
        flex-direction: row;
    }
    .slidshow_container{
        height: 65vw;
    }
    /* .prev, .next{
        display: none;
    } */
    .mySlides{
        display: block;
        min-width: 95vw;
        margin: 0 1px;
    }
    .dot_container{
        display: none;
    }
    .runa-left{
        display: none;
        /* position: absolute;
        left: -31%;
        z-index: 1;
        bottom: -65%;
        width: 70vw;
        margin: 0;
        height: 50vw; */
    }
    div#skills{
        padding: 50px 0 50px 0;
    }
    .main_snow{
        top:7%;
    }
    /* .main_snow>svg {
        width: 20vw;
    } */
    /* div#branding .intro{
        margin: 10px auto 0 10px;
        width: 70%;
    } */
    div#branding .first{
        margin-top: 100px;
     
    }
    #ab_block{
        display: none;
    }
    .runa-right{
    display: none;
    }
    .header_img{
        background-image: url("./mob/img/main_background.webp");
    }
    .vh-100{
        height: auto;
    }
    .futter{
        height: 200px;
        padding: 30px 10px 10px 10px;
        z-index: 2;
        position: relative;
        bottom: 0;
        background: #1A1A1A;
    }
    .f_container{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
      
    }
    .f_container > .socials_container{
        display: block;
        padding: 40px 0;
        display: flex;
        width: 100%;
        justify-content: space-evenly;
    }
    .illustrations a, .ills{
        box-sizing: border-box;
        width: calc(100% / 2 - 4px);
        min-width: auto;

    }
    .projects_container > a{
        width: 100%;
    }
    
}