html, body {
    margin: 0;
    padding: 0;
    color: #191b39;
    overflow-x: hidden;
    font-family: Outfit, sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #45499e;
    border: 1px solid #191b39;
}

::-webkit-scrollbar-track {
    background: #191b39;
}


button {
    cursor: pointer;
}

h3 {
    font-size: 50px;
    text-transform: uppercase;
    margin: 0 0 0.5em 0;
}

h4 {
    font-size: 30px;
    text-transform: uppercase;
    margin: 0 0 0.5em 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    h3 {
        font-size: 40px;
    }

    h4 {
        font-size: 25px;
    }
}

@media (max-width: 500px) {
    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 20px;
    }
}

p {
    font-size: 25px;
    font-weight: normal;
    margin: 0;
}

@media (max-width: 768px) {
    p {
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    p {
        font-size: 17px;
    }
}

hr {
    border: 0;
    height: 1px;
    width: 10px;
    background: #191b39;
    margin: 1em 0;
}

a {
    text-decoration: none;
    color: #191b39;
    transition: all 0.2s;
}

a:hover {
    color: #45499e;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    min-height: 100vh;
}

.container {
    margin: 0 10%;
}

.wrapper {
    display: flex;
    overflow: hidden;
}

/* only req is that wrap1 width > 100vw */
.wrapper > div {
    font-size: 1.6rem;
    text-wrap: nowrap;
    text-transform: uppercase;
}

@media (max-width: 500px) {
    .wrapper > div {
        font-size: 1.2rem;
    }
}


.glassy {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /*backdrop-filter: blur(8.8px);*/
    /*-webkit-backdrop-filter: blur(8.8px);*/
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glassy.rounded {
    border-radius: 50px;
}

button.glassy {
    padding: 1em 1.5em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

@media (max-width: 500px) {
    button.glassy {
        padding: 0.75em 1em;
    }
}

button.glassy:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.pseudo-dot, .dot {
    width: 5px;
    height: 5px;
    position: relative;
    border-radius: 50%;
    background: #191b39;
    margin-left: 1em;
    z-index: 1;
    display: inline-block;
}

.dot {
    width: 10px;
    height: 10px;
    top: 100px;
    right: 12%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    width: calc(100vw - 20%);
    height: 200px;
    padding-bottom: calc(100vh - 200px);
}

/*LOGO*/
header img {
    position: fixed;
    width: 600px;
    left: 50%;
    transform: translateX(-50%);

    top: calc(50vh - 300px);
    z-index: 2;
    transform-origin: top;
}

@media (max-width: 768px) {
    header {
        height: 150px;
    }

    header img {
        width: 300px;
        top: calc(50vh - 150px);
    }
}

@media (max-width: 500px) {
    header {
        height: 100px;
        padding-bottom: calc(100vh - 100px);
    }

    header img {
        width: 200px;
        top: calc(50vh - 100px);
    }
}

header .overlay {
    position: absolute;
    width: 100vw;
    height: 170vh;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 2;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 100%);
}


/*======================*/

.horizontal-scroller {
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.panels {
    display: flex;
    align-items: center;
    height: 100vh;
    padding-right: 100px;
}

.panel {
    width: 500px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-weight: 600;
    font-size: 1.5em;
    position: relative;
    box-sizing: border-box;
    padding: 3rem;
    margin: 2rem;
    margin-bottom: -1rem;

    max-width: 80vw;
    max-height: 80vw;
}

.panel:nth-child(2n) {
    margin-bottom: 5em
}

@media (max-width: 500px) {
    .panels {
        flex-direction: column;
        height: unset;
        margin-bottom: 3em;
        padding-right: 0;
        width: 100%;
    }

    .panel {
        margin-bottom: 0;
    }

    .panel:nth-child(2n) {
        margin-bottom: 0;
    }
}

.panel img {
    width: 200px;
}

@media (max-width: 768px) {
    .panel {
        /*width: 450px;*/
        /*height: 450px;*/
        /*padding: 2.5rem;*/
    }

    .panel img {
        width: 50%;
    }

}

@media (max-width: 500px) {
    .panel {
        padding: 2rem;
    }

    h4 {
        font-size: 1.3rem;
        margin-bottom: 0.25em;
    }
}

.intro-desktop {
    height: 56.25vw;
    overflow: visible;
}

.intro-mobile {
    display: none;
    position: relative;
    overflow: visible;
}

@media (max-width: 500px) {
    .intro-desktop {
        display: none;
    }

    .intro-mobile {
        display: block;
    }
}

#who-we-are {
    min-height: 100vh;
    margin-top: 1em;
    display: flex;
    align-content: space-between;
    flex-wrap: wrap;
}

#who-we-are > .container {
    display: flex;
    gap: 5%;
    padding: 50px 0;
    align-items: center;
    height: calc(100% - 180px);
}

#contact > div {
    display: flex;
}

