/* Basic */

@font-face {
    font-family: "AgencyFB";
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/agencyfb.woff2') format('woff2'),
         url('../fonts/agencyfb.woff') format('woff');
}

@font-face {
    font-family: "AgencyFB";
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/agencyfb_bold.woff2') format('woff2'),
         url('../fonts/agencyfb_bold.woff') format('woff');
}

@font-face {
    font-family: "Arial Narrow";
    font-style: normal;
    font-weight: 400;
    src: local("Arial Narrow"),
         url("../fonts/arialnarrow.woff") format("woff"),
  }
  
@font-face {
    font-family: "Arial Narrow";
    font-style: normal;
    font-weight: 700;
    src: local("Arial Narrow"),
         url("../fonts/arialnarrow_bold.woff") format("woff"),
}

:root {
    --orange: #00192F;
    --steel: #333F50;
    --grey: #D9D9D9;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color: var(--orange);
    font-family: "Arial Narrow", sans-serif;
}

body {
    min-height: 100vh;
    position: relative;
    padding-bottom: 155px;
}

.button {
    font-size: 24px;
    height: fit-content;
    padding: 15px 20px;
    font-family: "AgencyFB", sans-serif;
    border-radius: 10px;
    outline: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
}

.title {
    font-size: 48px;
    font-weight: bold;
}

/* END Basic */

/* Modal */

.label.error {
    font-weight: 700;
    display: block;
    color: red;
}

.blocker {
    z-index: 1001;
}

.modal {
    z-index: 1003;
    margin-bottom: 8%;
    top: 12%;
    bottom: 12%;
    max-width: fit-content;
    padding: 55px 45px;
    max-height: max-content;
}

.modal--offer {
    border: 5px solid #00B295;
}

.modal--contacts {
    border: 5px solid #A9D3FF;
}

.modal__title {
    display: block;
    font-family: "AgencyFB", sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 40px;
}

.modal--offer a.close-modal {
    background-image: url(../img/green-close.svg);
}

.modal--contacts a.close-modal {
    background-image: url(../img/blue-close.svg);
}

.modal a.close-modal[class*="icon-"] {
    background-color: #00B295;
}

.modal-grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr;
}

.modal-grid__item {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .15s ease-in-out;
}

.modal-grid__item--title {
    color: var(--orange);
    position: absolute;
    display: block;
    bottom: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 32px;
}

.modal-grid__item--logo {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 15px;
    z-index: 3;
}

.modal-grid__item:hover {
    transform: scale(102%);
}


.modal-grid__item:nth-child(3n) {
    grid-column-start: 1;
    grid-column-end: 3;
}

.modal-grid__item--image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* END Modal */

/* Header */
.header {
    position: fixed;
    z-index: 1000;
    margin: 0 auto;
    width: 100%;
    background-color: #A9D3FF;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.header-wrapper__logo {
    height: 30px;
}

.header-burger {
    display: none;
    z-index: 1003;
    position: relative;
    width: 20px;
    height: 15px;
    transition: transform 0.2s ease-in-out;
}

