@import url(root.css);

.filter {
    display: none;
}

nav {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 0px 150px;
    font-size: 1.8rem;
    height: 90px;
    background-color: var(--White);
    z-index: 10;

}

.desktop-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.desktop-menu>a {
    display: flex;
    align-items: center;
}

.desktop-menu ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.desktop-menu ul li {
    height: 100%;
}


.desktop-menu ul li a {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: var(--Gray-600);
    font-size: 1.6rem;
    height: 100%;

}

.desktop-menu ul li a:hover {
    color: var(--Blue-950);
}

.desktop-menu ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--btn-cta);
    transform: scale(0);
    transition: transform 0.3s ease-in-out
}

.desktop-menu a:hover::after {
    transform: scale(1);
}


/* HERO BANNER */

.hero-banner-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    min-height: 100vh;
    background-color: var(--Gray-50);
    overflow: hidden;
    position: relative;
    gap: 6rem;
}

.hero-banner-left {
    opacity: 0;
    transform: translateY(80px);
    max-width: 450px;
    z-index: 2;
    animation: hero-text 1.3s forwards;
}

@keyframes hero-text {
    100% {
        opacity: 1;
        transform: translate(0);
    }
}


.hero-banner-left p {
    font-size: 1.8rem;
    margin-top: 2rem;
    line-height: 1.5;
    margin-bottom: 2.2rem;
}

.hero-banner-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0;
    width: 100%;
}

.hero-banner-right img {
    position: absolute;
    transform: translate(130%, -10%);
    animation: hero-anim 1s forwards ease-in-out;
}

@keyframes hero-anim {
    100% {
        transform: translate(15%, -10%);
    }
}

.hero-banner-right:nth-child(1),
.hero-banner-right:nth-child(2) {
    top: 0;

}

.hero-banner-right:nth-child(2) {
    transform: translate(60px, 10px);
}




/* WHY CHOOSE SECTION */

.why-choose-section {
    background-color: var(--Gray-100);
}

.why-choose-card {
    opacity: 0;
    transition: opacity 0.3s linear;
}

.why-choose-card:nth-child(2) {
    transition-delay: 0.2s;
}

.why-choose-card:nth-child(3) {
    transition-delay: 0.4s;
}

.why-choose-card:nth-child(4) {
    transition-delay: 0.6s;
}

.anim-why-card {
    opacity: 1;
}

.why-choose-text {
    font-size: 2rem;
    line-height: 1.4;
    margin-top: -2rem;
}

.why-choose-grid-container {
    display: grid;
    justify-content: center;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 60px;
}

.why-choose-grid-container h3 {
    font-size: 2.7rem;
    margin-top: 3.8rem;
    color: var(--Blue-950);
    font-weight: var(--Weight-300);
}

.why-choose-grid-container p {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    line-height: 1.5;
}

/* ARTICLES */

.article-section {
    background-color: var(--Gray-50);

}


article {
    transition: transform 0.3s ease-in-out;
}

article:hover {
    transform: translateY(-20px);
}


article a {
    text-decoration: none;
}

.article-container {
    display: grid;
    justify-content: center;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));


}

.article-container img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
    height: 50%;
    object-fit: cover;
}

.article-info {
    background-color: var(--White);
    padding: 2rem;


}

.writer,
.article-description {
    color: var(--Gray-600);
}

.writer {
    font-size: 1.3rem;

}

.article-title {
    font-size: 2rem;
    color: var(--Blue-950);
    margin-top: 2rem;
    font-weight: var(--Weight);
    transition: color 0.2s linear
}

.article-description {
    font-size: 1.6rem;
    margin-top: 1rem;
}


article:hover .article-title {
    color: var(--Green-500);
}



/* FOOTER */
footer ul {
    list-style-type: none;
}



footer a,
.footer-right p {
    font-size: 1.8rem;

}



footer ul li a {
    color: var(--Gray-600);
    text-decoration: none;
    font-weight: var(--Weights-400);
    transition: color 0.3s linear
}



footer ul li a:hover {
    color: var(--Green-500);
}

.footer-left-first {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.networks ul {
    display: flex;
    gap: 18px;
}


.footer-left {
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.links-1 ul,
.links-2 ul {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 25px;
}

.copyright {
    font-size: 1.4rem !important;
}