html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    font-family: 'Advent Pro', sans-serif;
}

.header-section {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.header-logo-img {
    width: 270px;
    height: auto;
}

.header-logo-img img {
    width: 100%;
    height: 100%;
}

.header-nav-list {
    display: flex;
}

.header-nav-list-item {
    list-style-type: none;
    padding: 0 10px;
}

.header-nav-list-item a:hover {
    color: #ED701C;
    transition: color 0.5s ease;
}

.header-nav-list-item a {
    text-decoration: none;
    font-weight: 800;
    font-size: 26px;
    color: #1717BF;
}

.active-page {
    text-decoration: underline;
    color: #ED701C;
}

.active-page a {
    color: #ED701C;
}

.racks {
    position: relative;
}

.racks-dropdown {
    display: none;
    position: absolute;
    background-color: #d9dfe4;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.racks:hover .racks-dropdown {
    display: block;
}

.racks-dropdown-item {
    color: black;
    text-decoration: none;
    display: block;
}

.racks-dropdown-item a {
    text-decoration: none;
    font-weight: lighter;
    color: black;
    font-size: 20px;
    font-weight: 600;
    padding: 12px 16px;
    display: block;
}

.racks-dropdown-item:hover {
    background-color: #ED701C;
}

.racks-dropdown-item a:hover {
    color: white;
}

.intro {
    background-color: #e3e5e6;
}

.intro-title {
    padding: 100px 160px;
    width: 100%;
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../img/intro-img/IMG_2529.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    font-size: 60px;
    font-weight: bold;
}

.intro-h2,
.intro-subtitle {
    color: #ED701C;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 800;
}

.intro-content {
    padding: 60px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content-text {
    font-size: 22px;
    text-align: center;
    line-height: 32px;
}

.images {
    padding: 60px 120px;
    background-color: #f49f36;
}

.images-list,
.partners-images-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.images-list a,
.partners-images-list a {
    flex-basis: 30%;
    min-width: 230px;
}

.images-list-item,
.partners-images-list-item {
    height: 250px;
    list-style-type: none;
    border-radius: 15px;
    margin: 20px 0;
}

.images-list-item img,
.partners-images-list-item img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.partners {
    padding: 60px 120px;
    background-color: #e3e5e6;
}

.partners-h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 25px;
}

footer {
    background-color: rgb(69, 66, 66);
    font-family: 'Advent Pro', sans-serif;
}

.footer-section {
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    padding: 50px;
    color: #f49f36;
    margin: 0 auto;
}

.footer-contacts-title,
.footer-working-hours-title {
    font-size: 26px;
    font-weight: 800;
}

.footer-contacts,
.footer-working,
.footer-social-media-list {
    font-size: 26px;
    font-weight: 700;
}

.footer-contacts-text,
.footer-working-hours-day,
.footer-time {
    margin: 15px 0;
}

.footer-contacts-phone,
.footer-contacts-mail {
    text-decoration: none;
    color: #f49f36;
}

.footer-social-media-list-item {
    list-style-type: none;
    margin: 10px 0;
}

.footer-social-media-list-item a {
    text-decoration: none;
    color: #f49f36;
}

.all-rights {
    padding: 5px 0;
    color: #f49f36;
    border-top: 1px solid gray;
    text-align: center;
}

.all-rights-reserved {
    margin: 0 auto;
    max-width: 1200px;
}

@media all and (max-width: 600px) {
    .header-section {
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
    }

    .header-logo-img {
        width: 300px;
        height: auto;
        margin-bottom: 15px;
    }

    .header-logo-img img {
        width: 100%;
        height: 100%;
    }

    .header-nav-list-item a {
        font-size: 16px;
    }

    .intro {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../img/intro-img/IMG_2529.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        text-align: center;
        color: white;
    }

    .intro-title {
        padding: 40px 60px;
        height: auto;
        font-size: 25px;
        background: none;
    }

    .intro-h2,
    .intro-subtitle {
        color: white;
        letter-spacing: 5px;
    }

    .intro-content {
        padding: 0px 60px 40px 60px;
    }

    .intro-content-text {
        font-size: 16px;
    }

    .images, .partners {
        padding: 40px 60px;
    }

    .images-list, .partners-images-list {
        flex-direction: column;
    }

    .images-list-item, .partners-images-list-item {
        margin: 10px;
        height: 250px;
        width: 250px;
    }

    footer {
        text-align: center;
    }

    .footer-section {
        flex-direction: column;
        padding: 25px;
    }

    .footer-contacts,
    .footer-working,
    .footer-social-media-list {
        margin: 10px;
    }
}

@media all and (max-width: 450px) {
    .header-section {
        flex-direction: column;
        justify-content: space-between;
        padding: 5px;
    }

    .header-logo-img {
        width: 70vw;
        height: auto;
    }

    .header-logo-img img {
        width: 100%;
        height: 100%;
    }

    .header-nav-list-item a {
        font-size: 14px;
    }

    .intro-title {
        padding: 15px;
        height: 100px;
        font-size: 18px;
    }

    .intro-content {
        padding: 10px;
    }

    .intro-content-text {
        font-size: 15px;
    }

    .images {
        padding: 10px;
    }

    .partners-h3{
        font-size: 22px;
    }

    .images-list-item .partners-images-list-item {
        margin: 5px;
        height: 250px;
        width: 70vw;
    }

    footer {
        text-align: center;
    }

    .footer-section {
        flex-direction: column;
        padding: 10px;
    }

    .footer-contacts,
    .footer-working,
    .footer-social-media-list {
        margin: 10px;
    }
}