:root {
    --home-photo-short: url("/images/_GOT3559.jpg");
    --home-photo-short-position: top center;
    --secondary-color: darksalmon;
    --light-color: whitesmoke;
    --dark-color: rgb(30, 90, 75);
    --text-font-size: 115%;
    --body-font-size: 110%;
}

@font-face {
    font-family: caudex;
    src: url("/css/Caudex-Regular.ttf");
}

@font-face {
    font-family: forum;
    src: url("/css/Forum-Regular.ttf");
}

@font-face {
    font-family: alex;
    src: url("/css/AlexBrush-Regular.ttf");
}

body {
    color: rgba(0, 0, 0, .75);
    font-family: forum, sans-serif;
    background-color: rgb(250, 251, 252);
    font-size: var(--body-font-size);
    font-weight: bolder;
}

a {
    color: inherit;
}

a.colorful {
    color: var(--secondary-color);
}

a:hover {
    color: var(--secondary-color);
}

a.colorful:hover {
    text-decoration: underline;
}

.navbar-brand {
    padding: 0;
}

.brand-text {
    font-family: alex, sans-serif;
    font-weight: 700;
    opacity: 0.9;
    font-size: 180%;
    transition: all 0.5s ease;
    color: var(--dark-color);
}

.brand-text:hover {
    color: var(--secondary-color);
}

.brand-text.smaller {
    font-size: 160%;
}

#main-nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid gainsboro;
    transition: all 0.5s ease;
    opacity: 0.9;
}

#main-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 800;
}

#main-nav .nav-link:hover {
    text-decoration: underline solid var(--secondary-color) 2px;
    text-underline-offset: 4px;
}

.home-title h1 {
    font-weight: bold;
    font-size: 5rem;
    font-family: caudex, sans-serif;
}

.home-title h2 {
    font-size: 1.7rem;
    font-family: caudex, sans-serif;
}

#home {
    opacity: 0.95;
    height: 100vh;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.services-text1, .services-text2 {
    transition: all 0.5s ease;
}

p.services-text1, p.services-text2 {
    padding: 0 2rem;
}

#about-me {
    background-color: var(--light-color);
}

.home-photo {
    background-image: url("/images/_GOT3559.jpg");
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center 20%;
    background-size: cover;
    opacity: 0.95;
}

.about-me-photo {
    background-image: url("/images/_GOT3584.jpg");
    height: 80vh;
    background-repeat: no-repeat;
    background-position: center 25%;
    background-size: cover;
    filter: sepia(0.1);
    border-radius: 0.2rem;
}

.btn-secondary-color {
    color: var(--light-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-width: 2px;
    font-size: var(--body-font-size);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0.1rem;
    font-weight: 800;
}

.btn-secondary-color:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: var(--light-color);
}

.btn-secondary-color:focus {
    outline: none;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: var(--light-color);
}

.btn-secondary-color:disabled {
    color: var(--light-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.home-title {
    text-align: center;
    margin-top: 35%;
}

#split-section {
    width: 100%;
    height: 40vh;
    background-image: url("/images/autumn_leaves_background.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    filter: grayscale(0.1);
    position: relative;
    margin-bottom: -10%;
    z-index: -100;
}

#split-section > div {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
}

.contacts {
    text-align: center;
    width: 50%;
    margin: auto;
}

.contacts.contacts-form {
    padding: 1rem 3rem;
}

.contacts.contacts-form > h3 {
    color: var(--dark-color);
    margin-top: 0;
    margin-bottom: 2rem;
}

.section-text h3 {
    color: var(--dark-color);
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 180%;
}

.home-title-link {
    position: relative;
    top: 28%;
}

.home-title-arrow {
    margin-top: -0.5rem;
    width: 5em;
}

.section-text {
    padding: 7em 3em;
}

.about-me-photo-wrapper {
    padding: 7em 4em 7em 2em;
}

.section-text h2 {
    margin-bottom: 2rem;
    font-family: caudex, sans-serif;
    font-weight: bold;
    font-size: 250%;
}

.section-text p {
    font-size: var(--text-font-size);
    line-height: 180%;
    opacity: 0.95;
}

.section-text table {
    text-align: left;
    width: 100%;
    font-size: var(--text-font-size);
    opacity: 0.95;
}

.section-text table td {
    padding: 0.5rem 1rem;
}

.section-text table td.right {
    text-align: right;
    width: 30%;
}

.section-text table td > a {
    color: inherit;
}

.section-text table td > a:hover {
    color: var(--secondary-color);
}

#pricings {
    text-align: center;
    color: var(--light-color);
    background-color: var(--dark-color);
    transition: all 0.5s ease;
    width: 98%;
    border-radius: 0.2rem;
}

#contacts {
    background: var(--light-color);
}

#footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.footer-text {
    line-height: 105%;
    opacity: 0.95;
    padding: 2rem 0.1rem 1rem 0.1rem;
    border-top: 1px solid #ffb6c1;
    text-align: center;
    font-weight: 500;
}

strong {
    font-weight: 900;
}

a.author {
    color: var(--light-color);
    font-weight: 900;
}

a.author:hover {
    color: var(--secondary-color);
}

.offcanvas-bottom {
    min-height: 250px;
}

.offcanvas-header {
    padding: 1.5rem 10% 1rem 10%;
}

.offcanvas-body {
    padding: 0 10% 1rem;
}

.section-text table i {
    color: var(--secondary-color);
    font-size: var(--text-font-size);
}

