/* ---------------------------------------------------------------------------------------------------- */
/*                                               Import                                                 */
/* ---------------------------------------------------------------------------------------------------- */

@font-face {
    font-family: 'Aristotelica';
    src: url('./src/fonts/Aristotelica.otf') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aquatico';
    src: url('./src/fonts/Aquatico.otf') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --width: 960px;

    --margin: 50px;

    --bg-color: #FFFCE7;
    --txt-color-beige: #B18F62;

    --font-size: 28px;
}

/* ---------------------------------------------------------------------------------------------------- */
/*                                                Body                                                  */
/* ---------------------------------------------------------------------------------------------------- */

body {
    margin: 0;
    padding: 0;

    background-color: var(--bg-color);

    font-family: "Aristotelica";

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.container {
    width: var(--width);

    margin-top: 20px;
    margin-bottom: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

h1,
h2,
h3,
h4,
p,
a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

a {
    cursor: pointer;
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                               Patches                                                */
/* ---------------------------------------------------------------------------------------------------- */

.patch {
    position: absolute;
}

.patch img {
    width: 100%;
}

.patch-S {
    width: 60px;
}

.patch-M {
    width: 80px;
}

.patch-L {
    width: 100px;
}

#patch-1 {
    top: 5vh;
    right: 5vw;

    transform: rotate(30deg);
}

#patch-2 {
    top: 20vh;
    left: 10vw;
}

#patch-3 {
    top: 700px;
    right: 5vw;

    transform: rotate(120deg)
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                                Logo                                                  */
/* ---------------------------------------------------------------------------------------------------- */

.logo {
    width: 450px;

    margin-top: var(--margin);
}

.logo img {
    width: 100%;
}

/* ---------------------------------------------------------------------------------------------------- */
/*                                               Navbar                                                 */
/* ---------------------------------------------------------------------------------------------------- */

.navbar {
    width: 100%;
    height: 100px;

    margin-top: var(--margin);

    border-bottom: 1px solid black;

    font-family: "Aristotelica";
    font-size: 28px;
    font-weight: 600;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.navbar a {
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;

    gap: 5px;

    cursor: pointer;
}

.navbar a img {
    width: 25px;
    transform: translateY(-2px);

    position: absolute;
    left: -30px;

    display: none;
}

.navbar a:hover img,
.navbar-active img {
    display: flex !important;
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                               Pages                                                  */
/* ---------------------------------------------------------------------------------------------------- */

#page_1 {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#page_2 {
    width: 100%;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#page_3 {
    width: 100%;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#page_4 {
    width: 100%;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                                Items                                                 */
/* ---------------------------------------------------------------------------------------------------- */

.title {
    margin-top: var(--margin);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-transform: uppercase;
}

.title span {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 11px;
}

h1 {
    font-family: "Aquatico";
    text-align: center;

    font-size: 30px;
    font-weight: 300;
}

.subtitle {
    width: 100%;

    margin-top: var(--margin);

    display: flex;
    flex-direction: row;
    gap: 10px;
}

.subtitle a:hover {
    text-decoration: underline;
}

h2 {
    font-family: "Aristotelica";
    text-align: left;

    font-size: var(--font-size);
    font-weight: 600;
}

h3 {
    font-family: "Aristotelica";
    text-align: left;

    font-size: var(--font-size);
    font-weight: 400;
}

.list {
    width: 100%;

    margin-top: var(--margin);

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.list-inline {
    margin-top: 0;
    padding-left: 20px;
}

li {
    margin-right: 20px;
}

.stats {
    width: 100%;
    margin-top: var(--margin);

    list-style: none;

    display: flex;
    flex-direction: column;
}

.stats-item {
    width: 100%;
    height: 40px;

    display: flex;
    justify-content: left;
    align-items: center;
}

.stats-item-value {
    font-family: "Aquatico";
    font-size: calc(var(--font-size) - 4px);
}

.stats-item-unit {
    margin-left: 2px;
    margin-right: 10px;

    font-family: "Aquatico";
    font-size: calc(var(--font-size) - 12px);

    transform: translateY(4px);
}

.stats-item-name {
    font-size: var(--font-size);

    transform: translateY(3px);
}

.text {
    width: 100%;
    margin-top: var(--margin);

    display: flex;
    flex-direction: column;
    gap: 20px;

    font-size: var(--font-size);
    font-weight: 500;
}

/* ---------------------------------------------------------------------------------------------------- */
/*                                              Gallerie                                                */
/* ---------------------------------------------------------------------------------------------------- */

.videos {
    width: var(--width);
    
    margin-top: var(--margin);
    margin-bottom: var(--margin);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.videos video {
    width: calc((100% - 40px) / 3);
}

.gallery-container {
    margin-top: var(--margin);
}

.gallery-container h1 {
    margin-bottom: var(--margin);
}

.gallery {
    width: var(--width);

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.gallery img, .gallery video{
    width: 100%;

    border-radius: 5px;

    transition: all 0.2s ease;
    cursor: pointer;
}

.gallery img:hover, .gallery video:hover {
    transform: scale(1.03);
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                              Contact                                                 */
/* ---------------------------------------------------------------------------------------------------- */

.contact-container {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: left;
}

.contact-item {
    width: 100%;

    margin-top: var(--margin);

    display: flex;
    flex-direction: column;
}

.contact-item-txt {
    margin-top: 20px;

    font-size: 22px;
    font-weight: 600;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.contact-item h2 {
    text-decoration: underline;

    font-weight: 700;

    cursor: default;
}

.contact-container h1 {
    margin-top: var(--margin);
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                                imgs                                                  */
/* ---------------------------------------------------------------------------------------------------- */

.home-img {
    width: 844px;
    margin-top: var(--margin);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 100%;
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                                footer                                                */
/* ---------------------------------------------------------------------------------------------------- */

footer {
    width: 100%;
    height: 200px;

    margin-top: var(--margin);

    background-color: #ffcd8b;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    width: var(--width);

    height: 150px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.footer-item a:hover {
    text-decoration: underline;
}

h4 {
    font-size: 22px;
}

.footer-item p,
.footer-item a {
    font-size: 20px;
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                             imprint                                                  */
/* ---------------------------------------------------------------------------------------------------- */

.imprint {
    width: var(--width);
    margin-top: var(--margin);

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.imprint * {
    text-align: left;
    list-style: none;
}

.imprint h3 {
    font-size: 20px;
    font-weight: 600;
}

.imprint-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                                 txt                                                  */
/* ---------------------------------------------------------------------------------------------------- */

.txt-beige {
    color: var(--txt-color-beige);
}


/* ---------------------------------------------------------------------------------------------------- */
/*                                                Media                                                 */
/* ---------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 1280px) {
    .patch-content {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    :root {
        --width: 90vw;
        --font-size: 24px;
    }

    .patch {
        display: none;
    }

    .patch-imgs {
        display: flex;
    }

    .logo {
        width: 400px;
    }

    h1 {
        font-size: 26px;
    }

    .contact-item-txt {
        font-size: var(--font-size);
    }

    .home-img {
        width: 100%;
    }

    .imprint-head {
        font-size: 28px;
    }

    .stats-item-unit {
        font-size: calc(var(--font-size) - 8px);
        transform: translateY(2px);
    }

    .stats-item-name {
        transform: translateY(1px);
    }
}

@media screen and (max-width: 770px) {
    .logo {
        width: 350px;
    }

    .footer-item-secondary {
        display: none;
    }

    .footer-container {
        justify-content: center;
    }

    .videos {
        flex-direction: column;
    }

    .videos video {
        width: 100%;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img:hover, .gallery video:hover {
        transform: none;
    }

    .contact-container {
        align-items: center;
        justify-content: left;
    }

    .contact-item {
        width: var(--width);
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-item-txt {
        margin-top: 0;
        text-align: right;
    }
}

@media screen and (max-width: 670px) {
    :root {
        --font-size: 20px;
    }

    .logo {
        width: 300px;
    }

    h1 {
        font-size: 22px;
    }

    .navbar {
        font-size: 21px;
    }

    .navbar a img {
        width: 22px;
        transform: translateX(3px) translateY(-3px);
    }

    .imprint-head {
        font-size: 24px;
    }
}

@media screen and (max-width: 605px) {
    :root {
        --margin: 40px;
    }

    .logo {
        width: 250px;
    }

    .navbar {
        font-size: 20px;
    }

    .navbar a:hover img,
    .navbar-active img {
        display: none !important;
    }

    .navbar-active {
        border-bottom: 1px solid black;
        padding-bottom: 4px;
    }

    .imprint-head {
        font-size: 24px;
    }
}

@media screen and (max-width: 500px) {
    :root {
        --margin: 30px;
        --font-size: 18px
    }

    h1 {
        font-size: 20px;
    }

    .navbar {
        font-size: 18px;
    }

    .imprint-head {
        font-size: 24px;
    }
}

@media screen and (max-width: 380px) {
    :root {
        --font-size: 16px;
    }

    h1 {
        font-size: 18px;
    }

    .imprint-head {
        font-size: 28px;
    }

    .stats-item-unit {
        transform: translateY(1px);
    }
}