* {
    margin: 0;
    padding: 0;
}

:root {
    --callout-shadow-y: 4px;
    --main-color: #088;
    --site-content-fake-padding: min(20px, 3vw);
}

/* #region ANIMATIONS */
@keyframes startanim {
    0% {
        top: 50px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

@keyframes banner-text-startanim {
    0% {
        left: 50vw;
    }

    100% {
        left: 37vw
    }
}

@keyframes banner-logo-startanim {
    0% {
        left: -6vw;
    }

    100% {
        left: 7vw
    }

    /* -6 7 */
}

/* #endregion */

/* #region BASIC */

::selection {
    background-color: var(--main-color);
    color: white;
}

html {
    height: 100%;
    /* for parallax effect */
    background-color: black;
    overflow-y: scroll;
    overflow-x: hidden;

    position: relative;

    font-size: min(14pt, max(12pt, 3.5vw));
    /* clamp between 12pt and 14pt */
}

body {
    height: 100%;
    /* for parallax effect */
    width: 100%;
    /* make body accept that a scrollbar exists */
    background-color: black;

    font-family: "Comfortaa";

    position: absolute;

    animation: startanim 1.5s ease-out both;
}

div.site-content {
    background-color: white;

    border-radius: 30px;
    overflow: hidden;
    padding-bottom: 15px;
    margin: 8px;

    max-width: calc(100vw - 16px);
    /* (full screen width) - (margin) */
}

/* #endregion */

/* #region BANNER */

.top-image {
    width: calc(100vw - 16px);
    aspect-ratio: 27 / 10;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;

    background-image: url("bannerNothing.png");
    background-size: cover;
    background-position: center;
    /* parallax effect */
    background-attachment: fixed;
}

.banner-text-big {
    font: 6vw "Comfortaa";
    color: black;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
}

.banner-text-big::selection,
.banner-text-small::selection {
    background-color: rgb(from var(--main-color) r g b / .5);
    text-shadow: 1px 1px 2px #0008;
}

.banner-text-small {
    font-size: 2.5vw;
    margin: 0;
    padding-right: 0.5vw;
}

.banner-text-container {
    position: absolute;
    left: calc(37vw + 8px);
    top: calc(16.5vw + 8px);
    text-align: right;
    animation: banner-text-startanim 1.5s ease-out;
}

.banner-logo-container {
    background-image: url("uhrturm\ ppl\ vector.svg");
    height: 29vw;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(4vw + 8px);
    left: calc(7vw + 8px);
    width: 20vw;

    animation: banner-logo-startanim 1.5s ease-out;
}

/* #endregion */

/* #region PAGE */
.section {
    margin-top: 40px;
    margin-left: var(--site-content-fake-padding);
    margin-right: var(--site-content-fake-padding);
}

.header {
    font: 1.36rem "Lato";
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--main-color);
}

.header ::selection,
.header::selection {
    text-shadow: 1px 1px 2px #0008;
}

.text {
    font: 1rem "Comfortaa";
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

br {
    margin-bottom: .5em;
}

ul {
    margin: .5em min(2em, 8vw);
    /* for small screens */
}

ul li {
    margin-bottom: .5em;
}

.pros-list {
    margin-top: 5px;
    margin-bottom: 30px;
    /* font-weight: bold; */
}

.ablauf-list {
    /* font-weight: bold; */
    font-size: .93rem;
}

.meet-list {
    left: 0;
    line-height: 1.5;
}

ul.list.meet-list>li {
    margin-bottom: 10px;
}

ul span.time {
    font-size: 1rem;
    font-weight: bold;
}

.meet-info {
    font-size: .75rem;
    font-style: italic;
}

a {
    color: var(--main-color);
}

/* #endregion */

/* #region FOOTER */

.footer {
    font-size: 10pt;
    /* yes, this is the only absolute font-size in this document */
    color: black;
    text-align: center;

    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 60px);
    /* 100% - border-radius on .site-content */

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1em;
}

.footer a {
    font-size: inherit;
}

.spacer-bottom {
    height: 0.1px;
    /* needed for whatever reason, so that there is a space at the bottom of the page 
       (margin on .site-content doesn't work without it)
       also ff is fine with .01px, chrome needs .02px, i'll just make it .1px for safety */
}

.contact-info {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;

    line-height: 2;

    margin-right: 10px;
}

.social-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;

    margin-left: .9em;
}

.social {
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
}

.impressum-link {
    margin-left: auto;

    flex-shrink: 0;
}

img.social-icon {
    display: inline-block;
    vertical-align: text-bottom;
}

.social img {
    margin-right: 4px;
}

/* #endregion */

/* #region BAND IMAGE */

.band-img {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: min(75px, 11vw);
    /* seem to be correct values for resizing? */
}

.band-person {
    font-weight: bold;
    font-size: .93rem;
}

.band-text-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1px;
}

.band-img-container {
    position: relative;
    top: 0;
    left: 0;
    padding-left: min(35px, 5vw);
    max-width: 500px;
    margin-bottom: 50px;
}

/* #endregion */

/* #region VIDEO PLAYER */

.contra-video-container {
    margin: 2em 0;
    position: relative;
    width: fit-content;
}

.contra-video-container h3 {
    margin-bottom: .8em;
    font-size: 1.17rem;
}

