﻿:root {
    --primary: #e2314e;
    --black: #242424;
}

@media (max-width: 991px) {
    html > body {
        background-color: var(--black);
    }
}

/* #region Gaps */

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 16px;
}

.gap-4 {
    gap: 24px;
}

.gap-5 {
    gap: 32px;
}

/* #endregion Gaps */

.background-primary {
    background-color: var(--primary);
}

.background-black {
    background-color: var(--black);
}

.background-white {
    background-color: white;
}

.text-primary {
    color: var(--primary) !important;
}

.text-white {
    color: white;
}

.btn {
    width: 200px;
    height: 40px;
}

.grow {
    flex-basis: 0;
    flex-grow: 1;
}

p {
    font-size: 16px;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    div:has(> #logo) {
        --height: 100px;
    }
}

@media (max-width: 991px) {
    div:has(> #logo) {
        --height: 60px;
    }
}

div:has(> #logo) {
    max-height: var(--height);
    height: var(--height);
}

#logo {
    max-height: 100%;
}

div:has(> .after-icon) {
    position: relative;
}

.after-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    cursor: pointer;
}

#js-register button[type=submit] {
    right: calc(100% / 12);
}

@media (min-width: 992px) {
    #register-image {
        height: 600px;
    }
}

@media (max-width: 991px) {
    div:has(> #register-image) {
        overflow: hidden;
    }

    #register-image {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1700px) {
    div:has(> #register-image) {
        justify-content: end !important;
        overflow: visible;
    }
}

@media (min-width: 992px) {
    #section3 img {
        height: 280px;
    }
}

@media (max-width: 991px) {
    #section3 img {
        width: 100%;
    }
}

#section3 h1 {
    color: var(--black);
}

#testimonies {
    width: 1000px;
    min-width: min(100%, 1000px);
    max-width: 100%;
    margin: auto;
}

    #testimonies .testimony:not(:last-of-type) {
        border-bottom-style: solid;
        border-width: 3px;
        border-color: var(--primary);
    }

    #testimonies .testimony h1 {
        font-weight: 600;
    }

    #testimonies .testimony img {
        width: 96px;
        height: 96px;
        border-radius: 50%;
    }

@media (max-width: 991px) {
    #testimonies .testimony img {
        width: 64px;
        height: 64px;
    }
}