/* on less than tablet, change to 1 col */
@media (max-width: 768px) {
    #who-we-are > .container {
        flex-direction: column;
        gap: 2em;
    }

    #contact > div {
        gap: 2em;
        flex-direction: column;
    }
}


.social-board {
    margin: 0;
    background-size: cover;
    color: black;
    overflow: hidden;
    user-select: none;
    position: relative;
    height: 100vh;
    background: #45499e;
}

.window {
    position: absolute;
    background: rgba(255, 255, 255, 0.6); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px); /* Glass blur effect */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 300px;
    overflow: hidden;
}

.window1 {
    top: 100px;
    left: 10%;
}

.window2 {
    top: 50px;
    left: 30%;
}

.window3 {
    top: 100px;
    left: 50%;
}

.window4 {
    top: 50px;
    left: 70%;
}

.window5 {
    top: 350px;
    left: 80%;
}

@media (max-width: 768px) {
    .window {
        width: 40vw;
        max-width: 220px;
    }

    .window1 {
        top: 5%;
        left: 8%;
    }

    .window2 {
        top: 5%;
        left: 52%;
    }

    .window3 {
        top: 45%;
        left: 55%;
    }

    .window4 {
        top: 55%;
        left: 8%;
    }

    .window5 {
        top: 35%;
        left: 34%;
    }
}


.title-bar {
    cursor: move;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-btn {
    background: #ed1c79;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    border: none;
    cursor: pointer;
}

.content {
    padding: 10px;
}

.content img, .content video {
    width: 100%;
    border-radius: 8px;
}

.content p {
    margin: 10px 0;
    font-size: 14px;
}


.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contact-section form input, .contact-section form textarea {
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 2rem;
}

.contact-section form button {
    padding: 1.5em;
    border: none;
    border-radius: 2rem;
    background: #45499e;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-section form button:hover {
    background: #191b39;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
}

.contact-section div {
    flex: 1;
}

.contact-section div:first-child {
    margin-right: 2em;
}

@media (max-width: 768px) {
    .contact-section div:first-child {
        margin-right: 0;
    }
}

footer {
    background: #45499e;
    color: white;
    padding: 5em 0;
}

footer .icons {
    display: flex;
    gap: 2rem;
}

footer .icons a {
    display: inline;
    color: white;
    font-size: 2em;
    flex: 1;
}

footer .icons img {
    width: 50px;
}

footer .container {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        gap: 1em;
        justify-content: start;
    }

    footer .icons a {
        flex: unset;
    }
}

.hidden-menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-links {
    width: 100%;
    display: flex;
    gap: 5%;
    align-items: end;
    justify-content: center;
}

@media (max-width: 768px) {
    .menu-links {
        flex-direction: column;
        width: auto;
        align-items: start;
        gap: 1em;
    }
}

.menu-links > div {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.hidden-menu .nav a {
    color: white;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: normal;
}

.hidden-menu .nav a:hover {
    color: #d1d1d1;
}

.hidden-menu button {
    position: absolute;
    top: 3rem;
    right: 3rem;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
}

.hidden-menu button:hover {
    color: #d1d1d1;
}

.hidden-menu .socials {
    display: flex;
    gap: 1em;
}

.hidden-menu .socials a {
    color: white;
    font-size: 2em;
}

.hidden-menu .icons {
    display: flex;
    gap: 1em;
}

#peanut {
    width: 12.199vw;
    position: fixed;
    left: 52.694%;
    top: 98%;
    opacity: 0.5;

    transform-origin: top; /* Stretches from the top down */
    transform: scaleY(1); /* Default scaling */
    transition: transform 0.2s ease-out; /* Smooth scaling */
}


.desktop-line {
    display: inline;
}

.mobile-line {
    display: none;
}

@media (max-width: 768px) {
    .desktop-line {
        display: none;
    }

    .mobile-line {
        display: inline;
    }
}
