@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*{
    font-family: 'Poppins', sans-serif;;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

a{
    text-decoration: none;
}
img{
    pointer-events: none;
}
body{
    background-color: rgb(20,53,51) !important;
    background-image: url(./images/double-bubble.png);
    background-size: 500px;
    background-blend-mode:multiply;
    background-attachment: fixed;
}
.loading{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    background-color: rgb(20,53,51);
    z-index: 99;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}
.loading.done{
    opacity: 0;
    pointer-events: none;
}
.hexagon {
    inset: 0;
    top: 40%;
    position: absolute;
    margin: 0 auto;
    background-color: #F5B349;
    border-radius: 10px;
    width: 100px; 
    height: 63px;
    box-sizing: border-box;
    transition: all 1s;
    border: 0.4vh solid transparent;
    animation: spin 4s linear infinite forwards;
}
@keyframes spin{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
  
/* Creating pseudo-class */
.hexagon:before, .hexagon:after {
    content: "";
    border: inherit;
    position: absolute;
    top: -0.5vh;
    left: -0.5vh;
    background-color: #F5B349;
    border-radius: inherit;
    height: 100%;
    width: 100%;
}
  
/* Align them in such a way
that they form a hexagon */
.hexagon:before {
    transform: rotate(60deg);
}
.hexagon:after {
    transform: rotate(-60deg);
}
.code{
    top: 40.6% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: rgb(20,53,51);
}
.code span{
    font-size: 46px;
    font-family: 'Roboto', sans-serif;
    transform: scaleY(1.4);
}
.dots{
    display: flex;
    justify-content: center;
    position: absolute;
    inset: 0;
    top: 60%;
}
.dot{
    width: 10px;
    border-radius: 50%;
    height: 10px;
    background-color: white;
    margin: 0.3vw;
}
.dot1{
    background-color: #F5B349;
    animation: jumps 0.8s 0.1s linear infinite;
}
.dot2{
    background-color: #00BFA6;
    animation: jumps 0.8s 0.2s linear infinite;
}
.dot3{
    background-color: white;
    animation: jumps 0.8s 0.3s linear infinite;
}
@keyframes jumps{
    50%{
        transform: translate(0,16px);
    }
}
.container{
    overflow: hidden;
}
nav{
    position: fixed;
    width: 100%;
    z-index: 3;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 1vw !important;
    padding: 0 3vw;
    transition: 0.3s ease-in-out;
}
nav.sticky{
    background-color:rgb(42,105,100,0.8);
    padding: 0.3vw 3vw !important;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
nav.hide{
    top: -100;
}
nav .burger div{
    width: 25px;
    height: 3px;
    background-color: white;
    margin-top: 5px;
}
#social{
    display: none;
}
.burger{
    display: none;
}
.logo img{
    width: 8vw;
    pointer-events: all !important;
}
.nav-btn{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.nav-btn-sub{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 3vw;
    cursor: pointer;
}
.nav-btn-sub img{
    width: 1.2vw;
    margin-right: 0.3vw;
}
.nav-btn-sub span{
    font-size:1vw;
    font-weight: 600;
}
.hero{
    display: flex;
    flex-direction: row;
    margin: 4vw 2vw;
    align-items: center;
    justify-content: space-between;
    margin-right: 4vw !important;
}
.intro{
    display: flex;
    flex-direction: column;
    color: white;
    margin-left: 5vw;
    margin-top: 5vw;
}
.intro-1{
    display: flex;
    flex-direction: row;
    margin-top: 3vw;
    font-size: 2vw;
}

.intro-2{
    font-family: 'Roboto Mono', monospace;
    display: flex;
    flex-direction: column;
    margin-top: 3vw;
    font-size: 1.6vw;
    width: 100%;
}
.intro-2  p{
    font-size: 2vw;
    color: white;
    font-weight: 500;
    overflow: hidden;
    white-space:nowrap;
    border-right: 2px solid white;
    width: 0%;
}
.intro-2 p.type{
    animation: typist 5s steps(34), blink step-end 1s infinite 4.6s;
    animation-fill-mode: forwards;
  }
  @keyframes typist{
    0%{width: 0%;}
      100%{width: 100%;}
  }
  @keyframes blink{
    from, to{border-color: transparent;}
    50%{border-color: transparent;}
  }
  .intro-2 p2{
    font-size: 2vw;
    color: white;
    font-weight: 500;
    overflow: hidden;
    white-space:nowrap;
    border-right: 2px solid transparent;
    width: 0%;
  }
  .intro-2 p2.type{
    animation: typist2 5s steps(34) 4.6s, blink step-end 1s infinite 9.6s;
    animation-fill-mode: forwards;
  }
  @keyframes typist2{
    from{width: 0%; border-color: white;}
      to{width: 100%; border-color: white;}
  }
  @keyframes blink{
    from, to{border-color: transparent;}
    50%{border-color: transparent;}
  }
  .intro-2 p3{
    font-size: 2vw;
    color: white;
    font-weight: 500;
    overflow: hidden;
    white-space:nowrap;
    border-right: 2px solid transparent;
    width: 0%;
}
.intro-2 p3.type{
    animation: typist3 5s steps(34) 9.6s, blink step-end 1s infinite 12.5s;
    animation-fill-mode: forwards;
  }
  @keyframes typist3{
    from{width: 0%; border-color: white;}
    to{width: 100%; border-color: white;}
  }
  @keyframes blink{
    from, to{border-color: transparent;}
    50%{border-color: transparent;}
  }
.contact-btn{
    font-size: 0.9vw;
    color: white;
    background-color:transparent;
    margin-top: 3vw;
    border: 2px solid #F5B349;
    width: 8vw;
    border-radius: 30px;
    padding: 0.6vw;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.contact-btn::after{
    content: '';
    inset: 0;
    position: absolute;
    background-color: #F5B349;
    transition: transform 0.4s ease-in-out;
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
}
.contact-btn:hover::after{
    transform: scaleX(1);
}
.big-logo img{
    width: 34vw;
}
.big-logo{
    z-index: 1;
}
.blob{
    background-image: url(./images/blob.svg);
    inset: 0;
    top: -25vw !important;
    position: absolute;
    background-repeat: no-repeat;
    background-size: 60vw;
    margin-left: 44vw;
    z-index: 0;
    opacity: 0.8;
}
.about{
    background-color: #2A6964;
}
.about h2{
    text-align: center;
    font-size: 3vw;
    color: white;
}
.about-sub{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    width: 70%;
    margin: 0 auto;
    margin-top: 12vw !important;
    grid-gap: 5vw;
}

.about-sub img{
    width: 30vw;
}
.about-text{
    color: white;
    font-size: 1vw;
}
.about-text p{
    margin-top: 1.4vw;
}
.about-text span{
    font-size: 1.6vw;
    text-transform: uppercase;
    font-weight: 600;
}
.projects{
    padding-bottom: 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.projects h2{
    text-align: center;
    font-size: 3vw;
    color: #F5B349;
}
.projects h1{
    display: flex;
    margin-top: 4vw;
    margin-bottom: 2vw;
    font-size: 1.4vw;
    font-weight: 500;
    color:white;

}
.project-box{
    margin-top: 6vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 70%;
    grid-gap: 4vw;
    background-color:rgb(42, 105, 100, 0.6);
    padding: 4vw;
    border-radius: 6vw;
    box-shadow: 0 40px 20px 0 rgba(0, 0, 0, 0.3);
}
.project-box img{
    width: 30vw;
    pointer-events: all !important;
 }
.project-descrp{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-size: 1vw;
}
.project-descrp span{
    font-size: 1.2vw;
    text-decoration: underline;
}
.project-descrp p{
    margin-top: 2vw;
}

.lang{
    display: flex;
    flex-direction: row;
    grid-gap:3vw;
}
.lang h2{
    margin-top: 1vw;
    font-size: 1vw;
}
.visit-btn{
    font-size: 0.8vw;
    color: white;
    position: relative;
    background-color:transparent;
    margin-top: 2vw;
    border: 2px solid #F5B349;
    width: 8vw;
    border-radius: 30px;
    padding: 0.4vw;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}
.visit-btn::after{
    content: '';
    inset: 0;
    position: absolute;
    background-color: #F5B349;
    transition: transform 0.4s ease-in-out;
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
}
.visit-btn:hover::after{
    transform: scaleX(1);
}
.project-box:nth-child(even){
    flex-direction: row-reverse;
}
.project-box:nth-child(even) .project-descrp{
    align-items: flex-end;
}
.skills{
    background-color: #2A6964;
}
.skills h2{
    text-align: center;
    font-size: 3vw;
    color: white;
    padding-top: 5vw;
}
.skill-tools{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items:baseline;
    justify-content:space-evenly;
    grid-gap:10vw;
    margin-top: 6vw !important;
    width: 80%;
    margin: 0 auto;

}
.skill-level h1{
    text-align: center;
    color: transparent;
    -webkit-text-stroke:2px #F5B349;
    font-size: 2vw;
}
.skill-level-sub{
    display: flex;
    flex-direction: column;
    margin-top: 2vw;
}
.skill-name{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 1vw;
    color: white;
    font-size: 1vw;
    font-weight: 600;
}
.progress-bar{
    width: 100%;
    max-height: 1vw;
    border-radius: 20px;
    color: white;
    background-color: white;
    position: relative;
    overflow: hidden;
}
.progress-bar::after{
    content: '';
    background-color: #F5B349;
    border-radius: 20px;
    inset: 0;
    position: absolute;
}
.p1::after{
    width: 80%;
}
.p2::after{
    width: 70%;
    background-color: #45A29D;
}
.p3::after{
    width: 80%;
}
.p4::after{
    width: 80%;
    background-color: #45A29D;
}
.p5::after{
    width: 60%;
}
.p6::after{
    width: 30%;
    background-color: #45A29D;
}
.p7::after{
    width: 30%;
}
.tools h2{
    font-size: 1.5vw;
    font-weight: 700;
    text-transform: uppercase;
}
.tools-sub{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
}
.tools-name{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8vw;
    color: white;
    margin-top: 2vw;
    font-weight: 600;
}
.tools-name span{
    margin-top: 0.4vw;
}
.tools-name img{
    width: 5vw;
}
.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact h2{
    font-size: 3vw;
    color: #F5B349;
    text-align: center;
}
.contact span{
    font-size: 1vw;
    color:white;
    margin-top: 2vw;
}
.contact form{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4vw;
}
.contact input, textarea{
    margin-top: 1vw;
    padding: 1vw;
    width: 30vw;
    background-color: rgb(42,105,100,0.6);
    border: 1px solid white;
    color: white;
    font-size: 1vw;
    font-weight: 700;
    resize: none;
    outline: none;
}
.contact textarea{
    height: 10vw;
    overflow: hidden;
}
.contact ::placeholder{
    color: white;
}
form button{
    font-size: 1vw;
    color: white;
    position: relative;
    background-color:transparent;
    margin-top: 2vw;
    border: 2px solid #F5B349;
    width: 8vw;
    border-radius: 30px;
    padding: 0.6vw;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}
form button::after{
    content: '';
    inset: 0;
    position: absolute;
    background-color: #F5B349;
    transition: transform 0.4s ease-in-out;
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
}
form button:hover::after{
    transform: scaleX(1);
}
.social{
    display: flex;
    flex-direction: row;
    margin-top: 8vw;
    align-items: center;
    grid-gap:2vw;
}
.social img{
    width:2vw;
    cursor: pointer;
    transition: 200ms ease-in-out;
    pointer-events: all !important;
}
.social img:hover{
    transform: scale(1.3);
}
em{
    margin-top: 3vw;
    font-size: 1vw;
    font-style: normal;
    font-weight: 600;
}
footer{
    margin-top: 3vw;
    margin-bottom: 1vw;
    text-align: center;
    font-size: 1vw;
    font-weight: 600;
    color: white;
    word-spacing: 0.1vw;
}

@media (max-width:1024px){
    .container{
        background-size: 400px;
    }
    .logo img{
        width: 14vw;
    }
    .nav-btn-sub img{
        width:1.8vw;
    }
    .nav-btn-sub span{
        font-size: 1.5vw;
    }
    .intro{
        margin-left: 1vw;
        margin-top: 8vw;
    }
    .intro-1{
        font-size: 2.6vw;
    }
    .intro-2 p{
        font-size: 2.4vw;
    }
    .intro-2 p2{
        font-size: 2.4vw;
    }
    .intro-2 p3{
        font-size: 2.4vw;
    }
    .contact-btn{
        font-size: 1.2vw;
        width: 12vw;
        margin-top: 5vw;
    }
    .big-logo img{
        width:40vw;
    }
    .blob{
        top: -22vw !important;
        margin-left: 45vw;
    }
    .about h2{
        font-size: 4vw;
    }
    .about-sub{
        width: 90%;
    }
    .about-sub img{
        width: 38vw;
    }
    .about-text{
        font-size: 1.4vw;
    }
    .about-text span{
        font-size:2vw;
    }
    .projects h2{
        font-size: 4vw;
    }
    .projects h1{
        font-size: 1.8vw;
    }
    .project-box{
        width: 90%;
    }
    .project-box img{
        width: 38vw;
    }
    .project-descrp{
        font-size: 1.4vw;
    }
    .project-descrp span{
        font-size: 1.8vw;
    }
    .lang{
        margin-top: 1.4vw;
    }
    .lang h2{
        font-size: 1.4vw;
    }
    .visit-btn{
        font-size: 1.1vw;
    }
    .skills h2{
        font-size: 4vw;
    }
    .skill-level h1{
        font-size: 2.8vw;
        -webkit-text-stroke:1px #F5B349;
    }
    .skill-tools{
        width: 90%;
    }
    .skill-name{
        font-size: 1.4vw;
    }
    .progress-bar{
        max-height: 1.4vw;
    }
    .tools h2{
        font-size: 2vw;
    }
    .tools-name{
        font-size: 1.2vw;
        margin-top: 3vw;
    }
    .tools-name img{
        width: 7vw;
    }
    .contact h2{
        font-size: 4vw;
    }
    .contact span{
        font-size: 1.6vw;
    }
    .contact input, textarea{
        width: 40vw;
        padding: 1.6vw;
        font-size: 1.4vw;
    }
    form button{
        font-size: 1.2vw;
        margin-top: 3vw;
    }
    .social img{
        width: 2.8vw;
    }
    em{
        font-size: 1.4vw;
    }
    footer{
        font-size: 1.4vw;
    }
}
@media (max-width:767px){
    .hexagon{
        width: 20vw; 
        height: 13vw;
    }
    .code{
        top:41% !important;
    }
    .code span{
        font-size:8vw ;
    }
    .dots{
        top: 56%;
    }
    .dot{
        margin: 1vw;
    }
    body{
        background-size: 400px;
    }
    nav{
        padding-top: 4vw !important;
        padding-right: 4vw !important;
        padding-bottom: 5vw !important;
    }
    nav.sticky{
        padding: 2vw !important;
        background-color:rgb(42,105,100,0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding-right: 4vw !important;
        padding-bottom: 4vw !important;
    }
    #social{
        display: flex;
        margin-top: 20vw !important;
        grid-gap:0;
    }
    #social img{
        width: 5vw;
        margin: 0 5vw;
    }
    .burger{
        display: block;
        cursor: pointer;
    }
    .burger div{
        transition: all 0.3s ease;
    }
    .name{
        -webkit-text-stroke: 1px #F5B349 !important;
    }
    .logo img{
        width: 26vw;
    }
    .nav-btn{
        background-color: rgb(42,105,100,0.98);
        position: absolute;
        top: 17vw !important;
        transform: translateX(100%);
        left: 0;
        right: 0;
        padding-top: 0vw;
        padding-bottom: 500vw;
        display: flex;
        opacity: 0.6;
        flex-direction: column;
        transition: transform 0.4s ease-in-out, opacity 0.6s ease-out;
    }
    .nav-btn.active{
        transform: translateX(0%);
        opacity: 1;
    }
    .toggle .line1{
        transform: rotate(-45deg) translate(-5px,6px);
    }
    .toggle .line2{
        opacity: 0;
    }
    .toggle .line3{
        transform: rotate(45deg) translate(-5px,-6px);
    }
    .nav-btn-sub{
        margin-top: 16vw;
    }
    .nav-btn-sub span{
        font-size: 4.2vw;
    }
    .nav-btn-sub img{
        width: 4vw;
        margin-right: 1.4vw;
    }
    .hero{
        flex-direction: column;
        align-items: flex-start;
    }
    .intro-1{
        margin-top: 20vw;
        font-size: 4.8vw;
    }
    .intro{
        margin-left: 5vw;
    }
    .intro-2{
        margin-top: 6vw;
    }
    .intro-2 p{
        font-size: 4vw;
    }

    .intro-2 p2{
        font-size: 4vw;
    }

    .intro-2 p3{
        font-size: 4vw;
    }
    .big-logo{
        display: none;
    }
    .blob{
        display: none;
    }
    .contact-btn{
        font-size: 2.8vw;
        width: 26vw;
        padding: 2vw;
        margin-top: 8vw;
    }
    .about h2{
        font-size: 6vw;
    }
    .about-sub{
        flex-direction: column-reverse;
        margin-top: 15vw !important;
    }
    .about-text p{
        font-size: 3.2vw;
        margin-top: 2vw;
    }
    .about-text span{
        font-size: 4.2vw;
    }
    .about-sub img{
        width: 70vw;
        margin-top: 8vw;
    }
    .projects h2{
        font-size: 6vw;
    }
    .projects h1{
        font-size: 3vw;
        margin-top: 8vw;
    }
    .project-box{
        flex-direction: column;
        margin-top: 10vw;
        padding: 8vw;
        margin-bottom: 6vw;
    }
    .project-box img{
        width: 70vw;
    }
    .project-descrp{
        width: 86%;
        margin-top: 4vw;
    }
    .project-descrp span{
        font-size: 4.2vw;
    }
    .project-descrp p{
        font-size: 3.2vw;
        margin-top: 4vw;
    }
    .lang{
        grid-gap:0;
    }
    .lang h2{
        font-size: 3vw;
        margin-top: 2vw;
        margin-right: 20px;

    }
    .visit-btn{
        font-size: 2.2vw;
        width: 20vw;
        padding: 1.4vw;
        margin-top: 4vw;
    }
    .project-box:nth-child(even){
        flex-direction: column;
    }
    .project-box:nth-child(even) .project-descrp{
        align-items: flex-start;
    }
    .skills h2{
        font-size: 6vw;
    }
    .skill-tools{
        grid-template-columns: 1fr;
    }
    .skill-level h1{
        font-size: 5vw;
        margin-top: 6vw;
        -webkit-text-stroke:1px #F5B349;
    }
    .skill-level-sub{
        margin-top: 4vw !important;
        width: 90%;
        margin: 0 auto;
    }
    .skill-name{
        font-size: 3.2vw;
    }
    .progress-bar{
        max-height: 3vw;
    }
    .tools h2{
        font-size: 4.2vw;
        margin-top: 4vw;
    }
    .tools-name{
        font-size: 3vw;
        margin-top: 8vw;
    }
    .tools-name img{
        width: 14vw;
    }
    .contact h2{
        font-size: 6vw;
    }
    .contact span{
        font-size: 3vw;
        margin-top: 6vw;
    }
    .contact form{
        margin-top: 10vw;
    }
    .contact input, textarea{
        width: 80vw;
        padding: 3vw;
        font-size: 3vw;
        margin-top: 3vw;
    }
    .contact textarea{
        height: 26vw;
    }
    form button{
        font-size: 2.8vw;
        width: 20vw;
        padding: 2vw;
        margin-top: 8vw;
    }
    .social{
        grid-gap:0px;
    }
    .social img{
        width: 5vw;
        margin-top: 6vw !important;
        margin: 0 3vw;
    }
    em{
        font-size: 2.6vw;
        font-weight: 400;
    }
    footer{
        font-size: 2.6vw;
        font-weight: 400;
        margin-top: 5vw;
        margin-bottom: 3vw;
    }
}
