/*----- Mobile Nav Section -----*/

.mobile-nav-btn{
    z-index: 100;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 30px;
}
.mobile-nav-btn i{
    color: var(--sec2);
}
.mobile-nav-open-btn{
    position: fixed;
    top: 10px;
    left: 10px;
}
.mobile-nav{
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-100%);
    transition: 0.3s ease-in-out;
}
.visible{
    transform: translateX(0);
}
.nav-blue{
    background-color: var(--sec1);
    width: 80%;
    transition-delay: 0.4s;
}
.nav-blue.visible{
    transition-delay: 0s;
}
.nav-green{
    width: 90%;
    background-color: var(--prim);
    transition-delay: 0.2s;
}
.nav-green.visible{
    transition-delay: 0.2s;
}
.nav-white{
    background-color: var(--bg);
    width: 90%;
    padding: 3rem;
    position: relative;
    transition-delay: 0;
}
.nav-white.visible{
    transition-delay: 0.4s;
}
.mobile-nav-close-btn{
    position: absolute;
    top: 40px;
    right: 30px;
    opacity: 0.5;
}
.mobile-list{
    list-style-type: none;
    padding: 0;
}
.mobile-list li{
    margin: 3rem 0;
}
.mobile-list li a{
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}
.mobile-nav a.active, .mobile-nav a:hover{
    color: var(--sec2);
    font-weight: 800;
    transition: 0.3s ease color;
}

/*----- Desktop Nav Section -----*/

.nav{
    display: none;
}

/*-----     Home Section     -----*/

.home{
    height: 100vh;
    width: 100%;
    background: var(--prim);
    position: relative;
}
.custom-shape-divider-bottom-1658164793 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.custom-shape-divider-bottom-1658164793 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}
.custom-shape-divider-bottom-1658164793 .shape-fill {
    fill: #F8F8F8;
}

