.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.nata-sans {
    font-family: "Nata Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

:root {
    --background-color: #292929;
    --body-margin: 2;
    --island-height: 7dvh;
    --accent-color: turquoise;
    --standard-radius: 3dvh;
    --standard-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --ui-font-family: "Bebas Neue", sans-serif;
    --ui-font-size: 3.5dvh;
    --banner-height: 10dvh;
    --full-transparency: 0;
    --cover-transparency: 0.3;
}

/*MOBILE*/
@media only screen and (max-aspect-ratio: 1 / 1) {

    :root {
        --standard-border-width: 2px;
        --island-width: 30dvw;
        --island_animation-modifier: 12px
    }

    section {
        position: relative;
        display: flex;
        flex-direction: column;
        padding-left: 5%;
        padding-right: 5%;
        width: 100%;
        height: calc((100dvh - var(--body-margin) * 1dvh * 3 - var(--banner-height) - var(--island-height) / 2) - 2dvh);
    }

    section:not(:last-of-type) {
        margin-bottom: calc(var(--island-height) / 2 + var(--body-margin) * 1dvh);
    }

    section:last-of-type {
        margin-bottom: calc(var(--body-margin) * 2dvh);
    }

    section a:first-of-type {
        margin-top: 8dvh;
    }

    section a:not(:first-of-type) {
        margin-top: 1dvh;
    }

    section a {
        width: 100%;
        display: block;
        position: relative;
        height: calc(((100dvh - var(--body-margin) * 1dvh * 3 - var(--banner-height) - var(--island-height) / 2) - 8dvh - 2dvh) / 3);
        border-radius: var(--standard-radius);
        background-color: black;
    }

    section a div {
        position: absolute;
        top: 50%;
        left: 90%;
        transform: translate(-90%, -50%);
        height: 10dvh;
        width: 30dvw;
        background-color: rgba(0, 0, 0, 0.61);
    }

    section a > img {
        width: inherit;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #island {
        width: var(--island-width);
    }

}

/*DESKTOP*/
@media only screen and (min-aspect-ratio: 1001 / 1000) {

    :root {
        --standard-border-width: 1px;
        --island-width: 20dvw;
        --island_animation-modifier: 0.5dvw;
    }

    section {
        position: relative;
        display: flex;
        justify-content: center;
        width: 100%;
        height: calc((100dvh - var(--body-margin) * 1dvh * 3 - var(--banner-height) - var(--island-height) / 2) - 2dvh);
    }

    section:not(:last-of-type) {
        margin-bottom: calc(var(--island-height) / 2 + var(--body-margin) * 1dvh);
    }

    section:last-of-type {
        margin-bottom: calc(var(--body-margin) * 2dvh);
    }

    section a {
        width: 40dvw;
        display: block;
        position: relative;
        margin-right: -8%;
        margin-left: -8%;
        border-radius: var(--standard-radius);
        background-color: black;
    }

    section a div {
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 15dvh;
        width: 30dvw;
        background-color: rgba(0, 0, 0, 0.61);
    }

    section a > img {
        width: inherit;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    section a:first-of-type {
        order: 0;
    }

    section a:nth-of-type(2) {
        order: 2;
    }

    section a:last-of-type {
        order: 1;
    }

    section a:last-of-type {
        z-index: 2;
        height: calc(100% - 5dvh);
        margin-top: 5dvh;
    }

    section a:first-of-type,
    section a:nth-of-type(2) {
        z-index: 1;
        height: calc(100% - 12dvh);
        margin-top: 8.5dvh;
    }

    section a::after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: black;
        transition-duration: 200ms;
        transition-property: opacity, z-index;
        transition: opacity 0.3s ease;
        pointer-events: none;
        border-radius: var(--standard-radius);
        will-change: opacity, z-index;
    }

    section a:last-of-type::after {
        opacity: 0;
    }

    section a:first-of-type::after,
    section a:nth-of-type(2)::after {
        opacity: 0.3;
    }

    section a:first-of-type:hover::after,
    section a:nth-of-type(2):hover::after {
        opacity: 0;
    }

    section a:first-of-type:hover,
    section a:nth-of-type(2):hover {
        z-index: 3;
    }

    section a:first-of-type:hover ~ a:last-of-type::after,
    section a:nth-of-type(2):hover ~ a:last-of-type::after {
        opacity: var(--cover-transparency);
    }

    #island {
        width: var(--island-width);
    }

}


