:root {
    --primary-color: white;
    --primary-border: white;

    --primary-bg: hsla(216, 98%, 35%, 1);
    --primary-bg-95: hsla(216, 98%, 35%, 0.9);
    --primary-bg-50: hsla(216, 98%, 35%, 0.5);
    --primary-bg-10: hsla(216, 98%, 35%, 0.1);
    --primary-bg-shade: hsla(216, 98%, 25%, 1);

    --primary-bg2: hsla(232, 80%, 31%, 1);
    --primary-bg2-95: hsla(232, 80%, 31%, 0.95);
    --primary-bg2-shade: hsla(232, 80%, 20%, 1);

    --secondary-color: black;
    --secondary-bg: white;
    --secondary-bg-90: rgba(255, 255, 255, 0.9);

    --secondary-bg-shade: rgba(231, 231, 231, 1);

    --transparent-light: rgba(255, 255, 255, 0.1);

    --standard-shadow: rgb(130, 130, 130);

    font-size: 20px;
    font-family: Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

h1 {
    display: none;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin: 0;
}

a:link {
    color: var(--primary-bg);
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: var(--primary-bg);
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: var(--primary-bg);
    background-color: transparent;
    text-decoration: underline;
}

.text-400 {
    font-weight: 400;
}

.text-600 {
    font-weight: 600;
    text-decoration: underline;
}

.text-title {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary-bg);
    text-align: center;
}

button {
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 30px;
}

html,
body {
    overflow-x: hidden;
    height: 100vh;
    margin: 0;
    min-width: 350px;
}

body {
    background-image: url("./img/Tino_Schroeder.png");
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

header {
    background-color: var(--secondary-bg);
    height: 5rem;
    padding: 10px 30px 0;
    /*
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 20;   - Raketentino
    */
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background-color: var(--secondary-bg);
}

header img {
    height: 100%;
}

#introduction {
    /*margin-top: calc(5rem);   - Raketentino*/
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 0;
    background-color: var(--primary-bg-95);
}

.photo {
    flex: 2 0 0px;
    position: sticky;
    top: 5rem;
    height: calc(100vh - 5rem);

    background-image: url("./img/Finanzexperte_Tino_Schroeder.png");
    background-position: right top;
    background-size: 25rem;
    background-repeat: no-repeat;
}

.text {
    flex: 3 0 0px;
    display: flex;
    flex-direction: column;
}

.text > div {
    width: 34rem;
    color: var(--primary-color);
    text-align: center;
    /*height: calc(100vh - 5rem);   - Raketentino*/
}

.greeting {
    padding-top: 19rem;
    margin-top: 1.5rem;

    background-image: url("./img/Tino_Schroeder-Logo-ws.svg");
    background-position: center 50px;
    background-size: 22.5rem;
    background-repeat: no-repeat;
}

.greeting h2 {
    padding: 1rem 1rem;
    border-radius: 25px;
    background-color: var(--transparent-light);
}

.who p,
.what p {
    margin: 1rem;
}

#myreferences {
    background-image: url(./img/handschlag.png);
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.references-title {
    background-color: var(--secondary-bg-90);
    text-align: center;
    padding: 40px 80px 0px 80px;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary-bg);
    box-shadow: inset 2px 18px 17px -17px var(--standard-shadow);
}

#references {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px 10% 75px;
    background-color: var(--secondary-bg-90);
    font-weight: 300;

    color: var(--secondary-color);
}

.slideshow-container {
    position: relative;
    background-color: var(--secondary-bg-90);
}

/* Slides */
.mySlides {
    padding: 80px 250px 40px 250px;
    text-align: center;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: var(--secondary-bg-90);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active,
.dot:hover {
    background-color: #717171;
}

/* Add an italic font style to all quotes */
q {
    font-style: italic;
}

/* Add a blue color to the author */
.author {
    color: var(--primary-bg-50);
    padding-top: 20px;
}

#references > div {
    display: none;
    flex: 1 1 0;
    position: relative;
    margin-left: 25px;
    padding: 0px 25px 0px 25px;
    text-align: left;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

#references > div::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;

    /* background-image: url("./img/chat.svg"); */
    background-position: right;
    background-size: 150px;
    background-repeat: no-repeat;
    opacity: 0.05;
}