.home-wrapper{
    height: 100%;
    width: 100%;
    position: fixed;
}
.home-container{
    height: 100%;
    width: 100%;
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
.home-top{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    line-height: 1;
}
.home-buttons{
    position: relative;
    width: 100%;   
    display: flex;
    align-self: center;
    justify-content: center;
    opacity: 0;
    animation: showbuttons 2s ease;
    animation-delay: 6s;
    animation-fill-mode: forwards;
    margin-block: 2rem;
}
.home-container img{
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    border: rgba(0, 0, 0, 0.3) 2px solid;
    opacity: 0;
    animation: showbuttons 2s ease;
    animation-delay: 6s;
    animation-fill-mode: forwards;
}

.home-buttons button{
    margin: 1rem;
    padding: 1rem 2rem;
    background: none;
    border: var(--bg) 1px solid;
    color: var(--bg);
    font-size: 1rem;
    border-radius: 20px;
}
.home-buttons button:hover{
    cursor: pointer;
    transform: scale(1.2);
}
.home-container h1 {
    position: relative;
    margin-inline: 1rem;
    letter-spacing: 1.4px;
    font-size: 2.8rem;
    color: var(--sec2);
    border-right: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    animation: typist 5.5s steps(18), caret 0.7s infinite step-end 3s;

}
.home-container h2{
    padding: 1rem;
    margin-bottom: -2rem;
}
.home-container h2 span{
    position: relative;
    bottom: -400%;
    left: -400%;
    opacity: 0;
    animation-name: h2appear;
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    font-size: 3.2rem;
    color: var(--bg);
}
.home-container h2 span:nth-of-type(2){
    animation-delay: 0.2s;
}
.home-container h2 span:nth-of-type(3){
    animation-delay: 0.4s;
}
.home-container h3{
    padding: 1rem;
}    
.home-container h3 span{
    position: relative;
    bottom: -400%;
    left: -400%;
    opacity: 0;
    animation-name: h3appear;
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    font-size: 3.2rem;
    color: var(--bg);
}
.home-container h3 span:nth-of-type(1){
    animation-delay: 0.6s;
    }
.home-container h3 span:nth-of-type(2){
animation-delay: 0.8s;
}
.home-container h3 span:nth-of-type(3){
    animation-delay: 1s;
}
.home-container h3 span:nth-of-type(5){
    animation-delay: 1.2s;
}
.home-container h3 span:nth-of-type(6){
    animation-delay: 1.4s;
}
.home-container h3 span:nth-of-type(7){
    animation-delay: 1.8s;
}
.home-container h3 span:nth-of-type(8){
    animation-delay: 2s;
}
.home-container h3 span:nth-of-type(9){
    animation-delay: 2.2s;
    }


    /*-----     About Me Section     -----*/

.about-me{
    height: 100vh;   
    width: 100%;
    position: relative;
    background: var(--bg);
}
.about-me-container{
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.about-me-container h3{
    font-size: 2rem;
    font-weight: 800;
}
.about-me-container h3 span{
    color: var(--sec2);
}
.underline{
    width: 100%;
    border-bottom: var(--prim) solid 5px;
    position: relative;
    top: 5%;
    left: 35%;
    margin-bottom: 4rem;
}

.about-me-box{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 60vh;
    margin-bottom: 2rem;
    
}
.left-slide{
    height: 100%;
    width: 35%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform .5s ease-in-out;
}
.left-slide  div{
    height: 100%;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.left-slide h2{
    font-size: 2.5vmax;
    font-weight: 600;
}

.right-slide{
    height: 100%;
    position: absolute;
    top: 0;
    left: 35%;
    width: 65%;
    transition: transform .5s ease-in-out;
}
.right-slide > div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.right-slide p{
    background: none;
    font-size: 2vmax;
    font-weight: 400;
    padding: 2rem;
    color: var(--text);
}
.phrase-four{
    background: var(--sec1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.phrase-two{
    background: var(--sec1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.word-four, .word-two{
    background: var(--sec1);
}
.phrase-one{
    background: var(--sec3);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.phrase-three{
    background: var(--sec3);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.word-one, .word-three{
    background: var(--sec3);
    background-size: cover;
    background-repeat: no-repeat;
}

.about-me-box .action-buttons button{
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 2rem;
    z-index: 100;
    background: none;
    cursor: pointer;
    font-size: 1vmax;
    font-weight: 800;
    padding: 1rem;
    border-radius: 10px;
}
.about-me-box .action-buttons .down-button{
    border: #2f5972 1px solid;
    color: var(--prim);
}
.about-me-box .action-buttons button:hover{
    background: var(--prim);
    transform: scale(1.2);
    color: var(--sec1);
}

.about-me-box .action-buttons .up-button{
    display: none;
    top: 20%;
}

/*----- Skills Section -----*/

.skills{
    height: 100%;
    min-height: 150vh;
    width: 100%;
    position: relative;
    background: var(--bg);
}
.skills-container{
    height: 100%;
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;

}
.skills-container h2{
    margin-top: 1rem;
    padding: 1rem;
    font-size:  2rem;
    font-weight: 800;
}
.skills-container h2 span{
    color: var(--sec2);
}
.skills-written h2{
    font-size:  3rem;
    font-weight: 400;
}
.skills-content{
    height: 100%;
    width: 100%;
    margin: 2rem;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}
.skills-tornado{
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.skills-tornado .skills-box1{
    position: relative;
    width: 100px;
    min-width: 10%;
    height: 100px;
    min-height: 10vh;
    transform-style: preserve-3d;
    animation: rotate 10s linear infinite;
    margin: 2rem;
}
.skills-box1 span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i)*75deg)) translateZ(150px);
}
.skills-box1 span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    object-fit: cover;
    transition: 0.5s;
}

.skills-tornado .skills-box2{
    position: relative;
    width: 100px;
    min-width: 10%;
    height: 100px;
    min-height: 10vh;
    transform-style: preserve-3d;
    animation: rotate 15s linear infinite;
    margin: 1rem;
}
.skills-box2 span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i)*90deg)) translateZ(125px);
}
.skills-box2 span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    object-fit: cover;
    transition: 1s ease;
}
.skills-tornado .skills-box3{
    position: relative;
    width: 100px;
    min-width: 10%;
    height: 100px;
    min-height: 10vh;
    transform-style: preserve-3d;
    animation: rotate 20s linear infinite;
    margin: 1rem;
}
.skills-box3 span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i)*90deg)) translateZ(100px);
}
.skills-box3 span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    object-fit: cover;
    transition: 3s ease;
    -webkit-box-reflect: below 5px linear-gradient(transparent, transparent, #0004);
}
.skills-written{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}
.skills-written .skills-frame{
    width: 100%;
    position: relative;
}
.box{
    transform: translateX(400%);
    transition: transform 1s linear;
}
.box:nth-of-type(even){
    transform: translateX(-400%);
}
.box.show{
    transform: translateX(0);
}
.frame-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.skills-written .skills-frame h2{
    position: relative;
    margin: 0;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--prim);
    color: var(--sec2);
    top: 30%;
}
.skills-written .frame-list{
    height: 100%;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: var(--prim);
    border-radius: 20px;
}
.skills-written .skills-frame a{
    width: 100%;
    margin: 0.5rem;
    font-size: 1rem;
    color: var(--bg);
}
.skills-written .skills-frame a:hover{
    color: var(--sec2);
    transform: scale(1.2);
}
.skills-written .skills-lang{
    width: 100%;
    position: relative;
}
.lang-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.skills-written .lang-list{
    height: 100%;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: var(--prim);
    border-radius: 20px;
}
.lang-container h2{
    position: relative;
    margin: 0;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--prim);
    color: var(--sec2);
    top: 30%;
}
.skills-written .skills-lang a{
    width: 100%;
    margin: 0.5rem;
    font-size: 1rem;
    color: var(--bg);
}
.skills-written .skills-lang a:hover{
    color: var(--sec2);
    transform: scale(1.2);
}
.skills-written .skills-tool{
    width: 100%;
    position: relative;
}
.skills-written .tool-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.tool-container h2{
    position: relative;
    margin: 0;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--prim);
    color: var(--sec2);
    top: 30%;
}
.tool-container .tool-list{
    height: 100%;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: var(--prim);
    border-radius: 20px;
}
.tool-list a{
    width: 100%;
    margin: 0.5rem;
    font-size: 1rem;
    color: var(--bg);
}

