* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    background-color: #6b7887;
}


img {
    max-width: 100%;
    margin: auto;
}

/* GENERAL */

body {
    max-width: 1300px;
    width: 100%;
    margin: auto;
    font-family: "Heebo", sans-serif;
    box-shadow: 2px 8px 50px #00000060;
}

.icon {
    font-family: material symbols outlined;
    font-size: 1.5rem;
}

li {
    list-style-type: none;
}

header,
footer,
main {
    background-color: #fff;
}

header,
footer {
    padding: 3rem;
}

.recent article,
.featured {
    padding: 2rem;
}

header,
.banner,
.banner article,
.recent,
.recent .reverse,
.featured,
footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

h1,
h2,
h3,
h3,
nav,
button {
    text-transform: capitalize;
}

.hidden {
    color: #fff;
}

.Sh2 {
    font-size: 1rem;
    text-align: center;
    font-weight: 300;
}

h3 {
    font-size: 1.5rem;
}

.noneM {
    display: none;
}

a {
    text-decoration: none;
}



/* HEADER */
/* H-- nav--*/
header nav {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100vw;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    z-index: 1;
    max-width: 1300px;
    top: 2rem;
    height: 4rem;
    background-color: #ffffff;
    box-shadow: 2px 2px 20px #00000020;
}

header .navC {
    position: absolute;
    display: flex;
    justify-content: end;
    align-items: center;
    height: 6rem;
    padding: 0 2rem;
}

#mobNav {
    position: relative;
    display: flex;
    top: 9rem;
    width: 50vw;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    align-content: center;
    z-index: 2;
    gap: 2rem;
    padding: 2rem 2rem 5rem 5rem;
    font-weight: 800;
    background-color: #fff;
    box-shadow: 2px 8px 50px #00000060;
}

nav ul {
    padding: 2rem;
}

nav li a {
    color: #000000;
}

li a.active {
    color: #FF6464;
}


/* H-- banner --*/
.banner {
    position: relative;
    padding: 3rem 0 0;
}

.banner img {
    flex: 0.8;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    padding: 1rem;
}

.banner article {
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

button {
    background-color: #FF6464;
    border: none;
    text-align: center;
    color: #fff;
    padding: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
}


/* MAIN----------*/
/* M-- recent --*/
.recent {
    justify-content: space-around;
    background-color: #c9ecf7;
    padding: 2rem;
    gap: 1rem;
}

.recent .link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.recent article,
.featured article {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    gap: 1rem;
}

.recent ul,
.featured ul,
footer ul {
    color: #00000080;
    display: flex;
    align-items: center;
    gap: 2rem;
}

hr {
    height: 1.5rem;
}



/* M-- feautured--*/
.Fdescription {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured ul .date {
    background-color: #000000;
    color: #fff;
    padding: 0 0.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.9rem;

}

.featured .noneM {
    display: none;
}

.scrollFrame {
    height: calc(80vw + 10rem);
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 0;
}

.scroll {
    overflow: scroll;
}

.featured img {
    width: 80vw;
}






/* FOOTER-- */
footer {
    justify-content: center;
}

footer ul,
footer p {
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer li {
    font-size: 2rem;
    padding: 0 0.5rem;
}

footer a {
    color: #000000;
}



/* Blog --*/
.blog {
    background-color: #ffffff;
    max-width: 800px;
    margin: auto;
}

.banner.blog {
    display: flex;
    flex-direction: row;
    width: 100%;
    font-size: 2rem;
}

.header.blog {
    padding: 2rem;
    background-color: aliceblue;
}

/*work --*/
.featured .col {
    display: flex;
    flex-direction: column
}

.col .date.red {
    background-color: #FF6464
}




/* ORDI----------*/

@media (min-width:768px) {

    .noneD,
    .featured .noneD {
        display: none
    }

    .noneM,
    .featured .noneM {
        display: flex;
    }


    #mobNav {
        display: flex;
        justify-content: space-evenly;
        box-shadow: none;
        padding: 0;
        top: 0rem;
        width: fit-content;
    }

    #mobNav,
    .recent .reverse,
    .featured article {
        flex-direction: row;
    }

    .banner {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .banner article {
        align-items: flex-start;
        text-align: left;
    }

    .banner img {
        max-width: 200px;
    }

    .recent .link {
        justify-content: space-between;
    }

    .featured h2 {
        text-align: left;
    }


    .scrollFrame {
        height: 22vw;
    }


    .featured img {
        width: 40vw;
    }

}