*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}

html{
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    line-height: 1.62;
    color: white;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body{
    background-color: #0a0a0a;
}

a{
    text-decoration: none;
    color: white;
}

select{
    padding: 3px 0;
    padding-left: 6px;
    color: #c2c1c2;
    border: 1px solid #2d2d2d;
    background-color: #1d1d1d;
}

.mobile-only{
    display: none;
}

.frame-corners::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    border: 3rem solid transparent;
    border-image-repeat: repeat;
    border-image-slice: 90;
    border-image-source: url(img/border-ps.png);
}

.hello-links{
    display: flex;
    flex-direction: row;
    margin-top: 2.22em;
}

.hello-links a{
    display: flex;
    align-items: center;
    margin-right: 32px;
}

.hello-links a:hover{
    color: #e0dfcf;
}

.hello-links a img{
    height: 28px;
    margin-right: 8.5px;
}

/* --- SECTIONS --- */

section{
    height: 100vh;
    width: auto;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.section-left, .section-right{
    position: relative;
    width: 50vw;
    height: 100vh;
}

.section-bg{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.section-title{
    position: relative;
    text-align: center;
    padding: 8.5% 0 0.35em 0;
    margin-bottom: 5%;
    font-size: 2vw;
    text-transform: uppercase;
    border-bottom: 1px solid white;
    filter: drop-shadow(0 0 0.75rem #2b0070);
}

.section-description{
    padding: 0 8.5%;
}

.text-centr{
    position: absolute;
    bottom: 32.5px;
    left: 4.5%;
    width: 95%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-transform: uppercase;
    filter: drop-shadow(0 0 0.75rem #2b0070);
}

.text-centr h1{
    color: transparent;
    font-weight: 1000;
    -webkit-text-stroke: 1px #ffffff;
    font-size: 450%;
}

.text-centr h2{
    font-size: 370%;
}

/* --- TIP --- */

.tip{
    position: absolute;
    bottom: 32.5px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.5%;
}

.tip::after{
    content: "";
    height: 5px;
    width: 42%;
    border-bottom: 1px solid white;
}

.tip img{
    padding-bottom: 2em;
}

.tip::after::after{
    content: " ";
    width: 64px;
    height: 64px;
    
}

/* --- TOOLSET --- */

.toolset{
    padding: 1.5em 0;
}

.toolset h4{
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.toolset-list{
    display: flex;
}

.toolset-list img{
    width: 48px;
    margin-right: 1.5em;
}

/* --- BUTTON FOR LINK TO PORTFOLIO --- */

.button-link a{
    position: relative;
    display: flex;
    align-items: center;
    width: 200px;
    height: 44px;
    border: 2px solid white;
    border-radius: 20px 20px 20px 20px;
    transition: 0.2s all;
    background-color: transparent;
    margin-top: 1.22em;
}

.button-link a img{
    height: 100%;
    padding: 5px 10px;
    background-color: white;
    border-radius: 15px 0 0 15px;
}

.button-link a h4{
    text-transform: uppercase;
    margin: 0 auto;
    background-color: transparent;
}

.button-link a:hover{
    background-color: white;
    color: black;
    letter-spacing: 2.82px;
    transition: 0.2s all;
}

/* --- GRID FOR ARTS --- */

.grid{
    display: grid;
    position: relative;
    grid-template-columns: repeat(5, 9.5vw);
    grid-column-gap: 0.55em;
    grid-row-gap: 0.55em;
}

.grid div a{
    position: relative;
}

.grid div img{
    width: 100%;
    transition: 0.18s all;
}

.grid-art{
    position: relative;
    width: 9.5vw;
    height: 9.5vw; 
    background-color: white;
    transition: 0.18s all;
}

.grid-art:hover{ 
    transition: 0.18s all;
}

.grid-art:hover img{ 
    opacity: 0.90;
    transition: 0.18s all;
}

.grid-video{
    position: relative;
    width: 100%;
    height: 100%; 
    padding: 5px;
    background-color: #313131;
    filter: grayscale(0.2);
    transition: 0.18s all;
}

.grid-video:hover{
    background-color: #434343;
    filter: grayscale(0);
}

.grid-video a:after{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 12px;
    background-image: url(img/ico/exampe-corner.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.grid-video p{
    font-size: 8pt;
    padding: 0 0 5px 6.5px;
    color: #b1b1b1;
}

/* --- VIDEO PORTFOLIO --- */

.video-preview{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 60vh;
    padding: 1.5em;
    color: #bdbdbd;
    background-color: #232323;
    border-bottom: 3.5px solid #161616;
}

.video-preview-title{
    position: absolute;
    top: 0;
    left: 0;
    padding: 4.5px 0 0 8.65px;
}

.video-preview-title::after{
    content: " ";
    display: inline-block;
    width: 11.5pt;
    height: 9pt;
    margin-left: 7.2px;
    background-image: url(img/ico/burger.webp);
    background-size: cover;
}

.video-preview iframe{
    text-align: center;
    width: 100%;
    height: 70%;
    padding: 0.35em 0;
}

.video-preview-tools{
    position: relative;
    width: 100%;
}

.video-preview-tools-timecodes{
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    color: #b1b1b1;
}

.video-preview-tools-timecodes div{
    display: flex;
    align-items: center;
}

.video-preview-tools-timecodes div *{
    margin: 0 0.4em;
}

.video-preview-tools-dial{
    width: 100%;
    margin-bottom: 5px;
    border: 1px dashed #505050;
}

.video-preview-tools-duration{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 12px;
    background-color: #313131;
    border-radius: 22px;
}

.video-preview-tools-duration-point{
    width: 12px;
    height: 12px;
    background-color: #313131;
    border: 3.5px solid #898989;
    border-radius: 50%;
}

.video-preview-tools-time-marker{
    position: absolute;
    width: 15px;
    height: 15px;
    top: 32px;
    right: 60px;
}

.video-preview-tools-buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.72em;
    padding: 0 17.5%;
}

.video-preview-tools-buttons img{
    width: 16px;
    height: 16px;
}

.video-timeline{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 40vh;
    color: #bdbdbd;
    background-color: #232323;
}

.video-timeline-tabs{
    margin: 0 1em;
}

.video-timeline-tab{
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 8.5pt;
    padding: 0.5em 0;
    border-bottom: 2px solid #bdbdbd;
}

.video-timeline-tab::before{
    content: '';
    display: block;
    width: 5.2pt;
    height: 5.2pt;
    margin-right: 1.2em;
    background-image: url(img/ico/cross.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.video-timeline-tab::after{
    content: '';
    display: block;
    width: 6.2pt;
    height: 6.2pt;
    margin-left: 1.2em;
    background-image: url(img/ico/burger.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.video-timeline-dial{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 2.8vh 1em 0 1em;
    border-bottom: 3.2px dashed #505050;
}

.video-timeline-dial::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 3.42em;
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(img/ico/time_marker.webp);
    z-index: 2;
}

.video-timeline-dial p{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 8pt;
}

.video-timeline-dial p::after{
    content: '';
    display: block;
    width: 1px;
    height: 17.5px;
    background-color: #505050
}

.video-timeline-roads{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #202020;
}

.video-timeline-roads::before{
    content: "";
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 7vh;
    background-color: #202020;
    border-top: 3px solid #f0f003;
}

.video-timeline-roads::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 3.9em;
    display: block;
    width: 1px;
    height: 100%;
    background-color: #369fee;
}

.video-timeline-road{
    position: relative;
    display: flex;
    width: 100%;
    height: 32px;
    border-top: 2px solid #303030;
    border-bottom: 1px solid #303030;
}

.video-timeline-road-clip{
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    padding: 0 1em 0 2.15em;
    color: #232323;
    background-color: #729acc;
    border-left: 1px solid #232323;
}

.video-timeline-road-clip::before{
    content: "";
    position: absolute;
    top: 4.12px;
    left: 7.8px;
    width: 16px;
    height: 16px;
    background-image: url(img/ico/road_fx.webp);
    background-size: contain;
}

.after-effects::before{
    background-image: url(img/logos/after.png);
}

.premiere-pro::before{
    background-image: url(img/logos/premiere.png);
}

.video-timeline-road-clip:last-child::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 7px;
    background-image: url(img/ico/road-corner.webp);
}

.video-examples{
    width: 100%;
    height: 100%;
    padding: 0 10%;
    border-left: 3.5px solid #161616;
    background-color: #232323;
}

/* --- JOURNALISM --- */

.journalism-photos{
    position: relative;
    width: 100%;
    height: 65vh;
    padding: 5% 15px;
}

.journalism-photos-line{
    display: flex;
    position: relative;
    padding-bottom: 12.5px;
    justify-content: center;
    align-items: center;
}

.journalism-photos-line img{
    width: 45%;
    padding: 0 12.5px;
    transition: 0.18s all;
}

.journalism-photos-line img:hover{
    opacity: 0.82;
    transition: 0.18s all;
}

.journalism-photos-line img::before{
    content: '';
    display: block;
    position: absolute;
    right: -20%;
    width: 100%;
    height: 30px;
    background-image: url(img/pin.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.journalism-articles{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 40%;
    margin-top: 25px;
}

.journalism-articles a img{
    height: 32px;
    margin-bottom: 24px;
}

.journalism-articles ul li{
    font-size: 14pt;
    padding-bottom: 8.5px;
}

.journalism-articles li a:hover, .journalism-articles li a:active{
    color: #ffee00;
}

#journalism-articles .button-link a{
    margin: 22.5px auto;
}

/* --- ALL EXPERIENCE --- */
#experience{
    flex-direction: column;
}

.experience-timeline{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 15px;
    justify-content: center;
    align-items: center;
}

.experience-timeline-note{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 45%;
    margin-bottom: 20px;
}

.experience-timeline-note::before{
    content: " ";
    position: absolute;
    left: 5.5px;
    top: 32px;
    height: 120%;
    width: 4px;
    background-color: #ebebeb;
 }

 .experience-timeline-note:last-of-type::before{
    display: none;
 }

.experience-timeline-note img{
    width: 60px;
    height: 60px;
    padding: 9.5px;
    margin-right: 1.5em;
    border-radius: 50%;
}

.experience-timeline-note-point{
    width: 16px;
    height: 16px;
    margin-right: 1.5em;
    border-radius: 50%;
    background-color: #ffffff;
}

#experience .button-link a{
    margin: 12.5px auto;
}

/* --- ADDITIONAL SKILLS --- */
#skills{
    flex-direction: column;
}

.skills-title{
    margin: 5.4% auto;
}

.skills-line{
    display: flex;
    justify-content: center;
}

.skill{
    position: relative;
    width: 265px;
    margin: 0 32px;
    padding: 10px;
    border-radius: 15px;
    background-color: #121212;
    transition: 0.22s all;
}

.skill:hover{
    background-color: #1f1f1f;
    transition: 0.22s all;
}

.skill:hover img{
    filter: invert(0.88);
    transition: 0.22s all;
}

.skill img{
    width: 100%;
    padding: 6.5px;
    transition: 0.22s all;
}

.skill h3, .skill h5{
    text-align: center;
}

.skill h5{
    padding-top: 7.5px;
    color: #dbdbdb;
}

.skill h3:first-of-type{
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid white;
}

/* --- CONTACTS --- */
#contact{
    flex-direction: column;
    align-items: center;
}

.contact-title{
    margin: 2em 0 1em 0;
    text-transform: uppercase;
}

#contact .skills-title{
    display: flex;
    align-items: center;
    margin: 3em 0 0 0;
}

/* #contact .skills-title::before{
    content: ' ';
    width: 32px;
    height: 32px;
    margin-right: 15px;
    background-image: url(img/ico/letter.webp);
} */

.contact-list{
    margin: 2em auto;
    width: fit-content;
}

.contact-list h2{
    margin-bottom: 12.5px;
}

.contact-list a{
    color: #ffee00;
    display: flex;
    align-items: center;
    justify-content: left;
}

.contact-list img{
    width: 32px;
    height: 32px;
    margin-right: 15px;
}

footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1em 2em;
    color: #ffffff;
    background-color: #0a0a0a;
}

/* --- ANIMATIONS --- */
.anim-journalism::after{
    content: "";
    height: 0.75em;
    width: 1.5px;
    background-color: white;
    margin-left: 10px;
    display: inline-block;
    animation: 1.2s linear infinite typing;
}

.tip img{
    animation: 1.3s ease-in-out infinite mouse;
}

/* #hello h2{
    animation: 3.88s ease-in-out infinite hello;
} */

.video-timeline-dial::after, .video-timeline-roads::after{
    animation: 5.4s ease-in-out infinite timeline;
}

.gradient-bg{
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(-58deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 420% 420%;
	animation: gradient 9.8s ease infinite;
    opacity: 0.5;
    z-index: -1;
}

@keyframes typing {
    0%{
        opacity: 0;
    }

    49% {
        opacity: 0;
    }

    51% {
        opacity: 1;
    }

    99%{
        opacity: 1;
    }
}

@keyframes mouse {
    0%{
        margin-bottom: 0;
    }

    50% {
        margin-bottom: 8px;
    }

    99%{
        margin-bottom: 0;
    }
}

@keyframes hello {
    0%{
        font-family: 'Roboto';
    }

    20% {
        font-family: 'Courier New';
    }

    40%{
        font-family: 'Arial';
    }

    60%{
        font-family: 'Times New Roman';
    }

    80%{
        font-family: 'Impact';
    }
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	45% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes timeline {
    0%{
        margin-right: 0;
    }

    50% {
        margin-right: 22em;
    }

    100%{
        margin-right: 0;
    }
}

/* --- MOBILE --- */

@media (max-width: 860px){
    .not-mobile{
        display: none !important;
    }

    .mobile-only{
        display: block;
    }

    .hello-links{
        display: flex;
        flex-direction: column;
        margin-top: 3em;
    }

    .hello-links a{
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .hello-links a img{
        height: 25px;
        margin-right: 13px;
    }

    section{
        height: 100vh;
        flex-direction: column;
    }

    .section-left, .section-right{
        width: 100vw;
        height: 50vh;
    }

    .section-left{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section-title{
        padding: 3% 0;
        font-size: 5vw;
    }

    .text-centr{
        width: 92.5%;
        left: 1.5%;
        align-items: center;
    }

    .text-centr h1{
        color: #ffffff;
        font-size: 208.5%;
    }

    .text-centr h2{
        font-size: 135%;
    }

    .tip{
        bottom: 47.5px;
    }

    .grid{
        display: flex;
        flex-wrap: wrap;
        width: 295px;
    }

    .grid div{
        width: 90px;
        height: 90px;   
    }

    .toolset{
        padding: 3.22vh 0;
    }
    
    .toolset h4{
        margin-bottom: 8px;
    }
    
    .toolset-list img{
        width: 32px;
        margin-right: 10.5px;
    }
    
    .button-link a{
        width: 100%;
        height: 32px;
        margin-top: 0.89em;
    }

    .video-preview{
        width: 100%;
        height: 100%;
        padding: 1em;
    }

    .video-preview iframe{
        margin-top: 1em;
    }

    .video-timeline{
        display: none;
    }

    .video-examples{
        border-left: none;
    }

    .journalism{
        display: none;
    }

    #journalism .section-left{
        height: 100vh;
    }

    .journalism-articles a img{
        width: 110px;
        margin-bottom: 10px;
    }
    
    .journalism-articles ul li{
        font-size: 10.5pt;
        padding-bottom: 3.78px;
    }

    #journalism-articles .button-link a{
        margin-left: 0;
    }

    .experience-timeline{
        padding: 0;
    }

    .experience-timeline-note{
        width: 92%;
        font-size: 9.5pt;
    }

    .experience-timeline-note::before{
        left: 6px;
     }

    .experience-timeline-note img{
        width: 52px;
        height: 52px;
        padding: 6.1px;
        margin-right: 0.8em;
    }

    #experience .button-link a{
        width: 75%;
    }

    .skills-title{
        margin: 4.22% auto;
        font-size: 23.2px;
    }

    .skills-line{
        flex-wrap: wrap;
    }

    .skill{
        position: relative;
        width: 128px;
        margin: 6.2px 11.5px;
        padding: 7.15px;
    }

    #contact{
        font-size: 90%;
    }

    #contact .skills-title{
        margin: 20% 0 0 0;
    }

    .contact-list{
        margin: 0.5em auto;
        font-size: 80%;
    }    
}