.header-burger span {
    position: absolute;
    background-color: black;
    left: 0;
    height: 3px;
    width: 100%;
    top: 6px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.header-burger.active:before {
    transform: rotate(45deg);
    top: 5px;
}

.header-burger.active:after {
    transform: rotate(-45deg);
    bottom: 7px;
}

.header-burger.active span {
    opacity: 0;
}

.header-burger::after,
.header-burger::before {
    content: "";
    background-color: black;
    position: absolute;
    transition: transform 0.2s ease-in-out;
    width: 100%;
    height: 3px;
    left: 0;
}

.header-burger::before {
    top: 0;
}

.header-burger::after {
    bottom: 0;
}

.form-header {
    display: flex;
}

.navbar-list {
    display: flex;
    align-items: center;
}

.navbar-list__item {
    font-family: "AgencyFB", sans-serif;
    font-size: 18px;
    list-style: none;
    margin-right: 48px;
}

.navbar-list__item:nth-child(5n) {
    margin-right: 0;
}

.navbar-list__item--link {
    text-decoration: none;
    color: black;
    transition: color .15s ease-in-out, text-decoration .15s ease-in-out;
    
}

.navbar-list__item--link:hover {
    color: #005096;
}
.navbar-list__item--button {
    border-radius: 0px;
    display: block;
    font-size: 18px;
    padding: 18px 20px;
    background-color: #42B59A;
    color: black;
    text-decoration: none;
}

.navbar-list__item--button:hover, .footer-wrapper__button:hover  {
    background-color: #A9D3FF ;
}

/* END Header */

/* Hero */

.hero-wrapper {
    padding-top: 110px;
}

.hero__title {
    margin-bottom: 40px;
}

.hero-grid {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: min-content max-content;
    grid-template-columns: 1fr;
    margin-bottom: 80px;
}

.hero-grid__item {
    display: grid;
    position: relative;
    overflow: hidden;
    transition: transform .15s ease-in-out;
}

.hero-grid__item:hover {
    transform: scale(102%);
}

.hero-grid__item--image {
    width: 100%;
    max-height: 400px;
    /* height: max-content; */
    /* max-height: 170px; */
    object-fit: cover;
}

.hero-grid__item--title {
    position: absolute;
    z-index: 1;
    left: 25px;
    bottom: 25px;
    color: var(--orange);
    font-size: 48px;
}

.hero-grid__item--logo {
    position: absolute;
    right: 25px;
    bottom: 30px;
    width: 80px;
    height: 27px;
}

/* END hero */

/* footer */

.footer {
    background-color: #A9D3FF;
    position: absolute;
    color: black;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 16px;
}

.footer-wrapper__info {
    max-width: 660px;
}

.footer-wrapper__subtitle {
    display: block;
    margin-top: 20px;
}

.footer-wrapper__button {
    display: block;
    padding: 15px 20px;
    background-color: black;
    color: black;
    line-height: 1;
    font-weight: normal;
}

/* END footer */

/* Main */

.main {
    position: relative;
    padding-top: 110px;
    background-position: 0 50px;
    background-size: cover;
    padding-bottom: 30px;
    margin-bottom: 80px;
}

.main-wrapper {
    position: relative;
}

.main::before {
    content: "";
    position: absolute;
    background-color: #33C0F3;
    background-image: url(../img/pattern.png);
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 80%;
}

.main-wrapper__logo {
    width: 430px;
    height: 185px;
}

.main-wrapper__title {
    font-family: "AgencyFB", sans-serif;
    max-width: 450px;
    margin: 0;
    margin-bottom: 60px;
    color: black;  
}

.main-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}

.main-info {
    color: white;
}

.main-list {
    color: #323f4f ;
    margin-left: 20px;
    margin-bottom: 52px;
    max-width: 570px;
}


.main-list__item {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 16px;
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
}

.main-list__item:nth-child(7n) {
    margin-bottom: 0;
}

.main-list__title {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 24px;  
}

.main-list__item--icon {
    margin-right: 10px;
}

.main-map {
    max-width: 440px;
    color: white;
}

.main-map__title {
    display: block;
    margin-bottom: 38px;
}

.main-map__image {
    display: block;
}

.main-info__button {
    color: white;
    border: none;
    background-color: var(--steel);
}

.main-info__button:hover {
    background-color: #5c708e;
}

.main-info__button--primary {
    color: white;
    background-color: var(--orange);
    font-weight: bold;
    margin-right: 28px;
    padding-top: 14px;
}

.main-info__button--primary:hover {
    background-color: #ff6600;
}

.main-row {
    display: flex;
    justify-content: space-between;
    color:black;
}

.main-row__item {
    display: flex;
    max-width: 310px;
}

