/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500&display=swap');

:root {
    --padding-inline-section: 20px;
    --color-primary: #EF702B;
}

body {
    background-image: url(img/html_bg.webp);
    font-size: 22px;
    /* line-height: 32px; */
    margin: 0;
    padding: 0;
    word-wrap: break-word !important;
    font-family: 'Poppins', sans-serif;
}


/* Navbar */

#logo {
    font-weight: 500;
}

h1 {
    font-size: 60px;
    text-align: center;
    color: var(--color-primary);
}

h2 {
    color: var(--color-primary);
    font-family: 'Noto Sans', sans-serif;
}

h3 {
    color: var(--color-primary);
}

h3 a {
    color: #FFF;
}

a {
    color: #FFF;
}

h1 {
    margin-top: 100px;
    text-align: center;
    font-size: 60px;
    line-height: 70px;
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    color: black;
    line-height: 1.8rem;
    margin: 0;
}

.flex {
    display: flex;
    align-items: center;
    flex-direction: column;
}


#container {
    margin: 0 auto;
    max-width: 890px;
}

/* p {
    text-align: center;
} */

.toggle,
[id^=drop] {
    display: none;
}

/* Giving a background-color to the nav container. */
nav {
    margin: 0;
    padding: 0;
    /* background-color: #254441; */
    margin-top: 20px;
}

#logo {
    display: block;
    padding: 0 10px;
    float: left;
    font-size: 20px;
    line-height: 60px;
    color: black;
    font-weight: 500s;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
    content: "";
    display: table;
    clear: both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
    float: right;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
}

/* Positioning the navigation items inline */
nav ul li {
    margin: 0px;
    display: inline-block;
    float: left;
    /* background-color: #254441; */
}


/* Styling the links */
nav a {
    display: block;
    padding: 7px 20px;
    color: black;
    font-size: 17px;
    text-decoration: none;
    font-weight: 500;

}


nav ul li ul li:hover {
    color: white;
}

/* Background color change on Hover */
nav a:hover {
    color: var(--color-primary);
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
    display: none;
    position: absolute;
    /* has to be the same number as the "line-height" of "nav a" */
    top: 40px;
}

/* Display Dropdowns on Hover */
nav ul li:hover>ul {
    display: inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
    width: 170px;
    float: none;
    display: list-item;
    position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
    position: relative;
    top: -60px;
    /* has to be the same number as the "width" of "nav ul ul li" */
    left: 170px;
}


/* Change ' +' in order to change the Dropdown symbol */
li>a:after {
    content: ' +';
}

li>a:only-child:after {
    content: '';
}


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 1512px) {
    body {
        font-size: 1rem;
    }

    #logo {
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        float: none;
    }

    nav {
        margin: 0;
    }

    /* Hide the navigation menu by default */
    /* Also hide the  */
    .toggle+a,
    .menu {
        display: none;
    }

    /* Stylinf the toggle lable */
    .toggle {
        display: block;
        /* background-color: #254441; */
        padding: 14px 20px;
        color: black;
        font-size: 17px;
        text-decoration: none;
        border: none;
        font-weight: 500;
    }

    /* .toggle:hover {
        background-color: #000000;
    } */

    /* Display Dropdown when clicked on Parent Lable */
    [id^=drop]:checked+ul {
        display: block;
    }

    /* Change menu item's width to 100% */
    nav ul li {
        display: block;
        width: 100%;
    }

    nav ul ul .toggle,
    nav ul ul a {
        padding: 0 40px;
    }

    nav ul ul ul a {
        padding: 0 80px;
    }

    /* nav a:hover,
    nav ul ul ul a {
        background-color: #000000;
    } */

    nav ul li ul li .toggle,
    nav ul ul a,
    nav ul ul ul a {
        padding: 14px 20px;
        color: #FFF;
        font-size: 17px;
    }


    nav ul li ul li .toggle,
    nav ul ul a {
        background-color: #e6966b;
    }

    /* Hide Dropdowns by Default */
    nav ul ul {
        float: none;
        position: static;
        color: #ffffff;
        /* has to be the same number as the "line-height" of "nav a" */
    }

    /* Hide menus on hover */
    nav ul ul li:hover>ul,
    nav ul li:hover>ul {
        display: none;
    }

    /* Fisrt Tier Dropdown */
    nav ul ul li {
        display: block;
        width: 100%;
    }

    nav ul ul ul li {
        position: static;
        /* has to be the same number as the "width" of "nav ul ul li" */

    }

    header {
        margin-top: 40px;
        padding: 10px;
    }


}

@media all and (max-width : 330px) {

    nav ul li {
        display: block;
        width: 94%;
    }

}

/* Home-Section */
header {
    margin-top: 70px;
    padding: 20px;
}

.home-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    overflow: hidden;
}

.header-left {
    max-width: 50vw;
    /* margin-inline: auto; */
}

.home-heading {
    text-align: center;
    margin-bottom: 0;
    margin-top: 20px;
    font-size: 70px;
}

.home-heading-bottom {
    text-align: center;
    margin-top: 0;
}

.home-intro {
    font-size: 30px;
}

.header-right img {
    width: 30vw;
}