.section-text.about-me {
    padding-left: 2em;
}

.section-text.about-me > h2 {
    padding-left: 1.1rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 0.2rem;
    background-color: var(--dark-color);
    color: var(--light-color);
    width: 130%;
}

.section-text.about-me > p {
    padding-left: 1.1rem;
}

.section-text.pricings {
    padding: 5em 3em;
}

#email-alert-holder {
    z-index: 2000;
}

.email-alert {
    width: 50%;
    min-width: 20rem;
    display: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.form-control {
    font-size: var(--body-font-size);
}

.cookies-alert {
    margin-bottom: 0;
    padding: 4px 48px 4px 24px;
    font-size: 90%;
    display: flex;
    box-shadow: 0 -5px 6px -9px black;
}

.cookies-alert > div {
    width: 100%;
    margin: auto;
    margin-right: 1rem;
}

.btn-cookies {
    height: fit-content;
    margin: auto;
    font-size: 90%;
    padding: 2px 8px;
}

@media only screen and (min-height: 1200px) and (min-width: 992px) {

    .home-title-link {
        top: 40%;
    }

    @media only screen and (max-width: 1280px) {

        .home-title {
            margin-top: 40%;
        }

    }

}

@media only screen and (min-width: 1801px) and (max-height: 950px) {

    .home-title-link {
        top: 23%;
    }

    @media only screen and (max-height: 930px) {

        .home-photo {
            background-image: var(--home-photo-short);
            background-position: var(--home-photo-short-position);
        }

    }

    @media only screen and (max-height: 910px) {

        .home-title {
            margin-top: 30%;
        }

    }

    @media only screen and (max-height: 850px) {

        .home-title-link {
            top: 15%;
        }

    }

    @media only screen and (max-height: 800px) {

        .home-title-link {
            display: none;
        }

        .home-title {
            margin: auto;
        }

    }

}

@media only screen and (min-width: 1601px) and (max-width: 1800px) and (max-height: 900px) {

    .home-title-link {
        top: 20%;
    }

    @media only screen and (max-height: 830px) {

        .home-title-link {
            top: 10%;
        }

        .home-photo {
            background-image: var(--home-photo-short);
            background-position: var(--home-photo-short-position);
        }

    }

    @media only screen and (max-height: 750px) {

        .home-title-link {
            display: none;
        }

        .home-title {
            margin: auto;
        }

    }

}

@media only screen and (min-width: 1281px) and (max-width: 1600px) and (max-height: 900px) {

    .home-title-link {
        top: 15%;
    }

    @media only screen and (max-height: 780px) {

        .home-title {
            margin-top: 30%;
        }

        .home-photo {
            background-image: var(--home-photo-short);
            background-position: var(--home-photo-short-position);
        }

    }

    @media only screen and (max-height: 750px) {

        .home-title-link {
            display: none;
        }

        .home-title {
            margin: auto;
        }

    }


}

@media only screen and (min-width: 992px) and (max-width: 1280px) and (max-height: 1000px) {

    .home-title-link {
        top: 20%;
    }

    @media only screen and (max-height: 920px)  {

        .home-title {
            margin-top: 25%;
        }

        .home-title-link {
            top: 15%;
        }

    }

    @media only screen and (max-height: 840px)  {

        .home-title-link {
            top: 10%;
        }

    }

   @media only screen and (max-height: 790px)  {

        .home-title-link {
            display: none;
        }

        .home-title {
            margin: auto;
        }

    }

    @media only screen and (max-height: 599px) {

        .home-photo {
            background-image: var(--home-photo-short);
            background-position: var(--home-photo-short-position);
        }

    }

}

@media only screen and (max-width: 1400px) {

    .contacts {
        width: 60%;
    }

}

@media only screen and (max-width: 1200px) {

    .contacts {
        width: 80%;
    }

}

@media only screen and (max-width: 991px) {

    .contacts {
        width: 100%;
    }

    .about-me-photo-wrapper {
        padding-top: 0;
    }

    #home {
        height: auto;
    }

    .home-title {
        margin-top: 10%;
        margin-bottom: 10%;
    }

    .home-title-link {
        top: 15%;
    }

    .section-text.about-me > h2 {
        width: 100%;
    }

    .section-text.about-me {
        padding-bottom: 3em;
    }

    .about-me-photo-wrapper {
        padding: 0 3em 7em 3em;
    }

    .home-photo {
        height: 80vh;
    }

}

@media only screen and (max-width: 575px) {

    .cookies-alert {
        padding: 4px;
        font-size: 85%;
    }

}

@media only screen and (max-width: 520px) {

    :root {
        --text-font-size: 110%;
        --body-font-size: 105%;
    }

    .home-title h1 {
        font-size: 3rem;
    }

    .home-title h2 {
        font-size: 1.5rem;
    }

    .section-text {
        padding: 4em 1em;
        line-height: 160%;
    }

    .section-text h2 {
        font-size: 225%;
    }

    .section-text h3 {
        font-size: 175%;
    }

    .section-text table td.right {
        text-align: center;
        width: auto;
    }

    .section-text table td {
        padding: 0.5rem;
    }

    .disposable {
        display: none;
    }

    .contacts.contacts-form {
        padding: 1rem;
    }

    .home-title-link {
        top: 7.5%;
    }

    .section-text.about-me {
        padding-left: 0.75em;
    }

    .about-me-photo-wrapper {
        padding: 0 2em 7em 2em;
    }

}