.skills-written .skills-tool a:hover{
    color: var(--sec2);
    transform: scale(1.2);
}
.skills-tornado span:hover img{ 
    transform: translateY(-50px) scale(1.3);
    color: #eb9a28;
    transition: transform 0.5s;
}

/*----- Work Section -----*/

.work{
    height: 100%;
    min-height: 100vh;
    width: 100%;
    background: var(--prim);
    position: relative;
    z-index: 10;
}
.custom-shape-divider-top-1658420642 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-top-1658420642 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}
.custom-shape-divider-top-1658420642 .shape-fill {
    fill: #F8F8F8;
}
.work-container{
    height: 100%;
    width: 100%;
    position: relative;
}
.work-container h3{
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg);
    padding-top: 12rem;
    padding-inline: 1rem;
    padding-bottom: 2rem;
}
.work-container h3 span{
    color: var(--sec2);
}
.card-container{
    height: 100%;
    width: 100%;
    position: relative;
    top: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.card-container .underline{
    width: 100%;
    border-bottom: var(--bg) solid 5px;
    position: relative;
    top: 5%;
    left: 35%;
    margin-bottom: 4rem;    
}
.card-row{
    height: 100%;
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0;
}
.card{
    min-height: 100%;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    text-align: center;
    line-height: 1;
}
.card h2{
    margin-bottom: 1.6rem;
    font-size: 1.6rem;
}
.sub-heading{
    font-size: 2rem;
    color: var(--bg);
    margin-block: 2rem;
}
.card p{
    font-size: 1rem;
    padding-inline: 0.5rem;
    font-weight: 800;
}
.card button{
    padding: 0.5rem 1rem;
    margin-top: 1.6rem;
    background: var(--prim);
    border: var(--prim) 2px solid;
    border-radius: 10px;
    color: var(--sec2);
    font-size: 1rem;
    font-weight: 400;
}
.card button:hover{
    transform: scale(1.1);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 2px;  
}
.card button:active{
    background: var(--sec2);
    border: none;
    font-weight: 800;
    color: var(--bg);
    min-height: 300px;
    height: 30%;
}

/*--CARDS--*/
.card-one{
    min-height: 300px;
    width: 100%;
    height: 30vh;
    padding: 0.5rem;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/ThePawCompany.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#f8f8f8dd;
    background-blend-mode:overlay;
}
.card-two{
    min-height: 300px;
    width: 100%;
    height: 30vh;
    padding: 0.5rem;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/Strathcona-hero.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color:#f8f8f8dd;
    background-blend-mode:overlay;
}
.card-three{
    min-height: 300px;
    width: 100%;
    height: 30vh;
    padding: 0.5rem;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/CaveEscape.JPEG);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#f8f8f8dd;
    background-blend-mode:overlay;
}
.card-four{
    min-height: 300px;
    width: 100%;
    height: 30vh;
    padding: 0.5rem;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/games1.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#f8f8f8dd;
    background-blend-mode:overlay;
}
.card-five{
    min-height: 300px;
    width: 100%;
    height: 30vh;
    padding: 0.5rem;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../assets/frontend3.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#f8f8f8dd;
    background-blend-mode:overlay;
}
/*--END OF CARDS*/