.main-row__item--bold {
    font-size: 24px;
    margin-top: 12px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.main-row__item--image {
    margin-right: 15px;
    width: 160px;
    height: 70px;
}

/* END Main */

/* Services Start */
.services__title {
    font-size: 48px;
    margin-bottom: 40px;
}

.our-regions-content {
    display: flex;
    margin-bottom: 80px;
}

.our-regions-buttons {
    display: grid;
    width: 100%;
    grid-gap: 10px;
    grid-template-rows: 1fr 1fr 1fr;
}

.our-regions-content__button {
    display: flex;
    font-family: "AgencyFB", sans-serif;
    justify-content: center;
    align-items: center;
    background-color: #42B59A;
    border-radius: 10px;
    text-align: center;
    font-size: 32px;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: black;
}

.our-regions-content__button:hover {
    transition: all .2s;
    transform: scale(102%);
    background-color: #A9D3FF ;
}
/* Services END */

/* Steel */

.steel {
    background-image: url(../img/bg-steel.jpg);
}
/* END Steel */

/* Products Table */

.products-tables-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    align-items: center;
}

.products-tables-header__button {
    background-color: #42B59A;
    color: black;
}

.products-tables-header__button:hover {
    background-color: #A9D3FF;
}

.table {
    width: 100%;
    border-spacing: 10px;
    margin-bottom: 28px;
}

.table-icon {
    display: none;
    width: 20px;
    height: 40px;
}

.table-icon__info {
    display: none;
}

.table-icon__icon {
    width: 100%;
    height: auto;
}

.table-info-wrapper {
    display: none;
}

.table:nth-last-child(n) {
    margin-bottom: 0;
}

.table__title {
    display: block;
    width: 100%;
    font-weight: 700;
    font-size: 32px;
    color: var(--steel);
    margin-bottom: 10px;
}

.table__subtitle {
    font-weight: 400;
    font-size: 20px;
}

.table__item--head {
    background-color: var(--steel);
    padding: 14px 25px;
    color: var(--orange);
    min-width: max-content;
}

.table__item {
    vertical-align: top;
    text-align: start;
    background-color: white;
    padding: 14px 25px;
}

.table__info {
    display: block;
    font-weight: 400;
    font-size: 14px;
    color: var(--grey);
    margin-bottom: 40px;
}

.products-tables-footer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.products-tables-footer__text {
    max-width: 540px;
    font-size: 14px;
    color: var(--grey);
}

.table__item--l {
    min-width: 145px;
}

.table__item--xl {
    min-width: 200px;
}

.table__item--xxl {
    min-width: 260px;
}
/* END Products Table */

/* Plywood Modal */

