@import url("https://fonts.googleapis.com/css2?family=Italianno&family=Roboto:wght@400;500;700;900&display=swap");

/* reset code and common code starts here */
/* reset code and common code starts here */
/* reset code and common code starts here */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    outline: none;
    font-weight: 400;
}

html {
    background: #fafafa;
    font-size: 62.5%;
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}
body {
    background: #fff;
    width: 120rem;
    max-width: 100%;
    margin: auto;
    box-shadow: 0.1rem 0.1rem 0.1rem #c4c4c4, -0.1rem 0rem 0.1rem #c4c4c4;
}

.text-justify {
    text-align: justify;
}

.text-white {
    color: white;
}

.section-heading {
    font-size: 8rem;
    text-align: center;
    font-family: "Italianno", cursive;
}

.section-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 5rem 1rem;
    min-height: 95vh;
}

.btn {
    background: rgb(230, 159, 8);
    border: none;
    border-radius: 0.6rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222;
    cursor: pointer;
    font-size: 1.6rem;
    padding: 1rem 0;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* reset code and common code ends here */
/* reset code and common code ends here */
/* reset code and common code ends here */

/*  */
/*  */
/*  */
/*  */
/*  */

/* header design starts here */
/* header design starts here */
/* header design starts here */
/* header design starts here */
/* header design starts here */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: black;
    color: white;
    padding: 2rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    min-width: 5vh;
}

.logo-figure {
    border: 1px solid white;
    padding: 1rem;
}

.logo-figure a {
    color: white;
}

.logo {
    font-size: 4rem;
}

#menu-icon {
    display: none;
}

nav li {
    display: inline-block;
    margin-right: 2rem;
    padding: 1rem;
    transition: all 0.4s;
}

nav li:last-child {
    margin-right: 0;
}

nav li:hover {
    background: #333;
    border-radius: 0.6rem;
}

.nav-link {
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
}

/* header design ends here */
/* header design ends here */
/* header design ends here */
/* header design ends here */
/* header design ends here */

/*  */
/*  */
/*  */
/*  */
/*  */

/* main design starts here */
/* main design starts here */
/* main design starts here */
/* main design starts here */
/* main design starts here */

/* banner section starts here */
#blog-banner-section {
    padding: 5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95vh;
}

#blog-banner-section article {
    flex-basis: 50%;
    margin: 1rem;
}

.banner-heading {
    display: inline-block;
    padding: 1rem;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: black;
    color: #fff;
}

.banner-description {
    font-size: 1.8rem;
}

#blog-banner-section aside {
    flex-basis: 50%;
    text-align: center;
}

.banner-img {
    width: 55rem;
    height: 55rem;
    border: 0.3rem solid;
}

/* about me section starts here */
#blog-about {
    background: #4c4c4c;
}

.card-container {
    display: flex;
    align-items: center;
}

.card {
    flex: 1;
    border-radius: 0.6rem;
    background: #a09d9d;
    padding: 3rem 1rem;
    margin: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.1);
}

.card-header {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.card-description {
    padding: 0.4rem 0;
    text-align: justify;
    font-size: 1.6rem;
    margin-bottom: 5rem;
}

.card-btn {
    align-self: center;
    width: 80%;
}

/* archives section starts */

.archives-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem;
    border-top: 0.1rem solid;
    border-bottom: 0.1rem solid;
}

.archives-container-lists {
    display: flex;
    text-align: center;
}

.archives-container-list {
    margin: 2rem;
}

.archives-img {
    width: 100%;
    height: 100%;
    border-radius: 0.6rem;
    transition: transform 0.4s;
}

.archives-img:hover {
    transform: scale(1.1);
}

/* blog-posts starts here */

.blog-posts-heading {
    margin-bottom: 5rem;
}

.blog-post {
    width: 70%;
    display: flex;
    margin: 1rem 0;
    box-shadow: 0.1rem 0.1rem 0.1rem #222, -0.1rem 0 0.1rem #222;
    transition: transform 0.4s;
}

