@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

:root {
    font-family: 'Questrial', sans-serif;
    color: white;


    --lrg: 1200px;
    --sml: 600px;


    /* Dark Mode */
    --darkModeFontColor: white;
}

html * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Questrial', sans-serif;
}

@media screen and (max-width: 1800px) {
    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 900px) {
    html {
        font-size: 11px;
    }
}


body {
    background: linear-gradient(180deg, rgba(0, 4, 19, 1),rgba(20, 28, 54, 1));    
}

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

::-webkit-scrollbar{
    display: none;
}

.darkMode {

    color: var(--darkModeFontColor);
}

.globalWrapper {

    width: 200vw;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;

}

.left-content,
.right-content {
    width: 50vw;
}
.center-content {
    width: 100vw;
}

/* .left-content {
    background: palegoldenrod;
}

.center-content {
    background: paleturquoise;

}

.right-content {
    background: palegreen;
} */

.transL {
    transition: transform 5s ease;
    transform: translateX(20vw);
}



.contactMeWrapper {
    width: 100%;
    height: 100vh;
    padding: 5vw;

    display: flex;
    flex-flow: row nowrap;
}

.responsiveWrapper-outer {
    min-width: 50%;
    width: var(--sml);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 3vh;
}

.responsiveWrapper-inner {
    width: var(--sml);
    display: flex;
    flex-flow: column nowrap;
    height: 50%;
    gap: 8vh;


}

.headerWrapper .responsiveWrapper-inner {
    align-self: flex-end;
}

.header-title {
    display: flex;
    flex-flow: column nowrap;
    font-size: 2.5rem;


}

.header-title_nav {
    font-size: 2.5rem;
    display: grid;
    align-items: center;
    cursor: pointer;
    border-radius: 1rem;
}

.nav-right {
    grid-template-columns: auto 10rem;
    grid-template-areas:
    "title btn";
}

.nav-left {
    grid-template-columns: 8rem auto;
    grid-template-areas:
    "btn title";
}

.header-title_nav:hover {
    background: rgb(255, 255, 255);
}

.nav-right h2,
.nav-left h2 {
    grid-area: title;
    transition: transform 300ms ease;
}


.nav-right:hover button,
.nav-right:hover h2 {
    transform: translateX(2rem);
    color: rgb(13, 27, 53);
}

.nav-left:hover button,
.nav-left:hover h2 {
    transform: translateX(-2rem);
    color: rgb(13, 27, 53);
}

.nav-right button,
.nav-left button {
    grid-area: btn;
    width: 100%;
    transition: transform 300ms ease;
}


.nav-left:hover button {
    transform: translateX(-2rem);
}

.btn-right svg,
.btn-left svg {
    width: 5rem;
    height: 5rem;
}

.btn-right svg {
    transform: scaleX(-1);

}

.header-title_nav:hover svg {
    fill: rgb(13, 27, 53);
}

.btn-right {
    margin-right: 5rem;
}


.header-bottom {
    display: flex;
    flex-flow: column nowrap;
    gap: 1vh;
    position: relative;
}

.header-bottom a {
    font-weight: 600;
    text-decoration: none;
    color: rgb(65, 255, 176);
}

.header-bottom h2 {
    font-weight: 200;
    line-height: 1.8rem;
    letter-spacing: 0.01rem;
}

.header-about {
    font-size: 1.8rem;
    letter-spacing: 0.01rem;

}

.header-about span {
    font-weight: 600;
    cursor: pointer;
    color:rgb(65, 255, 176);
}

.header-about span:hover {
    color: rgb(159, 255, 210);
}

.intro_title-title-wrapper h1 {
    line-height: 1.4rem;

}


#contactMe_btn {
    margin-top: 3vh;
}


.contactFormScreenFrame {
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0);
    position: fixed;
    top: 0;
    left: 0;
    padding: 3vw;

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    z-index: 3;

}

.contactFormFrame {
    --frameWidth: 1200px;
    --frameHeight: 1000px;

    width: 100%;
    max-width: var(--frameWidth);
    height: 100%;
    max-height: var(--frameHeight);

    z-index: 4;
    background: rgb(255, 255, 255);
    border-radius: 20px;

    transition: transform 300ms ease;
    transform: translateY(0);
    animation-name: slideUp;
    animation-duration: 300ms;
    animation-timing-function: ease;
}

@keyframes slideUp {
    0% {
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(0);
    }
}


