/* GOOGLE FONT REFERENCE

CHANGA
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 800

.changa-<uniquifier> {
  font-family: "Changa", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

NOTO SANS
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.noto-sans-<uniquifier> {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

NOTO SANS MONO
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.noto-sans-mono-<uniquifier> {
  font-family: "Noto Sans Mono", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

*/

:root {
    --blue: #001624;
    --grey: #5d737e;
    --white: #f0eff4;
    --green: #dcf764;
    --teal: #a9cbb7;
    --orange: #ff934f;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

html {
    font-size: 16px;
    color: var(--blue);
}

/* ANIMATION */

@keyframes onLoadNav {
    0% {
        opacity: 0;
        transform: translate(0, -50%);
    }

    25% {
        opacity: 0;
        transform: translate(0, -50%);
    }

    50% {
        opacity: 0;
        transform: translate(0, -50%);
    }

    75% {
        opacity: 0;
        transform: translate(0, -50%);
    }

    100% {
        opacity: 1;
        transform: translate(0, 00);
    }
}

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

    100% {
        opacity: 1;
    }
}

@keyframes onLoadSocial {
    0% {
        opacity: 0;
        transform: translate(0, 50%);
        animation-delay: 4s;
    }

    25% {
        opacity: 0;
        transform: translate(0, 50%);
        animation-delay: 4s;
    }

    50% {
        opacity: 0;
        transform: translate(0, 50%);
        animation-delay: 4s;
    }

    75% {
        opacity: 0;
        transform: translate(0, 50%);
    }

    100% {
        opacity: 1;
        transform: translate(0, 00);
    }
}

/* TYPOGRAPHY */

h1 {
    font-family: "Changa", sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 3rem;
    text-transform: uppercase;
    letter-spacing: 0%;
    margin-bottom: 3rem;
}

h2 {
    font-family: "Changa", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.5rem;
    letter-spacing: -2%;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: "Changa", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: 0%;
    margin-bottom: 0.5rem;
}

p {
    font-family: "Noto Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
}

p.caption {
    font-style: italic;
}

body {
    margin: 0;
}

.reel {
    min-width: 100%;
    min-height: 100%;
}

#reelMobile {
    display: none;
}

#showReel {
    position: fixed;
    right: 0;
    bottom: 0;
    min-height: 100%;
    min-width: 100%;
    z-index: -2;
}

.reel:before {
    content: "";
    position: absolute;
    background: rgba(0, 21, 36, 0.4);
    border-radius: 5px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

video[poster] {
    object-fit: cover;
}

nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    animation: 1s ease-in-out 0s 1 onLoadNav;
}

nav button {
    top: 0;
    color: var(--white);
    font-family: "Noto Sans Mono", monospace;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(220, 247, 100, 0);
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

#buttonAbout {
    border-radius: 0 0 0.5rem 0;
}

#buttonContact {
    border-radius: 0 0 0 0.5rem;
}

nav button:hover {
    color: var(--blue);
    background: rgba(220, 247, 100, 1);
    font-weight: 400;
}

nav button.active {
    color: var(--green);
    background: rgba(0, 22, 36, 1);
    font-weight: 400;
}

social {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    animation: 1s ease-in-out 0s 1 onLoadSocial;
}

social img {
    width: 5rem;
    padding: 1rem;
    cursor: pointer;
}

social img:hover {
    opacity: 0.8;
}

.logo {
    position: absolute;
    width: 32%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: 2s 0s 1 onLoadLogo;
}

.logo img {
    width: 100%;
}

.panel {
    background-color: var(--white);
    overflow: scroll;
    position: fixed;
    top: 0;
    width: 600px;
    height: 100vh;
    padding: 2rem 0;
    z-index: 24;
    transition-duration: 0.24s;
    -webkit-transition-duration: 0.24s;
}

.panel section {
    margin: 0 0 2rem 0;
}

#panelAbout section {
    padding: 0 5rem 0 3rem;
}

#panelContact section {
    padding: 0 3rem 0 5rem;
}

#panelAbout {
    left: -600px;
    border-radius: 0;
}

#panelAbout.visible {
    left: 0;
}

