/* Scrollbar styles */

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background-color: #909497;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: linear-gradient(180deg, #4D5656 0%, #4D5656 100%);
}

/* Content styles */

html {
    scroll-behavior: smooth;
}

body {
    background: #EEF0F0;
}

header {
    background: #FFFFFF;
    box-shadow: 0 3px 13px rgba(20, 20, 20, 0.5);
}

header > div {
    width: 100%;
}

.logo {
    align-self: center;
}

.menu-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item {
    padding: 17px 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: Comfortaa, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    color: #070707;
    border-bottom: 4px solid transparent;
}

.menu-item a,
.menu-item a:link,
.menu-item a:visited,
.menu-item a:focus,
.menu-item a:active {
    color: #070707;
    text-decoration: none;
}

.menu-item.active {
    border-bottom: 4px solid #F05F00;
}

.splash-row {
    justify-content: center;
    margin-bottom: 120px;
    background-color: #000;
}

.splash {
    width: 1920px;
    height: 922px;
    background-image: radial-gradient(circle at center, #0088f033, #000),  url("../images/photo3-yGmKnF3.jpg");
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.splash h1 {
    font-family: Comfortaa, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 42px;
    line-height: 47px;
    text-align: center;
    letter-spacing: 0.954545px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.splash h1 span {
    color: #F05F00;
}

.splash .description {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
}

.splash-buttons {
    margin-top: 60px;
    display: flex;
    gap: 24px;
}

.container.header {
    margin-bottom: 60px;
}

.product-container {
    background-color: #FFFFFF;
    box-shadow: 0 7px 20px rgba(57, 57, 57, 0.138289);
    margin-bottom: 60px;
    border-radius: 4px;
}

.with-image-left {
    background-image: linear-gradient(90deg, #F05F00 0%, #F05F00 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
    padding: 42px 60px 22px 32px;
    border-radius: 4px 0 0 4px;
}

.with-image-right {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, #F05F00 50%, #F05F00 0%);
    padding: 42px 60px 22px 32px;
    border-radius: 4px 0 0 4px;
}

h1 {
    font-family: Comfortaa, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 60px;
    color: #070707;
    margin-bottom: 16px;
}

h2 {
    font-family: Comfortaa, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;
    color: #070707;
    margin-bottom: 24px;
}

p {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    color: #333333;
    margin-bottom: 24px;
}

p.heading {
    font-size: 20px;
    line-height: 28px;
    max-width: 800px;
    margin: auto;
}

p.content {
    font-size: 18px;
    line-height: 28px;
}

hr {
    height: 1px;
    width: 100%;
    background-color: #F05F00;
    border: 1px solid #F05F00;
}

ul li {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    list-style-image: url("../images/icons/bullet-wYZH0Ge.svg");
}

.see-more-link {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.27px;
    text-transform: uppercase;
    color: #F05F00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.see-more-link:link,
.see-more-link:active,
.see-more-link:hover,
.see-more-link:focus,
.see-more-link:visited {
    color: #F05F00;
    text-decoration: none;
}

@media (min-width: 992px) {
    .nav-buttons {
        order: 2;
    }
}

button {
    background: #F05F00;
    border-radius: 4px;
    font-family: Comfortaa, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.27px;
    text-transform: uppercase;
    color: #FFFFFF;
    height: 42px;
    border: none;
    padding-left: 15px;
    padding-right: 15px;
}

button.big {
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.27px;
    text-transform: uppercase;
    color: #FFFFFF;
    min-width: 213px;
    height: 56px;
}

button.big.transparent, button.transparent {
    background: rgba(255, 255, 255, 0.0637224);
    border: 1.5px solid #F05F00;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.27px;
    text-transform: uppercase;
    color: #F05F00;
}

.content-right {
    padding-top: 42px;
    padding-right: 60px;
}

.content-left {
    padding-top: 42px;
    padding-left: 60px;
}

.about-us {
    height: 700px;
    background-image: url("../images/photo2-bdtgtuL.png");
    background-position-y: 0;
    background-repeat: no-repeat;
    margin-top: 60px;
    margin-bottom: 120px;
    background-position: calc(50% + 510px) 0;
    background-color: #000;
}

@media (max-width: 1400px) {
    .about-us {
        background-image: none;
    }
}

.about-us h1, .about-us p.content {
    color: #ffffff;
}

.about-content {
    padding-top: 150px;
    padding-right: 72px;
}

footer {
    background: #070707;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.footer-links,
.copyright-and-useful-links {
    display: flex;
    justify-content: center;
}

.footer-links {
    gap: 50px;
}

.copyright-and-useful-links {
    gap: 60px;
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #FFFFFF;
}

.useful-links {
    display: flex;
    gap: 33px;
}

.footer-links a, .useful-links a,
.footer-links a:link, .useful-links a:link,
.footer-links a:active, .useful-links a:active,
.footer-links a:hover, .useful-links a:hover,
.footer-links a:focus, .useful-links a:focus,
.footer-links a:visited, .useful-links a:visited {
    font-family: Comfortaa, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.27px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-links a {
    text-transform: uppercase;
}

.contact-form-container {
    background: #FFFFFF;
    box-shadow: 0 7px 20px rgba(57, 57, 57, 0.138289);
    border-radius: 4px;
    padding: 60px 100px;
    max-width: 970px;
    margin: 0 auto 120px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.form-element {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-basis: 50%;
}

.form-element.full-width {
    flex-basis: 100%;
}

label {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
}

label span {
    color: #F05F00;
}

input, textarea {
    background: #FFFFFF;
    border: 1px solid #C1BFBF;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 14px 16px;
    resize: none;
}

input {
    height: 56px;
}

input:active, input:focus,
textarea:active, textarea:focus {
    outline: none;
    border: 2px solid #C1BFBF;
}

.submit-button-row {
    align-self: center;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

::placeholder {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
    color: #D5D5D5;
}

.contacts {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #D4D4D4;
}

.contacts > div {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    gap: 8px;
    font-family: Lato, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    padding: 23px 0;
}

.contacts > div:not(:last-child) {
    border-right: 1px solid #D4D4D4;
}

.contacts > div a,
.contacts > div a:visited,
.contacts > div a:active,
.contacts > div a:hover,
.contacts > div a:focus {
    font-family: Lato, serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-decoration: none;
}

div.error {
    color: #ff5555;
    font-size: 13px;
    font-family: Lato, serif;
    font-style: normal;
    font-weight: bold;
}

.form-error-message {
    text-align: center;
    display: none;
    color: #ff5555;
    font-family: Lato, serif;
    font-style: normal;
    font-weight: bold;
}

.form-error-message div {
    text-align: center;
}

.form-error-message.active {
    display: block;
}

@media (max-width: 1400px) {
    .with-image-left, .with-image-right {
        background-image: linear-gradient(180deg, #F05F00 0%, #F05F00 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
        text-align: center;
    }

    .content-left, .content-right {
        padding-top: 42px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .with-image-right {
        order: -1;
    }

    .contacts {
        flex-direction: column;
        padding-bottom: 0;
    }

    .contacts > div:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #D4D4D4;
    }

    .contact-form-container {
        margin-bottom: 0;
    }

    .form-element {
        flex-basis: 100%;
    }
}