#profile {
    position: relative;
    display: flex;
    justify-content: center;
    border-top: 4px solid var(--primary-border);
    border-bottom: 4px solid var(--primary-border);
}

#profile::before {
    content: "";
    position: absolute;
    top: -4px; /* border-width of #profile */
    right: -50px;
    left: -50px;
    bottom: -4px; /* border-width of #profile */
    box-shadow: 0 0 25px -6px var(--standard-shadow);
}

.pro,
.contra {
    position: relative;
    flex: 1 0 0px;
    padding: 50px;
    padding-left: 300px;
    color: var(--primary-color);
}

.pro {
    background: var(--primary-bg);
    background: linear-gradient(0deg, var(--primary-bg) 0%, var(--primary-bg-shade) 100%);
}
.contra {
    background: var(--primary-bg-shade);
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--primary-bg-shade) 100%);
}

.pro::before,
.contra::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;

    background-position: 65px center;
    background-size: 9rem 9rem;
    background-repeat: no-repeat;
}
.pro::before {
    background-image: url("./img/positiv-ws.svg");
}
.contra::before {
    background-image: url("./img/negativ-ws.svg");
}

#video {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px;
    background: var(--secondary-bg-shade);
    /*background: linear-gradient(0deg, var(--secondary-bg-shade) 0%, var(--secondary-bg) 100%);*/

    box-shadow: inset 2px -18px 17px -12px #ccc;
}

video {
    width: 50vw;
    margin-top: 35px;
    box-shadow: 0px 0px 5px #81818180;
}

.contact-title {
    text-align: center;
    padding: 40px 0px 0px 0px;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary-bg);
    background-color: var(--primary-color);
}

#contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    gap: 100px;
    background-color: var(--secondary-bg);
    overflow: auto;
}

.hover-button {
    position: fixed;
    font-size: 0.95rem;
    top: 1rem;
    right: 50px;
    background-color: white;
    color: var(--primary-bg);
    border: 2px solid var(--primary-bg);
    z-index: 1;
}

.hover-button:hover {
    background-color: var(--primary-bg);
    color: white;
}

.mobile-button {
    display: none;
    position: fixed;
    font-size: 0.95rem;
    top: 1rem;
    right: 50px;
    background-color: white;
    color: var(--primary-bg);
    z-index: 1;
}

.contact-info {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 20vw;
    padding: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    list-style-type: none;
}

.contact-info li {
    float: left;
    padding: 1rem;
    background-position: left center;
    background-size: 1.5rem;
    background-repeat: no-repeat;
}

.contact-icon {
    width: 30px;
    justify-content: center;
    align-items: center;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact .row {
    display: flex;
}

#contact input,
#contact textarea,
#contact button,
#contact-form-submit-success,
#contact-form-submit-failed {
    margin: 0.5rem;
    padding: 1rem;
    border: 0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
}

#contact input,
#contact textarea {
    resize: none;
    background-color: var(--secondary-bg-shade);
}

#contact input:focus,
#contact textarea:focus {
    outline: 2px solid var(--primary-bg);
}

.checkbox {
    font-size: 0.7rem;
    color: rgb(130, 130, 130);
}

#contact-form-submit {
    background: var(--primary-bg);
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--primary-bg-shade) 100%);
    color: var(--primary-color);
}

#contact-form-submit-success,
#contact-form-submit-failed {
    display: none;
    text-align: center;
    color: var(--primary-bg);
}

#contact-form-submit-failed {
    color: red;
}

footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 4px;
    background-color: var(--secondary-bg-shade);
}

footer > a {
    color: var(--secondary-color);
    font-size: 0.6rem;
}

@media (min-width: 1921px) {
    :root {
        /* --primary-bg: hsla(316, 98%, 35%, 1);
        --primary-bg-95: hsla(316, 98%, 35%, 0.9);
        --primary-bg-50: hsla(316, 98%, 35%, 0.5);
        --primary-bg-10: hsla(316, 98%, 35%, 0.1);
        --primary-bg-shade: hsla(316, 98%, 25%, 1); */

        font-size: 24px;
    }
}

