@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import "main.css";

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 21px;
}

a {
    text-decoration: none;
}

img{
    max-width: 100%;
}

.container {
    width: 1400px;
    margin: 0 auto;
}

header{
    padding: 50px 0;
}

header .logo {
    font-size: 40px;
    font-weight: 400;
    font-style: italic;
}

header nav{
    float: right;
    width: 50%;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

header nav ul li, footer nav:not(.footer--menu) ul li {
    display: inline-block;
}

header nav ul li a, footer nav ul li a {
    color: black;
    font-size: 16px;
}

header nav ul li:not(.btn) a:hover, footer nav ul li:not(.btn) a:hover, .top nav ul li:not(.active) a:hover{
    border-bottom: 3px solid #10B981;
}

header nav ul li.btn a {
    color: white;
    background: #10B981;
    padding: 12px 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

header nav ul li.btn a:hover, .top nav ul li.active a:hover {
    background: #0f9c6e;
}

footer {
    padding: 50px 0;
    margin: 10px 0;
    border-top: 1px solid #E5E7EB;
}

.footer--info {
    float: left;
    width: 25%;
}

.footer--info ul li {
    margin: 0 25px 0 0;
}

.contacts {
    float: right;
    width: 10%;
}

.contacts ul li {
    margin: 10px;
    transition: all 0.3s ease;
}

.contacts ul li :hover {
    transform: scale(1.1);
}

.footer--menu {
    float: right;
    width: 100%;
}

.footer--menu ul {
    list-style: none;
}

.footer--menu p {
    color: #10B981;
    padding-bottom: 10px;
    font-size: 17px;
    font-weight: 400;
}

.footer--menu ul li {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 400;
}

.menu {
    display: flex;
    padding-bottom: 50px;
}

.subscribe {
    margin-bottom: 40px;
}

.subscribe p {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
}

.subscribe form input[type="email"] {
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    width: 200px;
    margin-right: 10px;
}

.subscribe form .btn {
    padding: 10px;
    border-radius: 8px;
    background: #10B981;
    color: white;
    border: 0;
    transition: all 0.3s ease;
}

.subscribe form .btn:hover {
    background: #0f9c6e;
}

.subscribe--form {
    display: flex;
    align-items: center;
}

.article {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.article img {
    aspect-ratio: 32 / 9;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 10px;
    margin-bottom: 30px;
}

@media (max-width: 500px) {
    .article {
        width: 90%;
    }

    .article img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 900px) {
    .article {
        width: 70%;
    }

    .article img {
        aspect-ratio: 21 / 9;
    }
}

.article_title {
    padding: 30px 0 30px 0;
}

.article_title h2 {
    font-size: clamp(0.7rem, calc(7vw + 1rem), 2.3rem);
}

.article_title h3 {
    padding-top: 8px;
    font-size: clamp(0.3rem, calc(7vw + 1rem), 1rem);
    font-weight: 300;
}

.article p {
    font-size: clamp(0.3rem, calc(7vw + 1rem), 1rem);
    font-weight: 500;
    padding-bottom: 20px;
    text-align: justify;
}

.article div {
    padding-top: 20px;
    padding-bottom: 20px;
}