/*GENERAL ELEMENTS STYLE*/


html {
    width: 100dvw;
    height: 100%;
    background-color: var(--background-color);
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    width: calc(100% - var(--body-margin) * 2 * 1dvw);
    height: calc(100% - var(--body-margin) * 2 * 1dvh);
    margin: calc(var(--body-margin) * 1dvh) calc(var(--body-margin) * 1dvw);
}


/*GENERAL ELEMENTS STYLE END*/
/*UNIVERSAL CLASSES*/


.standardBorder {
    border-style: solid;
    border-width: var(--standard-border-width);
    border-radius: var(--standard-radius);
    border-color: black;
}

.uiFont {
    font-family: var(--ui-font-family);
    font-size: var(--ui-font-size);
    color: var(--accent-color);
}

.centerText {
    display: flex;
    align-items: center;
    justify-content: center;
}

.standardBackBlur {
    backdrop-filter: blur(clamp(10px, 1dvh, 20px));
    -webkit-backdrop-filter: blur(clamp(10px, 1dvh, 20px));
    box-shadow: var(--standard-box-shadow);
}

.noSelect {
    -webkit-user-select: none;
    user-select: none;
}


/*UNIVERSAL CLASSES END*/
/*LOGO BANNER STYLE*/


body > header {
    background-color: black;
    border-style: solid;
    border-color: var(--accent-color);
    border-radius: var(--standard-radius);
    border-width: var(--standard-border-width);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--banner-height);
    margin-bottom: calc(var(--body-margin) * 2dvh);
}

body > header > svg {
    height: 8dvh;
    margin-left: 1px;
    margin-right: 1px;
}

body > header span:first-of-type {
    margin-left: auto;
}

body > header span:nth-of-type(2) {
    margin-right: auto;
}

body > header span span {
    font-size: 1.7dvh;
    margin-top: 1.2dvh;
}


/*LOGO BANNER STYLE END*/
/*SECTION STYLE*/


/*SECTION STYLE END*/
/*BANNER STYLE*/


section header {
    z-index: 10;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--banner-height);
}


/*BANNER STYLE END*/
/*ISLAND STYLE*/


#island {
    position: fixed;
    z-index: 11;
    bottom: calc(var(--body-margin) * 1dvh);
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    height: var(--island-height);
    display: flex;
    align-content: center;
    border-radius: 5dvh;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: width 0.5s cubic-bezier(0.05, 0.5, 0.05, 1.1),
    height 0.5s cubic-bezier(0.05, 0.5, 0.05, 1.1),
    background-color 0.3s ease,
    border-radius 0.5s ease,
    transform 0.2s ease;
    overflow: hidden;
    will-change: width, height, border-radius, background-color;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    background: transparent linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(clamp(3px, 0.5dvh, 10px));
    -webkit-backdrop-filter: blur(clamp(3px, 0.5dvh, 10px));
}

#island::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.3;
    pointer-events: none;
}

#island svg {
    /*margin: 10%;*/
    height: 4.2dvh;
}

#island #buttonSearch,
#island #buttonMenu {
    display: block;
    width: 50%;
    height: 100%;
    background-color: transparent;
    border-style: none;
    margin: 0;
    transition: opacity 200ms;
    will-change: opacity;
}

#island #buttonSearch {
    padding-right: 25%;
}

#island #buttonMenu {
    padding-left: 21%;
}

