/*General*/
body {
    background-color: #f4f5f7;
}

/*Typography*/
@font-face {
    font-family: "VT323";
    src: url(/assets/font/VT323-Regular.ttf);
}

@font-face {
    font-family: "Poppins";
    src: url(/assets/font/Poppins-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: "Poppins";
    src: url(/assets/font/Poppins-SemiBold.ttf);
    font-weight: 700;
}

h1,
h2,
h3,
h4,
span {
    font-family: "VT323", sans-serif;
    color: black;
}

h1 {
    font-size: 4.625rem;
    line-height: 3.75rem;

    .home_page & {
        max-width: 500px;
    }
}

h2 {
    font-size: 3.75rem;
    display: inline-block;
    line-height: normal;
}

.emoji_big {
    vertical-align: top;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 3.125rem;
}

p,
a {
    font-family: "Poppins", sans-serif;
    color: black;
}

p {
    font-size: 1.438rem;
    line-height: 2.125rem;
    font-weight: 500;
}

.p2 {
    font-size: 1.125rem;
    line-height: normal;

    .card-grid & {
        text-align: justify;
        word-wrap: break-word;
        hyphens: auto;
    }
}

.p3 {
    font-family: "VT323", sans-serif;
    font-size: 2.75rem;
    line-height: normal;
}

a {
    text-decoration: none;
    font-weight: 500;
}

span {
    font-size: 2.813rem;
    font-weight: 500;
}

/*Spacing*/
.ss-top {
    margin-top: 150px;
}

.ss-top-p {
    padding-top: 150px;
}

.ss {
    margin: 150px 0;
}

.ss-bottom {
    margin-bottom: 150px;
}

@media (max-width: 992px) {
    .ss-top {
        margin-top: 80px;
    }

    .ss-top-p {
        padding-top: 80px;
    }

    .ss {
        margin: 80px 0;
    }

    .ss-bottom {
        margin-bottom: 80px;
    }
}

/*Buttons*/
.btn-white {
    background-color: white;
    color: black;
    padding: 10px 20px !important;
    border-radius: 6px;
    transition: 0.1s;

    &:hover {
        background-color: #4ed5ff;
        color: black;
    }
}

.btn_wrapper {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    background-color: black;

    &:hover .btn_blue {
        transform: translateY(-0.33em);
    }

    &:active .btn_blue {
        transform: translateY(0);
    }
}

.btn-blue {
    display: inline-block;
    border: 4px solid black;
    border-radius: 10px;
    padding: 10px 40px;
    background-color: #4ed5ff;
    color: black;
    transform: translateY(-0.3em);
    transition: transform 0.1s ease;

    &:hover {
        transform: translateY(-0.5em);
    }

    &:active {
        transform: translateY(0);
    }
}

/*reusable*/
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-grow {
    flex-grow: 1;
}

.grid {
    display: grid;
}

.col {
    flex-direction: column;
}

.row {
    flex-direction: row;
}

.text-center {
    text-align: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-start {
    align-items: start;
}

.width-100 {
    width: 100%;
}

.container {
    max-width: 1420px;
    width: 100%;
    margin: 0 auto;
}

.img-center {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

/*Navigation*/

nav {
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 100000;

    .navbar-brand img {
        height: 40px;
        width: auto;
    }

    .navbar-nav {
        gap: 10px;
    }

    a {
        color: rgb(197, 197, 197) !important;
        transition: all 0.1s;

        &:hover {
            color: #4ed5ff !important;
        }
    }

    li a {
        font-size: 1.4rem !important;
        text-align: center;
    }

}


/*Hero*/
.hero-container {
    padding-top: 100px;
    height: 100svh;

    .container,
    .row {
        height: 100%;
    }

    .home & {
        height: 750px;
    }
}

/*Black Line*/
.line {
    height: 3px;
    width: 100%;
    background-color: black;
}

/*4 cards grid*/
.card-grid {

    .card-wrapper,
    .card_figure img {
        background-color: white;
        box-shadow: 0 5px 0 0 black, 0 10px 0 0 #d0d0d2;
        border-radius: 10px;
        border: 4px solid black;
        flex-direction: column;
        height: 100%;

        .team & {
            background-color: #4ed5ff;
            flex-shrink: 1;
        }

        .card_figure img {
            box-shadow: 0 5px 0 0 black;
        }
    }

    .card_figure img {
        border-radius: 50%;
        overflow: hidden;
        max-width: 188px;
    }

    .card_button {
        color: #0057ff;
    }
}

/*Cars*/
.cars {
    span {
        font-size: 2rem;
    }
}

/*Praxis*/
.description-img {
    width: 100%;
    margin: 0 auto;
}

/*Stats*/
.stats {
    .stats_container {
        background-color: #4ed5ff;
        box-shadow: 0 5px 0 0 black, 0 10px 0 0 #d0d0d2;
        border-radius: 10px;
        border: 4px solid black;
    }

    span {
        font-size: 5rem;
    }

    span,
    p {
        line-height: normal;
    }
}

/*Carousel*/
.carousel-inner {
    box-shadow: 0 5px 0 0 black, 0 10px 0 0 #d0d0d2;
    border-radius: 10px;
    border: 4px solid black;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    max-height: 450px;

    .image-wrapper {
        max-height: 450px;
    }
}

/*Footer*/
footer {
    background-color: black;

    a,
    p {
        color: #c7c7c7;
    }
}

@media (max-width: 992px) {
    .hero_img {
        width: 75% !important;
    }
}

/*Erste Hilfe Kurs*/
.information {
    .img-container {
        img {
            position: relative;
            z-index: 10;
        }

        .line {
            transform: translateY(-40px);
        }
    }
}

/*Kontakt*/
#contact-page {
    .hero {
        height: 100svh;
        min-height: 1000px;

        .container,
        .row,
        .hero_container {
            height: 100%;
            justify-content: center !important;
            align-items: center !important;
        }
    }

    .googlemaps {
        width: 100%;
        height: 450px;
        box-shadow: 0 5px 0 0 black, 0 10px 0 0 #d0d0d2;
        border-radius: 10px;
        border: 4px solid black;
    }

    .input-field {
        background-color: white;
        width: 100%;
        max-width: 540px;
        padding: 15px 20px;
        box-shadow: 0 5px 0 0 black, 0 10px 0 0 #d0d0d2;
        border-radius: 10px;
        border: 4px solid black;
        color: black;
        font-size: 1.125rem;
        width: 100%;
        max-width: 540px;

        &:focus {
            outline: none;
        }

        &:user-valid {
            border-color: rgb(4, 157, 4);
            box-shadow: 0 5px 0 0 rgb(4, 157, 4), 0 10px 0 0 #d0d0d2;
        }

        &:user-invalid {
            box-shadow: 0 5px 0 0 rgb(207, 22, 22), 0 10px 0 0 #d0d0d2;
            border-color: rgb(207, 22, 22);
        }
    }

    #message {
        field-sizing: content;
        min-height: 128px;
    }
}

/*Impressum & Datenschutzerklärung*/
#impressum,
#datenschutz {

    p,
    h1 {
        word-wrap: break-word;
        text-align: justify;
    }
}

#about {
    .hero-container {
        min-height: 1000px;
        margin-bottom: 150px;
    }
}

#downloads {
    min-height: 800px;
    margin-bottom: 100px;
}