.blog-post:hover {
    transform: scale(1.1);
}

.blog-post-aside {
    flex: 1;
}

.blog-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 1rem;
    margin-left: 2rem;
}

.blog-img {
    width: 100%;
    height: 100%;
}

.blog-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-sub-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-description {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.blog-btn {
    width: 30%;
}

/* blog-posts ends here */

/* contact me section starts here */

#contact-section {
    background: #4c4c4c;
    min-height: 90vh;
}

#contact-form {
    padding: 1rem;
    box-shadow: 0.1rem 0.1rem 0.1rem #222, -0.1rem 0 0.1rem #222;
    margin: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.form-control {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-control label {
    font-size: 1.6rem;
    flex: 0.3;
}

.form-control input,
textarea {
    flex: 0.7;
    width: 40rem;
    font-size: 1.6rem;
    padding: 2rem 1rem;
    border: none;
    border-radius: 0.6rem;
}

textarea {
    resize: none;
    height: 12vh;
}

.form-btn-field {
    display: flex;
    justify-content: flex-end;
}

.contact-btn {
    width: 30%;
    justify-content: flex-end;
}
/* contact me section ends here */

/* main design ends here */
/* main design ends here */
/* main design ends here */
/* main design ends here */
/* main design ends here */

/*  */
/*  */
/*  */
/*  */
/*  */

/* footer design starts here */
/* footer design starts here */
/* footer design starts here */
/* footer design starts here */
/* footer design starts here */

footer {
    background: black;
    padding: 1rem;
    min-height: 5vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 1.5rem;
    color: #fff;
}

.footer-icon {
    font-size: 2.5rem;
}

/* footer design ends here */
/* footer design ends here */
/* footer design ends here */
/* footer design ends here */
/* footer design ends here */

/*  */
/*  */
/*  */
/*  */
/*  */

/* responsive section starts here */
/* responsive section starts here */
/* responsive section starts here */
/* responsive section starts here */
/* responsive section starts here */

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
    /* banner section */
    #blog-banner-section {
        flex-direction: column;
    }

    #blog-banner-section article {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 5rem;
    }

    /* about me section */
    .card-container {
        width: 50%;
        flex-direction: column;
        flex-wrap: wrap;
    }
}

/*  */
/*  */
/*  */
/*  */
/*  */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
    html {
        font-size: 55.5%;
    }

    /* banner section */
    #blog-banner-section article {
        width: 80%;
    }

    /* about me section */
    .card-container {
        width: 80%;
    }

    /* archives section */
    #archives {
        min-height: auto;
    }

    /* blog-posts section */
    .blog-post {
        flex-direction: column;
        margin-bottom: 3rem;
        width: 80%;
    }

    /* contact section */
    #contact-section {
        min-height: auto;
    }
}

/*  */
/*  */
/*  */
/*  */
/*  */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    html {
        font-size: 48.5%;
    }
    header {
        flex-direction: column;
    }

    #menu-icon {
        display: block;
        margin-top: 1.5rem;
        cursor: pointer;
    }

    .hidden {
        display: none;
    }

    nav li {
        display: block;
        margin-right: 0;
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    /* banner section */
    #blog-banner-section {
        min-height: auto;
    }
    #blog-banner-section article {
        width: 90%;
    }

    .banner-img {
        max-width: 100%;
    }

    #blog-about {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* about me section */
    .card-container {
        width: 90%;
    }

    /* archives section */
    .archives-container-lists {
        flex-wrap: wrap;
    }

    /* blog-posts section */
    .blog-post {
        width: 90%;
    }

    /* contact section */
    #contact-form {
        width: 90%;
    }

    .form-control {
        flex-direction: column;
    }

    input,
    textarea {
        max-width: 100%;
    }
    .form-control label {
        margin-bottom: 0.5rem;
    }

    /* footer section */
    footer {
        flex-direction: column;
    }

    .copyright-text {
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

    #menubar2 {
        display: flex;
    }
}

/*  */
/*  */
/*  */
/*  */
/*  */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 400px) {
}