#island #buttonClose {
    display: none;
    position: absolute;
    background: transparent;
    border-style: none;
    opacity: 0;
    transition: opacity 200ms;
    will-change: opacity;
    color: #ff3939;
    text-transform: uppercase;
    padding: 0;
}

#island.noIcon #buttonSearch,
#island.noIcon #buttonMenu {
    opacity: 0;
}

#island.showControls #buttonSearch,
#island.showControls #buttonMenu {
    display: none;
}

#island.showControls #buttonClose {
    opacity: 1;
}

#island nav {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

/*#island.full {*/
/*    animation: islandRedirect 700ms forwards;*/
/*}*/

/*#island.full * {*/
/*    opacity: 0;*/
/*}*/


/*ISLAND STYLE END*/
/*ISLAND ANIMATION*/


/*@keyframes islandRedirect {*/
/*    0% {*/
/*        width: var(--island-width);*/
/*        height: var(--island-height);*/
/*    }*/
/*    5% {*/
/*        width: var(--island-width);*/
/*        height: var(--island-height);*/
/*    }*/
/*    60% {*/
/*        width: var(--island-width);*/
/*        height: var(--island-height);*/
/*        transform: translate(-10dvw, -50dvh);*/
/*        background-color: black;*/
/*    }*/
/*    100% {*/
/*        width: 100%;*/
/*        height: 120%;*/
/*        border-radius: 0;*/
/*        transform: translateY(2.5dvh) translateX(-50dvw);*/
/*        background-color: black;*/
/*    }*/
/*}*/


@keyframes islandFullMenu {
    0% {
        width: var(--island-width);
        height: var(--island-height);
    }
    5% {
        width: var(--island-width);
        height: var(--island-height);
    }
    60% {
        width: calc(var(--island-width) * 2.5 + var(--island_animation-modifier));
        height: calc(var(--island-height) * 12 + var(--island_animation-modifier));
    }
    100% {
        width: calc(var(--island-width) * 2.5);
        height: calc(var(--island-height) * 12);
    }
}

@keyframes islandMinimisedFromMenu {
    0% {
        width: calc(var(--island-width) * 2.5);
        height: calc(var(--island-height) * 12)
    }
    60% {
        width: calc(var(--island-width) - var(--island_animation-modifier));
        height: calc(var(--island-height) - var(--island_animation-modifier))
    }
    95% {
        width: var(--island-width);
        height: var(--island-height)
    }
    100% {
        width: var(--island-width);
        height: var(--island-height)
    }
}

@keyframes islandSearch {
    0% {
        width: var(--island-width)
    }
    5% {
        width: var(--island-width)
    }
    60% {
        width: 80.5dvw
    }
    100% {
        width: 80dvw
    }
}

@keyframes islandMinimisedFromSearch {
    0% {
        width: 80dvw
    }
    60% {
        width: calc(var(--island-width) - var(--island_animation-modifier) * 3)
    }
    95% {
        width: var(--island-width)
    }
    100% {
        width: var(--island-width)
    }
}


/*ISLAND ANIMATION END*/
/*ISLAND SEARCH STYLE*/


#island label,
#island form {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    opacity: 0;
    transition: opacity 200ms;
    will-change: opacity;
}

#island.search {
    animation: islandSearch 700ms forwards;
}

#island.search #buttonClose {
    display: block;
    height: 100%;
    right: 2dvh;
}

#island.showControls.search form {
    display: block;
    left: 1dvh;
    height: auto;
    width: 80%;
    opacity: 1;
}

#searchBarInput {
    height: calc(var(--island-height) - 2dvh);
    width: 100%;
    background: rgba(122, 122, 122, 0.55);
    border-style: none;
    border-radius: 5dvh;
    margin-top: 1dvh;
    appearance: none;
}

#searchBarInput:focus {
    outline: none;
    border-style: solid;
    border-color: var(--accent-color);
}

#searchBarInput::placeholder {
    font-family: "Bebas Neue", sans-serif;
    color: var(--accent-color);
}

#island.minimisedFromSearch {
    animation: islandMinimisedFromSearch 700ms forwards;
}