@media (max-width: 1350px) {
    :root {
        /* --primary-bg: hsla(116, 98%, 35%, 1);
        --primary-bg-95: hsla(116, 98%, 35%, 0.9);
        --primary-bg-50: hsla(116, 98%, 35%, 0.5);
        --primary-bg-10: hsla(116, 98%, 35%, 0.1);
        --primary-bg-shade: hsla(116, 98%, 25%, 1); */

        font-size: 18px;
    }

    .text {
        padding-bottom: 30px;
    }

    .mySlides {
        padding: 40px 60px 20px 60px;
        text-align: center;
    }

    .pro::before,
    .contra::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;

        background-position: 45px center;
        background-size: 7rem 7rem;
        background-repeat: no-repeat;
    }

    .pro,
    .contra {
        position: relative;
        flex: 1 0 0px;
        padding: 50px;
        padding-left: 200px;
        color: var(--primary-color);
    }

    #contact {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        justify-content: center;
        padding: 50px 0px;

        background-color: var(--secondary-bg);
    }

    .contact-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 270px;
    }

    #contact input,
    #contact textarea,
    #contact button,
    #contact-form-submit-success,
    #contact-form-submit-failed {
        margin: 0.3rem;
        padding: 1rem;
        border: 0;
        border-radius: 5px;
        font-family: inherit;
        font-size: 0.8rem;
    }

    video {
        width: 90vw;
    }
}

@media (max-width: 1179px) {
    .photo {
        display: none;
    }

    .text {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body {
        background-position: center right;
    }
}

@media (max-width: 800px) {
    :root {
        /* --primary-bg: hsla(16, 98%, 35%, 1);
        --primary-bg-95: hsla(16, 98%, 35%, 0.9);
        --primary-bg-50: hsla(16, 98%, 35%, 0.5);
        --primary-bg-10: hsla(16, 98%, 35%, 0.1);
        --primary-bg-shade: hsla(16, 98%, 25%, 1); */

        font-size: 16px;
    }

    body {
        background-position: right;
    }

    .hover-button {
        display: none;
    }

    .mobile-button {
        content: "";
        display: block;
        background-position: center;
        background-image: url("./img/mobile-bars.svg");
        background-repeat: no-repeat;
        background-size: 1.5rem;
        background-color: transparent;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 1;
    }

    header {
        background-color: var(--secondary-bg);
        height: 5rem;
        padding: 10px 30px 0;
        position: fixed;
        width: 100vw;
        z-index: 20;
        position: absolute;
        box-shadow: 0 0 25px -6px var(--standard-shadow);
    }

    .text > div {
        width: 80%;
    }

    .text {
        padding-top: 5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .greeting h2 {
        margin: 25px;
        padding: 1rem 1rem;
        border-radius: 25px;
        background-color: var(--transparent-light);
    }

    #profile {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #profile > u {
        display: flex;
        align-items: center;
    }

    .pro,
    .contra {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 20px;
        padding-top: 200px;
        background: linear-gradient(180deg, var(--primary-bg) 0%, var(--primary-bg-shade) 100%);
    }

    .contra > ul {
        width: 270px;
    }
    .pro::before,
    .contra::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background-position: center 2rem;
        background-size: 9rem 9rem;
        background-repeat: no-repeat;
    }

    h3 {
        text-align: center;
        font-weight: 500;
        font-size: large;
    }

    video {
        width: 90vw;
    }
}

@media (max-width: 450px) {
    :root {
        /* --primary-bg: hsla(76, 98%, 35%, 1);
        --primary-bg-95: hsla(76, 98%, 35%, 0.9);
        --primary-bg-50: hsla(76, 98%, 35%, 0.5);
        --primary-bg-10: hsla(76, 98%, 35%, 0.1);
        --primary-bg-shade: hsla(76, 98%, 25%, 1); */

        font-size: 16px;
    }
    .text > div {
        background-size: 280px;
    }

    .greeting {
        padding-top: 17rem;
    }

    .contact-title {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .contact-title > p {
        width: 80%;
    }

    #contact input,
    #contact textarea,
    #contact button,
    #contact-form-submit-success,
    #contact-form-submit-failed {
        font-size: 0.7rem;
    }
}
