/* MAIN */

:root {
    --main-color: white;
    --bg-color: #111111;
    --accent-color: #20719b;
}

body {
    margin: 50px 0 0 0;
    padding: 0;

    background: var(--bg-color);
    color: var(--main-color);

    font-family: 'Manrope', 'IBM Plex Mono', sans-serif;
    text-align: center;

    overflow-x: hidden;
    width: 100%;
}

body::-webkit-scrollbar {
    width: 6px; /* Width of vertical scrollbar */
    height: 12px; /* Height of horizontal scrollbar */
}

body::-webkit-scrollbar-track {
    background: #333333; /* Background of the scrollbar track */
    border-radius: 6px;
  }
  
body::-webkit-scrollbar-thumb {
    background: #555555; /* Scrollbar thumb (handle) */
    border-radius: 3px;
    border: 2px solid #555555; /* Padding around the thumb */
}
  
body::-webkit-scrollbar-thumb:hover {
    background: #777777; /* Thumb color on hover */
    border: 2px solid #777777; /* Padding around the thumb */
}

button {
    cursor: pointer;
}

.accent {
    color: var(--accent-color);
    text-shadow: 0 0 2px currentColor, 0 0 1px currentColor;
}

.section_separator {
    width: 90vw;

    height: 1px;
    border: none;

    background: linear-gradient(to right, black 0%, white 20%, white 80%, black 100%);
}

/* NAVBAR */

#navbar {
    position: fixed;
    width: 100vw;
    height: 50px;

    background-color: #171717;
    border-bottom: 1px solid var(--accent-color);

    z-index: 10;

    margin: 0;
    padding: 15px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    top: 0;
    left: 0;

    transition: transform 0.15s;
}

#navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.15s;
}

#hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: auto;
}

#hamburger div {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

#navbar::before {
    content: '';

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100vw;
    height: 5px;

    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--accent-color));
}

#navbar_logo {
    padding-top: 0;
    padding-right: 75px;
    height: 60px;
    margin-right: auto;
    cursor: pointer;
}

.navbar_link {
    margin-left: 30px;
    margin-right: 30px;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.navbar_link:hover {
    color: var(--accent-color);
    filter: brightness(1.5) drop-shadow(0 0 2px currentColor);
    cursor: pointer;
    transition: 0.2s;
}

.navbar_link.active {
    color: var(--accent-color);
    filter: brightness(1.5) drop-shadow(0 0 2px currentColor);
    cursor: pointer;
}

#navbar_contact {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;

    width: 200px;
    height: 50px;
    
    margin-left: auto;
    margin-right: 30px;

    border: none;
    border-radius: 5px;

    background-color: var(--accent-color);

    font-family: 'Geist Mono', 'IBM Plex Mono', sans-serif;
    font-size: 20px;
    color: white;
    line-height: 1.0;
}

/* HEADER */

#header {
    margin: 0;
    padding: 0;

    width: 100vw;
    height: 90vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: black;

    border-bottom: 2px solid var(--accent-color);

    z-index: 3;

    position: relative;
}

#header::before {
    content: '';

    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 90vh;

    background: black;
    transform-origin: top left;
    clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%); /* Fine-tune the slant */
    animation: clipPathAnim 0.6s ease-out;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 5;
}

@keyframes clipPathAnim {
    from {
        clip-path: polygon(0 0, 110% 0, 100% 100%, 0 100%); /* Fine-tune the slant */
    }
    to {
        clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%); /* Fine-tune the slant */
    }
}

#header_text {
    text-align: left;
    margin-left: 5vw;

    margin-bottom: 5vh;

    z-index: 6;
}

#header_title {
    font-size: 120px;
    font-weight: 400;
    color: var(--accent-color);

    margin-bottom: 0;
}

#header_subtitle {
    font-size: 30px;
    width: 40vw;
    
    margin-top: 20px;
}

#header_img {
    width: 50vw;
    height: 90vh;

    position: absolute;
    top: 0;
    right: 0;

    z-index: 4;
    
    object-fit: cover;

    animation: fadeIn 0.4s linear;
}

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}

/* FOOTER */

#footer {
    width: 100vw;
    height: 200px;

    background-color: #1b1b1b;
    margin: 100px 0 0;
    padding-top: 10px;

    display: flex;
    align-items: center;

    position: relative;
}

#footer_left {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-right: 30px;
    gap: 20px;
}

#footer_left_content {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#footer_img {
    margin: 10px 20px 10px 20px;
    height: 160px;
}

#footer_text {
    height: 160px;
    text-align: left;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#footer_name {
    font-size: 40px;
    color: var(--accent-color);
    filter: brightness(1.5) drop-shadow(0 0 2px currentColor);
    margin: 0;
    line-height: 45px;
}

#footer_slogan {
    margin-top: 20px;
    font-size: 16px;
    margin-bottom: 0;
}

#footer_copyright {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    text-align: center;

    margin-top: auto;
    margin-left: 20px;

    color: gray;
}

#footer_buttons {
    margin-left: auto;
    margin-right: 40px;
    height: 160px;

    right: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 15px;
}

#footer_buttons button {
    width: 260px;
    height: 60px;

    border: none;
    border-radius: 10px;

    background-color: var(--accent-color);

    font-family: 'Manrope', 'IBM Plex Mono', sans-serif;
    font-size: 26px;
    color: white;
}

@media (max-width: 1150px) {
    #footer {
        height: 240px;
        padding-bottom: 20px;
    }

    #footer_left {
        flex-direction: column;
    }
}

@media (max-width: 852px) {
    #navbar_logo {
        display: none;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-bottom: 20px;
        overflow: hidden;
    }

    #hamburger {
        display: flex;
    }

    #navbar_contact {
        margin: 10px 0 0;
    }

    .navbar_link, #navbar_contact {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
}

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

    100% {
        opacity: 1;
    }
}

@media (max-width: 711px) {
    #footer {
        flex-direction: column;
        height: 540px;
        gap: 0;
    }

    #footer_copyright {
        text-align: center;
        margin: 0 0 10px 0;
        width: 100vw;
    }

    #footer_left {
        order: 2;
        height: 180px;
    }

    #footer_buttons {
        margin-bottom: 75px;
    }

    #footer_left_content {
        margin: 0 auto 90px auto;
    }

    #footer_buttons {
        margin: 10px auto;
        order: 1;
    }
}