@import url(./all.min.css);
@import url(./fonts.css);
@import url(./common.css);

.window {
    background: rgba(0, 0, 0, 0.5);
    height: 100dvh;
    position: fixed;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: 1s;
    opacity: 0;
}

.window:target {
    visibility: visible;
    opacity: 1;
    /* background: red; */
}
.window__form {
    width: 400px;
    height: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.nav {
    padding: 25px 0;
}

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

.menu {
    display: flex;
    gap: 40px;
    font-size: 12px;
}

.menu__dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 12px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 2px;
    min-width: 160px;
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

.menu__dropdown:hover .dropdown {
    opacity: 1;
    z-index: 1;
}

.menu__dropdown i {
    transition: 0.5s;
}

.menu__dropdown:hover i {
    transform: rotate(180deg);
}

.dropdown__link {
    padding: 12px 30px;
    display: block;
    position: relative;
}

.dropdown__link::after {
    content: '';
    width: 100%;
    height: 1px;
    background: #E5E5E5;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
}


.dropdown li:last-of-type ::after {
    display: none;
}

.nav__burger {
    font-size: 30px;
    display: none;
    order: 1;
}

.nav__input {
    font-family: 'Roboto';
    font-size: 14px;
    border: 1px solid #41A28E;
    padding: 6px 12px;

    &::placeholder {
        color: #4B4848;
    }
}

/* .nav__input::placeholder {
    color: #4B4848;
} */


.nav__btn {
    background: #41A28E;
    color: #fff;
    padding: 7px;
    font-size: 14px;
    line-height: 14px;
    /* cursor: url('../img/cursor.png'); */
    cursor: pointer;
}

.nav__form {
    display: flex;
    gap: 4px;
}

.header {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.header__content {
    flex-grow: 1;
    background: url(../img/header-bg.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.header__title {
    font-size: 50px;
    background: rgba(0, 0, 0, 0.70);
    font-weight: 400;
    padding: 17px 61px;
    margin-bottom: 30px;
}

.header__desc {
    font-size: 22px;
    margin-bottom: 50px;
    text-shadow: 6px 6px 5px rgba(0, 0, 0, 0.38);
    /* box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 255, 0.582), inset 5px 0px 10px 5px green; */
}

.header__link {
    background: #fff;
    padding: 22px 35px;
    color: #000;
    font-size: 12px;
    transition: 0.5s;

    &:hover {
        background: #41A28E;
        color: #fff;
    }
}

.ecom {
    padding-top: 48px;
    padding-bottom: 72px;
}

.ecom__content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 52px;
}

.ecom__card {
    max-width: 255px;
    width: 100%;
    height: 170px;
    border: 1px solid #41A28E;
    position: relative;
    overflow: hidden;
}

.ecom__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecom__title {
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    background: rgba(75, 72, 72, 0.7);
    padding: 2px;
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    transition: 0.5s;
}

.ecom__card:hover .ecom__title {
    bottom: 0;
}

.info {
    max-width: 496px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.info__title {
    font-size: 50px;
    font-weight: 400;
}

.info__desc {
    font-family: 'Roboto';
    color: #666666;
    margin-top: 18px;
}

.project {
    background-image: url(../img/jacket.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 120px;
    padding-bottom: 112px;
    color: #fff;
}

.project__desc {
    font-size: 20px;
    margin-bottom: 3px;
}

.project__title {
    font-size: 50px;
    margin-bottom: 22px;
    font-weight: 400;
}

.project__link {
    background: #fff;
    text-align: center;
    font-size: 12px;
    color: #000;
    padding: 23px 42px;
    transition: 0.5s;
    display: inline-block;

    &:hover {
        background: #41A28E;
        color: #fff;
    }
}

.custom {
    padding: 50px 0;
}

.custom__content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 69px;
}

.custom__card {
    max-width: 255px;
    width: 100%;
}

.custom__wrapper {
    height: 340px;
    position: relative;
    overflow: hidden;

    &[data-info]::before {
        content: attr(data-info);
        background: #4b484b;
        padding: 10px 18px 6px 18px;
        position: absolute;
        left: 0;
        top: 0;
        font-family: 'Roboto';
        color: #fff;
        font-size: 12px;
        text-transform: uppercase;
    }
}

.custom__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom__service {
    position: absolute;
    bottom: -20%;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    padding: 16px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    gap: 22px; 
    transition: 0.5s;
}

.custom__card:hover .custom__service {
    bottom: 0;
}

.custom__add {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;
}

.custom__title {
    margin-top: 43px;
    font-size: 22px;
    font-weight: 400;
}

.custom__price {
    font-size: 18px;
    margin-top: 6px;
    font-feature-settings: "lnum" on;
    display: flex;
    gap: 15px;

    &[data-sale]::before {
        content: attr(data-sale);
        color: #666666;
        text-decoration: line-through;
    }
}

.footer {
    background: #000;
    color: #fff;
    padding-top: 36px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 36px;
}

.footer__card {
    max-width: 255px;
    width: 100%;
    font-family: 'Roboto';
}

.footer__title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    font-family: 'PlayfairD';
}

.footer__link {
    padding: 10px 0;
    display: flex;
    
    font-size: 14px;
    align-items: center;

    i {
        font-size: 21px;
        margin-right: 10px;
    }
}

.footer__menu_py .footer__link {
    padding: 6px 0;
}

.footer__input {
    background: #fff;
    color: #000;
    padding: 10px 14px;
    font-size: 14px;
    max-width: 200px;
    width: 100%;

    &::placeholder {
        color: #909090;
    }
}

.footer__btn {
    background: #41A28E;
    padding: 12px 9px;
    font-size: 16px;
}

.footer__form {
    display: flex;
    margin-bottom: 20px;
}

.footer__desc {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer__icon {
    display: flex;
    gap: 25px;
    font-size: 30px;
}

.footer__copy {
    background: #121212;
    text-align: center;
    padding: 40px 0;
    font-family: 'Roboto';
    font-size: 18px;
    color: #666666;

    span {
        text-shadow: 0 0 4px #e52d27;
    }
}

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

::-webkit-scrollbar-thumb {
    background: #41A28E;
    border-radius: 6px;
}