@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

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

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

nav {
    background-color: #3E8989;
    padding: 37px 0;
}

.nav-box {
    display: flex;
    align-items: center;
}

.nav-box img {
    width: 86px;
}

.nav_list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    position: relative;
    margin: 0 182px 0 289px;
}

.nav_link {
    display: flex;
    align-items: center;
    
}

.nav_link a {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    padding-bottom: 5px;
    white-space: nowrap;
}

.nav_link::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    display: block;
    margin-top: 5px;
    transform: scale(0);
    transition: 0.5s;
}

.nav_link:hover::after {
    transform: scale(1);
}

.search_form {
    display: flex;
    align-items: center;
}

.search_form input {
    max-width: 216px;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 20px 0 0 20px;
    padding: 8px 20px;
    font-weight: 400;
    font-size: 16px;
    color: #898989;
}

.search_form button {
    width: 70px;
    border: none;
    outline: none;
    border-radius: 0 20px 20px 0;
    padding: 9px 14px;
    background-color: #295E5E;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
}

.intro {
    background-image: url(../Images/intro_bg.png);
    height: 800px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.intro h1 {
    font-weight: 600;
    font-size: 80px;
    color: #FFFFFF;
}

.intro h2 {
    font-weight: 500;
    font-size: 40px;
    color: #FFFFFF;
}

.intro button {
    border: none;
    outline: none;
    padding: 14px 78px;
    background-color: #B4436C;
    border-radius: 30px;
    color: #FFFFFF;
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    transition: 0.3s;
}

.intro button:hover {
    background-color: #FFFFFF;
    color: #B4436C;
}

body {
    background-color: #FFFFFF;
}

.about {
    margin: 80px 0 97px 0;
}

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

.about-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.about-box img {
    grid-row: span 2;
    max-width: 545px;
    width: 100%;
    object-fit: contain;
}

.about_text {
    align-self: center;
    line-height: 165%;
    font-weight: 400;
    font-size: 18px;
    color: black;
}

.catalog-box {
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;

}

.card a {
    max-width: 262px;
    max-height: 360px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.photo-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EFEFEF;
}

.photo-box img {
    width: 100%;
}

.card_title {
    text-align: center;
    color: #000000;
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 24px;
}

.card:hover .photo-box {
    transform: scale(1.1);
    transition: 0.5s;
}

.card:hover .card_title {
    transform: scale(1.1);
    transition: 0.5s;
    color: #B4436C;
}

.contacts {
    margin: 100px auto;
}

.contacts-box {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.contacts_title {
    font-family: Inter;
    font-weight: 600;
    font-size: 40px;
    color: #3E8989;
}

.contacts_text {
    width: 555px;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
}

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

.contacts_right a {
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
}

footer {
    background-color: #3E8989;
    width: 100%;
    /* height: 150px; */
    padding-top: 40px;
}

.footer-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.footer_list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer_link a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
}

.footer_text {
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
}

.footer_link::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    display: block;
    margin-top: 5px;
    transform: scale(0);
    transition: 0.5s;
}

.footer_link:hover::after {
    transform: scale(1);
}