@import url(./fonts.css);

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Rubick';
    font-weight: 400;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background: #3E8989;
}

.header__content {
    display: flex;
    justify-content: space-between;
    padding: 33px 0;
}

.header__link {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #fff;
    padding: 8px 0;
}

.header__menu {
    display: flex;
    column-gap: 30px;
}

.header__link::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: 500ms;
    opacity: 0;
}

.header__link:hover::after {
    opacity: 1;
}

.header__form {
    display: flex;
}

.header__input {
    padding: 8px 20px;
    background: #fff;
    border-radius: 20px 0px 0px 20px;
    border: none;
}

.header__input::placeholder {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #898989;
    text-transform: capitalize;
}

.header__btn {
    max-width: 74px;
    width: 100%;
    padding: 9px 14px;
    background: #295E5E;
    border-radius: 0px 20px 20px 0px;
    border: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #fff;
    text-transform: capitalize;
}

.banner {
    min-height: 800px;
    background: url(../img/pic2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 80px;
    display: flex;
}

.banner__title {
    font-weight: 600;
    font-size: 80px;
    line-height: 95px;
    color: #fff;
    margin-bottom: 20px;
}

.banner__desc {
    font-weight: 500;
    font-size: 40px;
    line-height: 47px;
    color: #fff;
    margin-bottom: 50px;
}

.banner__link {
    width: 200px;
    background: #B4436C;
    border-radius: 30px;
    padding: 14px;
    text-align: center;
    text-transform: capitalize;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    transition: 500ms;
}

.banner__link:hover {
    color: #B4436C;
    background: #fff;
}

.about {
    margin-bottom: 97px;
}

.about__title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    color: #3E8989;
    text-align: center;
    margin-bottom: 50px;
}

.about__content {
    display: flex;
    column-gap: 20px;
}

.about__img {
    max-width: 545px;
    width: 100%;
    object-fit: contain;
}

.about__desc {
    margin-top: 9px;
}

.about__subtitle {
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #000;
    margin-bottom: 20px;
}

.cards {
    margin-bottom: 100px;
}

.cards__title {
    font-family: 'Inter';
    font-size: 40px;
    line-height: 48px;
    color: #3E8989;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 53px;
}

.cards__content {
    display: flex;
    column-gap: 20px;
}

.card {
    max-width: 263px;
    width: 100%;
}

.card__box {
    width: 100%;
    min-height: 300px;
    margin-bottom: 30px;
    background: #efefef;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card__title {
    font-family: 'Inter';
    font-size: 24px;
    line-height: 29px;
    color: #000;
    text-align: center;
    transition: 500ms;
}

.card__title:hover {
    color: #B4436C;
}

.contacts {
    margin-bottom: 104px;
}

.contacts__title {
    font-family: 'Inter';
    font-size: 40px;
    line-height: 48px;
    color: #3E8989;
    text-transform: capitalize;
    margin-bottom: 50px;
    text-align: center;
}

.contacts__content {
    display: flex;
    justify-content: space-between;
}

.contacts__desc {
    max-width: 550px;
    width: 100%;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #000;
}

.contacts__box {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.contacts__link {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #000;
}

.footer {
    background: #3E8989;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 15px 15px 15px;
}

.footer__menu {
    display: flex;
    column-gap: 30px;
    margin-bottom: 59px;
}

.footer__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #fff;
    margin-right: 8px;
}

.footer__box {
    display: flex;
}

.footer__span {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #fff;
    margin-right: 8px;
}