.contactMeWrapper {
    justify-content: center;
    z-index: 2;
}

.contactMeWrapper .responsiveWrapper-outer {
    width: 100%;
    max-width: var(--lrg);
}

.contactMeWrapper .responsiveWrapper-inner {
    width: 100%;
    height: 100%;
}

.contactFormWrapper {
    width: 100%;
    height: 100%;
    padding: 3%;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 1.5rem;
}

.contactFormWrapper header {
    font-size: 3rem;
}

.contactFormWrapper .divider {
    margin: 2rem 0;
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.253);
}

.contactFormWrapper form {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;

}

.contactFormWrapper form .formRow {
    width: 100%;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

}

.formRow div {
    flex: 1 0 50%;
    flex-basis: 280px;
    padding: 10px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    gap: 1rem;
}


.formRow div input,
.formRow div textarea {
    border: none;
    /* border-radius: 0.5rem; */
    padding: 1rem;
    font-size: 1.4rem;
}

.formRow div input::placeholder,
.formRow div textarea::placeholder {
    opacity: 0.7;

}

.formRow div input {
    height: 3.5rem;
}

.formRow div input:focus,
.formRow div textarea:focus {
    outline: none;
}


.formRow textarea {
    height: 300px;
}

.contactForm-dark {
    --dark: rgba(20, 28, 54, 1);
    color: var(--dark);
}


.contactForm-dark .formRow div label {
    pointer-events: none;
    user-select: none;
}

.contactForm-dark .formRow div input,
.contactForm-dark .formRow div textarea {
    border-bottom: 1px solid var(--dark);
    border-radius: 0;
}

.submitRow {
    flex: 1 1 auto;
    width: 100%;

    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

}

.submitRow .reCAPTCHA,
.submitRow .submitBtn {
    flex: 1 0 50%;
    flex-basis: 280px;
    padding: 10px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    gap: 1rem;
    height: 100%;
}

.submitRow .reCAPTCHA {
    background: blue;
}



.second2 {
    height: 100vh;
    width: 100%;

}

#footer {
    height: 60vh;
    width: 100%;
    display: grid;
    place-items: center;
    position: relative;
}


#footer_world {
    --imgHeight: 700px;
    --height: calc(var(--imgHeight) * 0.4);

    height: var(--height);
    width: 100%;
    position: sticky;
    top: calc(100vh - var(--height));
    overflow-y: hidden;
    display: flex;
    justify-content: center;
    align-self: center;
    z-index: 3;
    /* background: teal; */
}

#footerContactBtn {
    display: grid;
    place-items: center;
    width: 50%;
    max-width: 300px;
    height: 5rem;
    border: none;
    background: rgba(255, 255, 255, 0.089);
    position: absolute;
    border-radius: 0.5rem;
    cursor: pointer;
    top: 20%;
    transition:
        transform 200ms ease, 
        opacity 3000ms ease;
    z-index: 4;
}

#footerContactBtn:hover {
    background: rgba(255, 255, 255, 0.205);

}


#footerContactBtn svg {
    height: 50%;
    width: 50%;
    transition: transform 300ms ease;
}

#footerContactBtn:hover svg {
    transform: 
        scale(1.4)
        rotate(-5deg);

}


#footerContactBtn:focus svg {
    transform: scale(1.2)
}

#footerContactBtn:active {
    transform: scale(0.9);
}


.footer {
    height: var(--imgHeight);
}

.scroll {
    position: fixed;
    top: 5%;
    left: 0;
    height: 90%;
    width: 100%;
    padding-right: 2vw;

    display: flex;
    flex-flow: row-reverse nowrap;
    align-items: center;
}

.scroll-bar-wrapper {
    width: 5%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}
/* 
.scroll-bar-wrapper:hover .scroll-bar {
    width: 100%;
} */

.scroll-bar {
    --w: 10px;
    position: relative;
    width: 3px;
    height: 100%;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.109);
    transition: width 500ms ease;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-between;
}


.scroll-bar_location {
    height: var(--w);
    width: var(--w);
    border-radius: var(--w);
    background: rgba(255, 255, 255, 0.733);

}

.scroll-bar_current {
    position: absolute;
    top: calc(var(--w) * -0.5);
    height: calc(var(--w) * 2);
    width: calc(var(--w) * 2);
    border-radius: calc(var(--w) * 2);
    border: 1px solid rgba(255, 255, 255, 0.733);
    

}