.buttonDismiss {
    height: 4rem;
    width: 4rem;
    position: sticky;
    top: 0;
    transform: translate(0, -2rem);
    padding: 1rem;
    border: none;
    cursor: pointer;
    background: var(--blue);
}

#panelAbout .buttonDismiss {
    left: 536px;
    border-radius: 0 0 0 0.5rem;
}

#panelAbout .buttonDismiss img {
    width: 100%;
}

.clientCont {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
}

.clientCont img {
    width: calc(50% - 2rem);
    margin: 1rem;
}

.teamCont {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.teamBio {
    margin: 0 0 2rem 0;
}

.teamBio img {
    width: 100%;
    margin: 0 0 1rem 0;
}

#panelContact {
    z-index: 24;
    right: -600px;
    border-radius: 0rem;
}

#panelContact.visible {
    right: 0;
}

#panelContact .buttonDismiss {
    right: 416px;
    border-radius: 0 0 0.5rem 0;
}

#panelContact .buttonDismiss img {
    width: 100%;
    transform: rotate(180deg);
}

#panelContact form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem 0;
}

#panelContact label {
    font-family: "Noto Sans Mono", monospace;
    font-size: 1rem;
    line-height: 0rem;
    margin: 1.5rem 0 0;
}

#panelContact .contact-inputs {
    padding: 1rem;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    font-family: "Noto Sans Mono", monospace;
    font-size: 1rem;
    line-height: 1.5rem;
    background-color: #fff;
    border: 2px solid #fff;
}

#panelContact .contact-inputs:hover {
    border: 2px solid var(--green);
}

#panelContact .contact-inputs:focus {
    border: 2px solid var(--green);
}

#panelContact .contact-inputs::placeholder {
    color: var(--grey);
}

#panelContact textarea {
    height: 16rem;
}

#panelContact form .contact-button {
    display: flex;
    align-items: center;
    color: var(--green);
    background: var(--blue);
    width: max-content;
    margin: 1.5rem 0 0;
    padding: 1.5rem;
    font-family: "Noto Sans Mono", monospace;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 0rem;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

#panelContact form .contact-button:hover {
    color: var(--blue);
    background: var(--green);
    font-weight: 400;
}

/* MOBILE */

@media (max-width: 800px) {
    /* TYPOGRAPHY */

    h1 {
        font-size: 2rem;
        line-height: 1.5rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
        line-height: 1.25rem;
        letter-spacing: -2%;
        margin-bottom: 0.75rem;
    }

    h3 {
        font-size: 1rem;
        line-height: 1rem;
        margin-bottom: 0.5rem;
    }

    p {
        font-size: 0.75rem;
        line-height: 1rem;
        margin-bottom: 0.75rem;
    }

    p.caption {
        font-style: italic;
    }

    #reelDesktop {
        display: none;
    }

    #reelMobile {
        display: inline;
    }

    #showReel {
        position: fixed;
        right: 0;
        bottom: 0;
        height: 100%;
        z-index: -2;
    }

    nav button {
        font-size: 1.2rem;
        font-weight: 400;
    }

    .logo {
        width: 64%;
    }

    social {
        padding: 0 0 1rem 0;
    }

    social img {
        width: 4rem;
        padding: 1rem;
        cursor: pointer;
    }

    .panel section {
        margin: 0 0 2rem 0;
    }

    #panelAbout {
        height: 100%;
        width: 95%;
        left: -95%;
        border-radius: 0;
    }

    #panelContact {
        height: 100%;
        width: 95%;
        right: -95%;
        border-radius: 0;
    }

    #panelAbout section,
    #panelContact section {
        padding: 0 2rem 0 2rem;
    }

    #panelAbout .buttonDismiss,
    #panelContact .buttonDismiss {
        height: 3rem;
        width: 3rem;
        padding: 0.75rem;
    }

    #panelContact label {
        font-size: 0.75rem;
        margin: 1.5rem 0 0;
    }

    #panelContact .contact-inputs {
        font-size: 1rem;
    }

    #panelContact textarea {
        height: 12rem;
    }

    #panelContact form .contact-button {
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 3rem;
        font-size: 1rem;
    }
}