.contra-video-container video {
    max-height: min(400px, 135vw);
    height: auto;
    border-radius: 20px;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* #endregion */

/* #region CALLOUT */

.callout-wrapper {
    display: grid;
    grid-template-rows: 1fr;
    transition: .75s ease-in-out;
    transition-property: grid-template-rows, visibility, opacity;
    visibility: visible;
    opacity: 1;
    overflow: hidden;

    width: fit-content;
    height: fit-content;
    border-radius: 20px;
    margin-bottom: 0px;
    margin-left: var(--site-content-fake-padding);
    margin-top: var(--site-content-fake-padding);
    margin-right: var(--site-content-fake-padding);
    box-shadow: 0 var(--callout-shadow-y) 8px #0003;
}

.callout-wrapper-closing {
    grid-template-rows: 0fr;
    visibility: hidden;
    opacity: 0;
}

.callout {
    border-radius: 20px;
    background-color: rgba(11, 165, 71, 0.4);
    border: 1px solid #ccc;
    max-width: 500px;
    height: fit-content;
    overflow: hidden;
    transition: box-shadow 1s;

    position: relative;
}

.callout .close-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;

    position: absolute;
    right: .3em;
    top: .1em;
}

.callout .heading {
    padding: .6em 1em .5em;
    color: white;
    background-color: rgb(21, 112, 8);
    border-bottom-right-radius: 20px;
    display: inline-block;
    text-align: left;
    max-width: calc(100% - 75px);
}

.callout .details {
    padding: 1em;
}

.callout form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.callout .form-group {
    display: flex;
    align-items: center;
    /* Align labels with inputs */
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.callout label {
    display: inline-block;
    /* display: flex; */
    gap: 10px;
    font-weight: bold;
    width: 120px;
    /* Fixed width for labels */
    /* align-items: flex-start;  */
    /* Align text to the top of the input */
    /* width: 120px;  */
    /* Ensures labels have a consistent width */
}

.callout input,
textarea {
    padding: 2px;
    outline: 0px solid #ccc;
    border: none;
    border-radius: 18px;
    padding: 8px;
    padding-left: 12px;
    /*  width: calc(100% - 60px); */
    /* Ensure inputs take the remaining width */
    transition: outline .15s ease-in-out;
    box-sizing: content-box;
    font-family: "Comfortaa";
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
    width: min(calc(100% - 100px), 262px);
}

.callout input:focus,
textarea:focus {
    /* border: 3px solid green; */
    outline: 2px solid green;
    box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.3);
}

.callout textarea {
    resize: vertical;
    height: 80px;
}

.submit {
    background-color: green;
    color: white;
    font-size: 1.5em;
    transition: all 0.4s ease;
    /* Smooth transition */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: "Comfortaa";
    padding-top: 7.5px;
    padding-bottom: 5px;
    width: 90%;
    transform: translateY(2px);
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.submit:hover {
    /* color: rgba(255, 255, 0, 0.7);    */
    transform: translateY(-3px) scale(1.05);
    /* width: 92%; */
    background-color: #009200;
    /* Visible green glow */
    /* box-shadow: 0 0 12px 4px rgba(0, 200, 0, 0.9); */
    /* box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.6), 0 0 15px 10px rgba(255, 255, 0, 0.4);  */
}

.submit:active {
    background-color: #050c;
    transform: translateY(-0px) scale(1.02);
}

/* #endregion */

@media (min-width: 405px) {
    .footer {
        flex-direction: row;
        align-items: flex-end;
    }
}

/* for cool "stairs" effect */
@media (500px <=width < 1060px) {

    /* values from trial and error */
    .social:nth-child(2) {
        margin-left: 5px;
    }

    .social:nth-child(3) {
        margin-left: 15px;
    }

    .social:nth-child(4) {
        margin-left: 24px;
    }

    .social:nth-child(5) {
        margin-left: 34px;
    }
}

@media (min-width: 500px) {

    /* medium screens */
    .contact-info {
        flex-direction: row;
    }
}

@media (min-width: 1060px) {
    /* very wide screens (e.g. laptops) */

    .footer {
        align-items: center;
        flex-direction: row;
        gap: 0;
    }

    .social-container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .social {
        border-right: 1px solid gray;
        margin-left: 0;
    }

    .social:last-child {
        border-right: none;
    }
}


/* Inline Google fonts CSS for GDPR */
/* #region FONTS */
/* so i can collapse them (VS Code) */
@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts.gstatic.com/s/comfortaa/v45/1Pt_g8LJRfWJmhDAuUsSQamb1W0lwk4S4TbMPrQ.ttf) format('truetype');
}

@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts.gstatic.com/s/comfortaa/v45/1Pt_g8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMPrQ.ttf) format('truetype');
}

@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts.gstatic.com/s/comfortaa/v45/1Pt_g8LJRfWJmhDAuUsSQamb1W0lwk4S4VrMPrQ.ttf) format('truetype');
}

@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts.gstatic.com/s/comfortaa/v45/1Pt_g8LJRfWJmhDAuUsSQamb1W0lwk4S4bbLPrQ.ttf) format('truetype');
}

@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts.gstatic.com/s/comfortaa/v45/1Pt_g8LJRfWJmhDAuUsSQamb1W0lwk4S4Y_LPrQ.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u-w4BMUTPHjxsIPy-v.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u_w4BMUTPHjxsI9w2PHA.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u8w4BMUTPHjxswWw.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u_w4BMUTPHjxsI5wqPHA.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u_w4BMUTPHjxsI3wiPHA.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u8w4BMUTPHh30wWw.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u9w4BMUTPHh7USew8.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHvxk.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u9w4BMUTPHh6UVew8.ttf) format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(fonts.gstatic.com/s/lato/v24/S6u9w4BMUTPHh50Xew8.ttf) format('truetype');
}

/* #endregion */