@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

html {
    font-size: 10px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 1.9rem;
}

p {
    font-size: 1.5rem;
}

 
.hero {
    max-width: 114rem;
    height: 40rem;
    background: url(imgc/egypt-1.png)no-repeat center center /cover;
    margin: 5rem auto;
    height: 40rem;

} 


header {
    width: 100%;
    height: 5rem;
    background-color: aliceblue;
    position: fixed;
    top: 0;
    z-index: 333;
}

.mobile-nav {
    display: none;
}

.container {
    width: 96%;
    max-width: 117rem;
    margin: 0 auto;
}

.navbar {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.navbar h1 {
    text-transform: uppercase;
    color: #5b5963;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
}

.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul a {
    font-size: 1.2rem;
    padding: 1.5rem;
    text-transform: uppercase;
    color: #5b5963;
    font-weight: 400;
    letter-spacing: 2px;
    transition: all 0.4 ease;
}

.navbar ul a:hover {
    color: white;
    background-color: #fd735a;
}

.navbar .menu {
    display: none;
}

/* HERO */

main {
    width: 100%;
    /* max-width: 80rem; */
    max-width: 96rem;
    background-color: white;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 1.5rem;
    margin-top: -15rem;
}

main h2 {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;

}

main .profile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
}

main .profile-container .profile {
    display: flex;
    justify-content: center;
    align-items: center;

}


main .profile-container .profile .img-container {
    width: 6rem;
    height: 6rem;
    background: url(imgc/nadeem.jpg)no-repeat center center /cover;
    border-radius: 0.5rem;
}

main .profile-container .profile .text {
    margin: 0 1rem;
    color: #5b5963;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.profile .text h3 {
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    text-transform: capitalize;
    font-size: 1.2rem;
    padding: 0.3rem 1.5rem;
    background-color: #fd735a;
    border-radius: 0.2rem;
}

main .content p {
    color: #5b5963;
    margin: 1rem 0;
}

main .content h4 {
    /* font-size: 1.4rem; */
    font-size: 2.4rem;
    font-weight: 600;
    color: #5b5963;
    margin: 2rem 0;
}

main .content .content-img-container img {
    width: 100%;
    height: 45rem;


}

.blockquote {
    font-size: 1.4rem;
    padding: 1rem 2.8rem;
    line-height: 1.6;
    font-weight: 300;
    box-shadow: inset 0.5rem 00 #fd735a;
    background-color: #f5f5f5;
    font-family: 'poppins', sans-serif;
}

.tags {
    display: flex;
    align-items: center;

}

.tags p {
    font-size: 1.4rem;
    text-transform: capitalize;

}

.tags a {
    display: inline-block;
    padding: 0.3rem 1.5rem;
    background-color: #f5f5f5;
    color: #5b5963;
    font-size: 1.2rem;
    text-transform: capitalize;
    margin: 0 0.5rem;
}

.articles {
    width: 100%;
    background-color: #f5f5f5;
    margin: 5rem 0;
    padding: 5rem 0;
}

.articles .article-heading {
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    position: relative;
}

.article-heading h5 {
    font-size: 10rem;
    font-weight: 600;
    letter-spacing: 3px;
    position: relative;
    color: rgba(223, 223, 223, 0.308);
}

.article-heading h6 {
    font-size: 4rem;
    font-weight: 200;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #5b5963;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.cards .card-container {
    cursor: pointer;
    transition: all 0.4 ease;
}

.cards .card-container .img-holder img {
    /* max-width: 100%; */
    height: 24rem;

    position: relative;
}

.cards .card-container .img-holder a {
    text-transform: capitalize;
    font-size: 1.2rem;
    padding: 0.3rem 1.5rem;
    display: inline-block;
    color: #429f98;
    background-color: white;
    font-weight: 400;
    position: absolute;
    bottom: 3%;
    right: 5%;
    transition: all 0.4s ease;
}

.cards .card-container:hover {
    transform: translate(-1rem);
}

.cards .card-container:hover a {
    background-color: #fd735a;
    color: white;
}

.cards .card-container .card-text {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 0 0.3rem gray;
}

.cards .card-container .card-text h4 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cards .card-container .card-text p {
    font-size: 1.2rem;
}

.cards .card-container .card-text a {
    text-transform: capitalize;
    font-size: 1.2rem;
    padding: 0.3rem 1.5rem;
    display: inline-block;
    color: #429f98;
    background-color: white;
    font-weight: 400;
    transition: all 0.4s ease;

}

.cards .card-container .card-text a {
    background-color: #fd735a;
    color: white;
    padding: 12px 15px;
    font-size: 12px;
    border-radius: 1000px;
    margin: 20px;
}



.articles .button {
    margin: 0 auto;
    text-align: center;
}

.articles .btn {
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 200;
    border-radius: none;
    padding: 0.5rem 3rem;
    margin: 20px;
}

footer {
    background-color: #222;
    padding: 3rem 0;
}

.icons {
    text-align: center;
}

.icons .social i {
    font-size: 3rem;
    color: grey;
    padding: 1rem;
    transition: all 0.4s ease;
}

.icons .social i:hover {
    color: white;
    cursor: pointer;
}

.icons .copyright p {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: white;
    margin: 2rem 0;
}

@media (max-width:768px) {
    main {
        padding: 0;
        margin: 0;
    }

    .navbar {
        width: 63%;
    }

    .container {
        /* padding: 2px; */
        padding: 12px;
    }

    .navbar ul {
        display: none;
    }

    .navbar .menu {
        display: block;
        cursor: pointer;
        font-size: 23px;
    }

    .mobile-nav {
        background-color: aliceblue;

    }

    .mobile-nav ul a {
        display: inline-block;
        padding: 1rem;
        font-size: 1.4rem;
        text-transform: uppercase;
        width: 100%;
        color: #5b5963;
        transition: all 0.4s ease;
    }

    .mobile-nav ul a:hover {
        color: white;
        background-color: #fd735a;
    }

    .mobile-nav.active {
        display: block;

    }

    .mobile .menu i {
        font-size: 2.5rem;
    }

    .cards {
        flex-direction: column;
    }

    .hero {
        width: 100%;

    }

    main .content .content-img-container img {
        max-width: 100%;
        height: 35rem;
    }

   


}