.plywood-form {
    display: grid;
    grid-template-columns: 160px 430px;
    grid-template-rows: 2fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

.plywood-form__privacy {
    font-size: 14px;
    margin-top: 5px;
    grid-column-start: 1;
    grid-column-end: 3;
}

/* .plywood-form__title {
    max-width: 560px;
} */

.plywood-form-buttons {
    display: flex;
    grid-column-start: 2;
    grid-column-end: 3;
}

.plywood-form__button {
    width: fit-content;
    background-color: var(--steel);
    color: black;
    margin-left: 25px;
}

.plywood-form__button--primary {
    background-color: #42B59A;
    max-width: 110px;
    margin-left: auto;
    /* margin-right: 25px; */
}

.plywood-form__button--primary:hover {
    background-color: #A9D3FF;
}

.plywood-form__textarea {
    resize: none;
}

.plywood-form__span {
    font-weight: 400;
    font-size: 16px;
}

/* END Plywood Modal */

/* MODAL Plywood PRODUCT */

.plywood-product {
    display: grid;
    grid-template-columns: 1fr;
}

.plywood-product-list {
    margin-bottom: auto;
}

.plywood-product__info {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.plywood-product__buttons {
    display: flex;
}

.plywood-product__button {
    width: fit-content;
    margin-right: 30px;
}

.plywood-product-list__item--image {
    margin-right: 10px;
}

.plywood-product__title {
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 32px;
}

.plywood-product__subtitle {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 20px;
}

.plywood-product__text {
    display: block;
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
}

/* .products-tables-header__button {
    position: relative;
    bottom: 0;
} */

.plywood-product-table{
    margin-bottom: 30px;
    border-collapse: collapse;
    width: 100%;
}

.table__item--head {
    border: 1px solid #42B59A;
}

.table__item {
    border: 1px solid #42B59A;
}

.plywood-product-table__item--head {
    width: 390px;
    font-weight: 700;
    font-size: 14px;
    background-color: #A9D3FF !important;
}

.plywood-product-table__item--head--small {
    width: 40px;
}

.plywood-product-table__item--head--xs {
    width: 130px;
}

/* END MODAL Plywood PRODUCT */

/* Plywood */

.thankyou {
    margin-bottom: 50px;
}

.plywood {
    background-image: url(../img/bg.png);
}

.product-range {
    background-image: url(../img/bg-product.jpg);
    padding-bottom: 80px;
}

/* END PlyWood */

/* Plywood Products */
.plywood-products {
    margin-bottom: 80px;
}

.plywood-products-wrapper {
    display: grid;
    grid-template-columns:repeat(3, 1fr) ;
    grid-template-rows: repeat(3, 1fr);
    margin-bottom: 15px;
}

.products__subtitle {
    display: block;
    font-size: 18px;
    max-width: 785px;
    margin-bottom: 40px;
    color:#00192F;
    opacity: 80;
}

.products-tables-buttons--bottom {
    display: flex;
    justify-content: space-between;
}

.plywood-products-wrapper__item {
    outline: none;
    border: 1px solid var(--orange);
    background-color: transparent;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease-in-out, background-color .15s ease-in-out;
    padding: 15px;
}

.plywood-products-wrapper__item:hover {
    transform: scale(102%);
    background-color: var(--grey);
}

.plywood-products-wrapper__item--title {
    margin: 0;
    margin-bottom: 10px;
    color: var(--orange);
    font-weight: 700;
    font-size: 24px;
}

.plywood-products-wrapper__item--info {
    font-weight: 400;
    font-size: 16px;
    color: black;
}
/* END Plywood Products */

/* Contacts */

.contacts-form__logo {
    height: 60px;
}


.contacts-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.contacts-content-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.contacts-content-info__title {
    font-size: 18px;
    columns: var(--orange);
    font-weight: bold;
    margin-bottom: 20px;
}

.contacts-content-info--link {
    color: #42B59A;
    text-decoration: none;
    margin-bottom: 5px;
}

.contacts-content-info--link:hover {
    color: var(--orange);
}

.contacts-content-info__img {
    max-width: 100%;
    max-height: 230px;
    margin-right: 10px;
    margin-bottom: 20px;
}

.contacts-content-countries {
    margin: 0 auto;
    margin-top: 20px;
}


/* END Contacts */

/* Health */

.health {
    background-image: url(../img/bg-health.jpg);
}

.main-row__item--health {
    align-items: center;
}

/* END Health */

/* Adaptive */

@media (max-width: 480px) {
    .container {
        max-width: 300px;
        overflow: hidden;
    }

    body {
        padding-bottom: 200px;
    }

    .footer {
        height: 220px;
    }

    .products-tables-buttons--bottom {
        flex-direction: column;
    }

    .products-tables-buttons {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .big-table {
        overflow: auto;
        position: relative;
        margin-bottom: 20px;
    }

    .button {
        padding: 15px 20px;
        font-size: 14px;
    }

    .header-wrapper {
        padding: 10px 0px;
    }

    .main-info__button--primary {
        margin-right: 14px;
    }

    .navbar-list {
        display: none;
        position: absolute;
        background-color: black;
        top: 50px;
        padding: 10px 20px;
        padding-top: 30px;
        width: 100%;
        height: 0;
        left: 0;
        color: white;
        opacity: 0;
        transition: opacity .2s ease-in-out, height .2s ease-in-out;
    }

    .navbar-list.active {
        display: block;
        opacity: 1;
        height: 100vh;
    }

    .navbar-list__item {
        margin-bottom: 20px;
    }

    .navbar-list__item--button {
        display: block;
    }

    .navbar-list__item--link {
        color: #fff;
        font-size: 20px;
    }

    .header-burger {
        display: block;
    }

    .main {
        padding-top: 100px;
        margin-bottom: 70px;
    }

    .main::before {
        width: 100%;
    }

    .main-info {
        margin-bottom: 50px;
    }

    .main-map__image {
        max-width: 300px;
    }

    .main-map {
        max-width: 300px;
    }

    .main-content {
        flex-direction: column;
    }

    .main-list {
        margin-bottom: 10px;
    }

    .main-row {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .main-row__item {
        margin-bottom: 20px;
    }

    .title {
        font-size: 32px;
    }

    .main-wrapper__title {
        margin-bottom: 40px;
    }

    .main-row__item--text {
        font-size: 14px;
    }

    .main-list__title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .main-wrapper__logo {
        display: none;
    }

    .main-list__item {
        font-size: 14px;
    }

    .table {
        overflow: scroll;
        border-spacing: 5px;
        margin-bottom: 10px;
    }

    .table__title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .table__item {
        font-size: 12px;
    }

    .table__item--head {
        font-size: 14px;
    }

    .table__subtitle {
        font-size: 14px;
    }
    
    .table__info {
        font-size: 12px;
    }

    .products-tables-footer {
        flex-direction: column;
    }

    .products-tables-header__button {
        max-width: 105px;
        margin-bottom: 20px;
    }

    .products-tables-header {
        margin-bottom: 10px;
        flex-direction: column;
    }

    .products-tables-footer__text {
        font-size: 12px;
    }

    .our-regions-content__button {
        font-size: 18px;
    }
    .footer-wrapper {
        flex-direction: column;
    }

    .footer-wrapper__info {
        margin-bottom: 20px;
    }

    .footer-wrapper__button {
        margin-right: auto;
    }

    .contacts-content {
        grid-template-columns: 1fr
    }

    .contacts-content-info {
        margin-bottom: 20px;
    }
    
    .contacts-content-countries {
        margin: 0;
        -moz-column-count: 2; /* Firefox */
        -webkit-column-count: 2; /* Safari and Chrome */
        column-count: 2;
        margin-left: 20px;
        margin-bottom: 50px;
    }

    .plywood-products-wrapper {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }

    .plywood-products-wrapper__item--title {
        font-size: 16px;
    }

    .plywood-products-wrapper__item--info {
        font-size: 14px;
    }

    .plywood-form {
        display: flex;
        flex-direction: column;
        grid-gap: 10px;
    }

    .plywood-form-buttons {
        margin-top: 20px;
    }

    .modal {
        padding: 25px 20px;
    }

    .plywood-product {
        grid-template-columns: 300px;
    }

    .plywood-product__title {
        font-size: 24px;
    }

    .plywood-product__subtitle {
        font-size: 18px;
    }

    .plywood-product__buttons {
        display: flex;
        flex-direction: column;
    }

    .products-tables-header__button {
        max-width: fit-content;
    }

    .plywood-product-list {
        margin-bottom: 20px;
    }

    .plywood-product-table__item--head {
        font-size: 12px;
    }

    .plywood-product {
        display: flex;
        flex-direction: column;
    }

    .plywood-product-table {
        width: 320%;
    }

    .table__item--head {
        min-width: auto;
    }

    .plywood-product__buttons {
        margin-bottom: 20px;
    }

    .hero-grid__item--title {
        font-size: 20px;
        bottom: 5px;
        left: 5px;
    }

    .hero-grid {
        grid-template-rows: 1fr 1fr;
    }

    .hero-grid__item--logo {
        width: 57px;
        height: 20px;
        top: 5px;
        right: 5px;
    }

    .table-icon {
        display: inline-block;
        width: 40px;
        height: auto;
    }
    
    .table-icon__info {
        display: inline-block;
    }

    .table-info-wrapper {
        display: flex;
        align-items: center;
        border-radius: 10px;
        padding: 20px;
        background-color: rgb(239, 239, 239);
        margin-bottom: 20px;
    }
}
.modal__title{
    color: var(--orange);
}
/* END Adaptive */