@media screen and (max-width: 1400px) {

    header {
        margin-top: 40px;
        padding: 10px;
    }

    .home-section {
        flex-direction: column-reverse;
        align-items: center;
        gap: 25px;
    }

    .header-left {
        max-width: 100vw;
        text-align: center;
    }

    .header-right img {
        width: 50vw;
    }
}

/* Poem-Section */

.poem-section {
    flex-direction: column;
}

.card {
    background-color: #fff;
    width: 800px;
    padding: var(--padding-inline-section);
    border-radius: 5px;
    margin-top: 30px;
}

/* 1 */
#ch {
    display: none;
}

#ch:checked~.content {
    display: block;
}

#ch:checked~label {
    display: none;
}

.content {
    display: none;
}

header label {
    display: inline-block;
    cursor: pointer;
    background-color: #EF702B;
    border-radius: 3px;
    margin-top: 12px;
    padding: 3px 13px;
}

/* 2 */
#ch-2 {
    display: none;
}

#ch-2:checked~.content-2 {
    display: block;
}

#ch-2:checked~label {
    display: none;
}

.content-2 {
    display: none;
}

/* 3 */
#ch-3 {
    display: none;
}

#ch-3:checked~.content-3 {
    display: block;
}

#ch-3:checked~label {
    display: none;
}

.content-3 {
    display: none;
}

/* 4 */
#ch-4 {
    display: none;
}

#ch-4:checked~.content-4 {
    display: block;
}

#ch-4:checked~label {
    display: none;
}

.content-4 {
    display: none;
}

/* 5 */
#ch-5 {
    display: none;
}

#ch-5:checked~.content-5 {
    display: block;
}

#ch-5:checked~label {
    display: none;
}

.content-5 {
    display: none;
}

/* 6 */
#ch-6 {
    display: none;
}

#ch-6:checked~.content-6 {
    display: block;
}

#ch-6:checked~label {
    display: none;
}

.content-6 {
    display: none;
}

/* 7 */
#ch-7 {
    display: none;
}

#ch-7:checked~.content-7 {
    display: block;
}

#ch-7:checked~label {
    display: none;
}

.content-7 {
    display: none;
}

/* 8 */
#ch-8 {
    display: none;
}

#ch-8:checked~.content-8 {
    display: block;
}

#ch-8:checked~label {
    display: none;
}

.content-8 {
    display: none;
}

/* 9 */
#ch-9 {
    display: none;
}

#ch-9:checked~.content-9 {
    display: block;
}

#ch-9:checked~label {
    display: none;
}

.content-9 {
    display: none;
}

/* 9 */
#ch-9 {
    display: none;
}

#ch-9:checked~.content-9 {
    display: block;
}

#ch-9:checked~label {
    display: none;
}

.content-9 {
    display: none;
}

/* 10 */
#ch-10 {
    display: none;
}

#ch-10:checked~.content-10 {
    display: block;
}

#ch-10:checked~label {
    display: none;
}

.content-10 {
    display: none;
}

/* 11 */
#ch-11 {
    display: none;
}

#ch-11:checked~.content-11 {
    display: block;
}

#ch-11:checked~label {
    display: none;
}

.content-11 {
    display: none;
}

/* 12 */
#ch-12 {
    display: none;
}

#ch-12:checked~.content-12 {
    display: block;
}

#ch-12:checked~label {
    display: none;
}

.content-12 {
    display: none;
}

/* 13 */
#ch-13 {
    display: none;
}

#ch-13:checked~.content-13 {
    display: block;
}

#ch-13:checked~label {
    display: none;
}

.content-13 {
    display: none;
}

/* 14 */
#ch-14 {
    display: none;
}

#ch-14:checked~.content-14 {
    display: block;
}

#ch-14:checked~label {
    display: none;
}

.content-14 {
    display: none;
}



@media screen and (max-width:881px) {
    .card {
        width: 80vw;
        padding: 10px;
    }
}

/* Article-Section */
.article-section {
    flex-direction: column;
}

.article-card {
    background-color: #fff;
    width: 1200px;
    padding: var(--padding-inline-section);
    border-radius: 5px;
    margin-top: 30px;
}

@media screen and (max-width:1265px) {
    .article-card {
        width: 80vw;
        padding: 10px;
    }
}

/* Quotes-Section */

.quotes-section {
    flex-direction: column;
}

.quotes-card {
    background-color: #fff;
    width: 800px;
    padding: var(--padding-inline-section);
    border-radius: 5px;
    margin-top: 30px
}

@media screen and (max-width:881px) {
    .quotes-card {
        width: 80vw;
        padding: 10px;
    }
}

/* Haiku-Section */

.haiku-card {
    background-color: #fff;
    width: 500px;
    padding: 50px var(--padding-inline-section);
    border-radius: 5px;
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width:881px) {
    .haiku-card {
        width: 80vw;
        padding: 10px;
    }
}

/* Contact */
.contact-card {
    background-color: #fff;
    width: 500px;
    padding: 50px var(--padding-inline-section);
    border-radius: 5px;
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width:881px) {
    .contact-card {
        width: 80vw;
    }
}