.modal-container{
    background-color: #2f5972d2;
    position: fixed;
    top:0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-inner{
    height: 80%;
    width: 90%;
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 20px;
    box-shadow:var(--prim) 5px 5px 10px 1px;
}
.modal-close-button{
    position: relative;
    left: 48%;
    padding: 10px 20px;
    margin-bottom: 1rem;
    font-size: calc(0.5rem + 0.5vw);
    background: var(--sec1);
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.carousel{
    position: relative;
    height: 100%;
    width: 100%;
}
.carousel > ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.carousel-button{
    position: absolute;
    background: none;
    border: var(--sec2) 1px solid;
    font-size: 3rem;
    top: 50%;
    z-index: 200;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--sec2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}
.carousel-button:hover,  .carousel-button:focus{
    color: var(--bg);
    border: none;
    background: var(--sec2);
} 
.next{
    right: -2rem;
}
.prev{
    left: -2rem;
}
.slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide > img{
    display: block;
    max-width: 100%;
    width: 90%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide[data-active]{
    opacity: 1;
}
.modal-inner h2{
    margin: 1rem;
    font-size: 1.2rem;
    border: var(--prim) 2px solid;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.modal-inner p{
    font-size: 1rem;
}
.modal-inner .view-code{
    margin-top: 1rem;
    margin-bottom: -1.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: none;
    border:var(--prim) 2px solid;
    border-radius: 20px;
    color: var(--prim);
    cursor: pointer;
}

    /*----- Contact Section -----*/

    .contact{
        height: 100%;
        width: 100%;
        position: relative;
        background-color: var(--prim);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 10;
        padding-bottom: 2rem;
    }
    .contact h2{
        margin-top: 5rem;
        color: var(--bg);
        font-size: 2rem;
        font-weight: 800;
    }
    .contact h2 span{
        color: var(--sec2);
    }
    .contact .underline{
        width: 100%;
        border-bottom: var(--bg) solid 5px;
        position: relative;
        top: 5%;
        left: 35%;
        margin-bottom: 4rem;
    }
    .contact-container{
        height: 100%;
        min-height: 60vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contact-information-container{
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4rem;
    }
    .contact-info-container{
        height: 100%;
        min-height: 30vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        position: relative;
    }
    .info-container{
        display: flex;
        gap: 3rem;
        padding: 2rem;
    }
    .contact-information-container img{
        min-width: 20vw;
    }
    .info-container button{
        min-height: 8vh;
        background: transparent;
        color: var(--bg);
        font-size: 1rem;
        border: 1px solid var(--bg);
        border-radius: 10px;
        padding: 1rem 2rem;
        box-shadow: var(--sec1) 0px 0px 10px ;
    }
    .info-container button:hover, .info-container button:active{
        transform: scale(1.1);
        box-shadow: var(--sec1) 0px 0px 8px 10px;
    }
    .social-container{
        display: flex;
        gap: 3rem;
    }
    .social-container a{
        box-shadow: var(--sec1)  0px 0px 10px;
        padding: 1rem;
        border-radius: 10px;
    }
    .social-container a:hover{
        transform: scale(1.1);
        box-shadow: var(--sec1) 0px 0px 8px 12px;
    }
    .contact-info-container i{
        color: var(--bg);
        font-size: 1rem;
    }
    .contact-form-container{
        height: 100%;
        width: 100%; 
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
    .contact-form{
        height: 100%;
        min-height: 60vh;
        width: 90%;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 2rem 4rem;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contact-form h3{
        text-align: center;
        margin-bottom: 2rem;
        color: var(--bg);
        font-size: 2rem;
        font-weight: 400;
    }
    .form-control{
        position: relative;
        margin: 1rem 0 2rem;
        min-width: 300px;
        color: var(--bg);
    }
    .form-control input{
        background-color: transparent;
        border-bottom: 2px var(--bg) solid;
        width: 100%;
        min-width: 20vw;
        display: block;
        padding: 0.5rem 0rem;
        font-size: 1rem;
        color: var(--bg);
    }
    .form-control label{
        color: var(--bg);
        position: absolute;
        top: 5px;
        padding: 0 0.3rem ;
    }
    .form-control label span{
        color: var(--bg);
        display: inline-block;
        font-size: 1rem;
        transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    .form-control input:focus + label span,
    .form-control input:valid + label span,
    .form-control textarea:focus + label span,
    .form-control textarea:valid + label span{
        transform: translateY(-30px);
    }
    .form-control textarea{
        width: 100%;
        display: block;
        background-color: transparent;
        border: 2px var(--bg) solid;
        padding: 1rem;
        font-size: 1rem;
        color: var(--bg);
    }
    .form-control input:focus, .form-control input:valid{
        outline: 0;
    }
    .contact-form button{
        padding: 0.5rem 1rem;
        background-color: transparent;
        border: 1px solid var(--bg);
        border-radius: 10px;
        color: var(--bg);
        font-size: 1rem;
        display: inline-block;
        width: 100%;
    }

/*----- Animations Section -----*/

@keyframes h3appear{
    0%{
        opacity: 0;
        bottom: -400%;
        left: -400%;
    }
    70%{
        opacity: 1;
        bottom: 25%;
        left: 0;
    }
    85%{
        opacity: 1;
        bottom: -20%;
        left: 0;
    }
    100%{
        opacity: 1;
        bottom: 0;
        left: 0;
    }
}

@keyframes showbuttons{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes caret{
    0%, 100%{
        border-color: transparent;
    }
    50%{
        border-color: var(--sec2);
    }
}

@keyframes typist{
    0%{
        width: 0ch;   
    }
    65%{
        width: 0ch;
    }
    100%{
        width: 16ch;
    }
}

@keyframes h2appear{
        0%{
            opacity: 0;
            bottom: -400%;
            left: -400%;
        }
        70%{
            opacity: 1;
            bottom: 15%;
            left: 0;
        }
        85%{
            opacity: 1;
            bottom: -10%;
            left: 0;
        }
        100%{
            opacity: 1;
            bottom: 0;
            left: 0;
        }
    }

    @keyframes rotate{
        0%{
            transform: perspective(1000px) rotateY(0deg);
        }
        100%{
            transform: perspective(1000px) rotateY(360deg);
        }
    }
