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;
}

main {
    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 {
    color: #ED701C;
    font-family: 'Advent Pro', sans-serif;
    font-weight: 800;
}

.products {
    padding: 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-module,
.product-mobile,
.product-driveIn,
.product-console,
.product-conventional,
.product-mezzanines {
    padding: 50px 0 20px 0;
}

.product-module-content-title,
.product-mobile-content-title,
.product-driveIn-content-title,
.product-console-content-title,
.product-conventional-content-title,
.product-mezzanines-content-title {
    font-size: 30px;
    text-decoration: underline;
    padding-bottom: 30px;
    text-align: center;
    color: #ef670d;
}

.product-module-content-text,
.product-mobile-content-text,
.product-driveIn-content-text,
.product-console-content-text,
.product-conventional-content-text,
.product-mezzanines-content-text {
    font-size: 20px;
    text-align: justify;
    line-height: 32px;
}

.details-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0;
}

.details-content-list {
    font-size: 20px;
    margin-left: 50px;
    line-height: 32px;
}

.details-img {
    height: 350px;
}

.details-img img {
    width: 100%;
    height: 100%;
}

.see-more-summary {
    display: inline-block;
    padding: 12px 36px;
    font-size: 18px;
    border: 2px solid black;
    border-radius: 24px;
    background-color: transparent;
    font-weight: bold;
    margin: 15px 0;
    cursor: pointer;
}

.see-more-summary:hover {
    background-color: #ED701C;
    border-color: #ED701C;
    color: white;
}

.see-more-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.see-more-img {
    flex-basis: 30%;
    height: 250px;
    margin: 20px 10px;
    border-radius: 15px;
}

.see-more-img img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.see-more-img:hover {
    transition: 2s ease;
    transform: scale(2);
}

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-title {
        padding: 40px 60px;
        height: auto;
        font-size: 25px;
    }

    .intro-h2 {
        letter-spacing: 5px;
    }

    .products {
        padding: 20px 60px;
    }

    .product-module,
    .product-mobile,
    .product-driveIn,
    .product-console,
    .product-conventional,
    .product-mezzanines {
        padding: 20px 0;
    }

    .product-module-content-title,
    .product-mobile-content-title,
    .product-driveIn-content-title,
    .product-console-content-title,
    .product-conventional-content-title,
    .product-mezzanines-content-title {
        font-size: 24px;
    }

    .product-module-content-text,
    .product-mobile-content-text,
    .product-driveIn-content-text,
    .product-console-content-text,
    .product-conventional-content-text,
    .product-mezzanines-content-text {
        font-size: 16px;
    }

    .details-content {
        flex-direction: column-reverse;
    }

    .details-content-list {
        font-size: 16px;
        margin: 50px 0 0 0;
    }

    .details-img {
        height: 300px;
        width: 90%;
    }

    .details-img img {
        width: 100%;
        height: 100%;
    }

    .see-more-gallery {
        flex-direction: column;
    }

    .see-more-img {
        margin: 10px;
        height: 350px;
        width: 250px;
    }

    .see-more-img:hover {
        transition: 2s ease;
        transform: scale(2);
    }

    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: 25px;
        height: auto;
        font-size: 18px;
    }

    .products {
        padding: 20px;
    }

    .product-module,
    .product-mobile,
    .product-driveIn,
    .product-console,
    .product-conventional,
    .product-mezzanines {
        padding: 10px 0;
    }

    .product-module-content-title,
    .product-mobile-content-title,
    .product-driveIn-content-title,
    .product-console-content-title,
    .product-conventional-content-title,
    .product-mezzanines-content-title {
        font-size: 20px;
    }

    .product-module-content-text,
    .product-mobile-content-text,
    .product-driveIn-content-text,
    .product-console-content-text,
    .product-conventional-content-text,
    .product-mezzanines-content-text {
        font-size: 15px;
    }

    .details-content {
        flex-direction: column-reverse;
    }

    .details-content-list {
        font-size: 15px;
        margin: 30px 0 0 0;
    }

    .details-img {
        height: 260px;
        width: 90%;
    }

    .details-img img {
        width: 100%;
        height: 100%;
    }

    .see-more-summary {
        padding: 6px 18px;
        font-size: 14px;
        border: 1px solid black;
    }

    .see-more-img {
        margin: 10px;
        height: 250px;
        width: 250px;
    }

    .see-more-img:hover {
        transition: 2s ease;
        transform: scale(1.5);
    }

    footer {
        text-align: center;
    }

    .footer-section {
        flex-direction: column;
        padding: 10px;
    }

    .footer-contacts,
    .footer-working,
    .footer-social-media-list {
        margin: 10px;
    }
}