/*ISLAND SEARCH STYLE END*/
/*ISLAND MENU STYLE*/


#island.fullMenu #buttonClose > svg {
    margin: 10%;
}

#island.fullMenu {
    animation: islandFullMenu 700ms forwards;
}

#island.fullMenu #buttonClose {
    display: block;
    top: 2dvh;
    right: 3dvh;
}

#island.minimisedFromMenu {
    animation: islandMinimisedFromMenu 700ms forwards;
}

#island.fullMenu nav {
    position: static !important;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 1dvh !important;
    gap: 1dvh;
    opacity: 1;
}

nav details {
    text-transform: uppercase;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    opacity: 0;
    transition-duration: 200ms;
    transition-property: opacity;
    background-color: rgba(41, 41, 41, 0.67);
    cursor: pointer;
    will-change: opacity;
}

details summary {
    width: 100%;
    height: inherit;
    padding: 2.2dvh;
}

details ul {
    list-style-type: none;
    text-transform: none;
}

details[open] {
    overflow: scroll;
    animation: navRevealing 500ms forwards;
}

details:not([open]) {
    animation: navHiding 100ms forwards;
}

details[open] ~ details {
    height: 0 !important;
    opacity: 0 !important;
}

details[open] ~ button {
    height: 0 !important;
    opacity: 0 !important;
}

#island.fullMenu details {
    position: static !important;
    /*overflow: scroll !important;*/
    width: 80% !important;
    height: 10dvh;
    transition-property: height;
    transition-duration: 200ms;
    will-change: height;
}

#island.fullMenu.showControls details {
    opacity: 1;
}

#island nav > button {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    background-color: transparent;
    opacity: 0;
    transition-duration: 200ms;
    transition-property: opacity;
    cursor: pointer;
    will-change: opacity;
}

#island.fullMenu nav > button {
    position: static !important;
    width: 80% !important;
    height: 10dvh;
}

#island.fullMenu.showControls nav > button {
    opacity: 1;
}


/*ISLAND MENU STYLE END*/
/*NAV ANIMATIONS*/


@keyframes navRevealing {
    0% {
        height: 10dvh
    }
    50% {
        height: 10dvh
    }
    100% {
        height: 100%
    }
}

@keyframes navHiding {
    0% {
        height: 40dvh
    }
    100% {
        height: 10dvh
    }
}


/*NAV ANIMATIONS END*/
/*FOOTER STYLE*/


/*body > div:nth-of-type(2) {*/
/*    height: calc(var(--banner-height) + var(--island-height) / 2 + var(--body-margin) * 1dvh);*/
/*}*/

body > footer {
    text-align: center;
    height: calc((var(--banner-height) + var(--island-height) / 2 + var(--body-margin) * 1dvh) + 1.5dvh);
    font-size: 3dvw !important;
}


/*FOOTER STYLE END*/
/*ARTICLE STYLE*/


section > img {
    position: absolute;
    width: 90dvw;
    object-fit: cover;
    object-position: center;
    height: 20dvh;
    margin-top: 8dvh;
}

section:has(article) {
    height: min-content !important;
}

section article {
    height: calc(100% - 5dvh);
    margin-top: 37dvh;
    margin-bottom: 8dvh;
    width: 90dvw;
    padding: 5dvh 3dvw;
    font-family: "Nata Sans", serif;
    background-color: #b1e8e2;
}

article header {
    margin-top: -13dvh;
    display: flex;
    justify-content: space-around;
}

article > img {
    display: block;
    height: 20dvh;
    width: calc(100% - 6dvw);
    margin: 3dvw;
    border-radius: var(--standard-radius);
    border-style: solid;
    border-width: var(--standard-border-width);
    border-color: black;
    object-fit: cover;
    object-position: center;
}

article > footer {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 3dvh;
    height: var(--banner-height);
    margin-bottom: -30dvh;
    display: flex;
    justify-content: space-around;
}


/*ARTICLE STYLE END*/