@import "fonts.css";
@import "reset.css";

body {
    background: #E5E5E5;
}

.nav {
    background: #322E41;
}

.nav__list-link {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    padding: 23px;
    display: block;
    transition: 0.3s;
}

/* :hover - эффект при наведении на элемент */

.nav__list-link:hover {
    background: white;
    color: #D47300;
}

.nav__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__list {
    display: flex;
}

.header__content {
    min-height: 500px;
    background: url('../images/header_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.header__content-title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    line-height: 59px;
    color: #FFFFFF;
}

.header__content-subtitle {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    margin-top: 15px;
}

.header__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header__content-subtitle:hover>.subtitle__span {
    color: red;
}

.subtitle__span {
    font-weight: 700;
    transition: .5s;
    border-bottom: 1px solid red;
}

.products__main-card {
    padding: 15px;
    background: #FFFFFF;
    margin-right: 30px;
    border-radius: 6px;
    transition: 0.5s;
}

.products__main-card:hover {
    box-shadow: 10px 10px rgb(0, 0, 0, 0.2);
}

.products__main-card:hover>.main-card__title {
    font-size: 26px;
}

.main-card__title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    color: #2C2A2A;
    margin-top: 20px;
    margin-bottom: 10px;
    max-width: 510px;
    transition: 0.5s;
}

.main-card__descr {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #9B9B9B;
    max-width: 510px;
}

.product__content-item {
    padding: 15px;
    background: #FFFFFF;
    border-radius: 6px;
    max-width: 255px;
    height: 189px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
}

.product__content-item:hover {
    box-shadow: 10px 10px rgb(0, 0, 0, .4);
}


.product__content-item>img {
    border: 2px solid #D47300;
    padding: 12px;
    border-radius: 50%;
    transition: .5s;
}

.product__content-item:hover>img {
    transform: scale(1.2);
}

.item__title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 6px;
    text-align: center;
    color: #2C2A2A;
}

.item__descr {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: #9B9B9B;
}

.items {
    display: flex;
    gap: 30px;
}

.products__content {
    display: flex;
}

.products__content-items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main {
    margin: -30px 0 30px;
}

.footer {
    padding: 40px 0;
    background: #322E41;
}

.form {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form__input {
    width: 330px;
    height: 36px;
    border-radius: 6px;
    padding: 0 10px;
    border: none;
    outline: none;
}

.form__textarea {
    width: 330px;
    height: 86px;
    padding: 10px;
    border-radius: 6px;
    border: none;
    outline: none;
    color: #2C2A2A;
    resize: vertical;
}

.form__btn {
    padding: 10px;
    background: #544294;
    border-radius: 6px;
    border: none;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    color: #FFFFFF;
}

.footer_link-list {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;

 
}

.list{
    display: flex;
    flex-direction: column;
    gap: 10px   ;
}

.footer_link-list:hover {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #D57300;
}

.footer__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ul_list {
    display: flex;
}

.contacts_link-list {
    margin-right: 40px;
}