/* UNIVERSAL */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: white;
    color: black;
}

#main {
    height: auto;
    max-width: 100%;
    padding: 0 50px;
    background-color: white;
}

/* NAVBAR */
#nav {
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    height: 90px;
    align-items: center;
}

#nav a {
    cursor: pointer;
    color: black;
}

.navbar {
    display: none;
}

#menu1 {
    font-size: 16px;
    letter-spacing: 2px;
    display: flex;
}

/* #menu1 li:hover{
    border-bottom: 2px solid orange;
} */

#menu1>li {
    margin: 5px 20px;
    letter-spacing: 3px;
    font-weight: 500;
}

#logo>img {
    height: 50px;
}

/* GALLERY */

#gallery {
    display: flex;
    flex-direction: column;
    padding: 0 50px;
}

#poem {
    margin: 0 10%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    padding: 50px 80px;
    /* height: 200vw; */
}

.poem-container {
    margin-bottom: 100px;
}

.poem-container>h3 {
    margin: 15px 0;
    font-size: 48px;
    color: #333333;
    font-weight: 500;
}

.poem-container>span {
    color: #444444;
    font-size: 14px;
    margin-bottom: 20px;
}

.poem-container>p {
    color: #444444;
    line-height: 35px;
    margin: 25px 0;
    word-spacing: 1px;
}

.container-btns {
    display: flex;
}

.read-on-btn {
    color: black;
    padding: 8px 45px;
    background-color: gold;
    margin-right: 10px;
}

.container-btns>a:hover {
    /* background-color: red; */
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
    transition: 0.5s;
    transition-timing-function: ease-in-out;
}

/* POEM SECTION */

#main-content {
    /* border: 1px solid #333333; */
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    border-radius: 8px;
    margin: 30px 100px;
    padding: 15px;
}

#tags-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.tags {
    border: 1px solid #444444;
    border-radius: 25px;
    padding: 6px 15px;
    margin-right: 10px;
    font-size: 13px;
}

#title-container {
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 10px 20px;
}

#title-container {
    font-family: "Balsamiq Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
}



/* LANGUAGE PREFERNCE SETTINGS */

.content-mr {
    display: block;
}

.hidden {
    display: none;
}

.translate-btn {
    /* height: 30px;
    width: 35px; */
    /* border-radius: 8px; */
    border: 1px solid #333333;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.translate-btn:hover{
    cursor: pointer;
}

.translate-btn svg {
    height: 25px;
    display: inline;
    color: #333333;
}

/* FOOTER */
#footer {
    margin: 55px 10px;
    background-color: #181818;
    height: 275px;
}

#footer-logo {
    height: 66%;
    color: white;
    border-bottom: 1px solid #5050504d;
    align-content: center;
    text-align: center;
}

#footer-dir {
    display: grid;
    margin: 0 10px;
    grid-template-columns: 1fr 1fr 1fr;
    height: 34%;
    color: white;
    justify-content: space-between;
}

#footer-dir div {
    display: flex;
    align-items: center;
    font-size: 12px;
}

#footer-dir ul {
    display: flex;
    margin: auto;
    width: 100%;
    justify-content: space-around;
}

#footer-dir ul a {
    color: white;
}

/* Media Queries for Navbar */

@media (min-width: 0) and (max-width: 600px) {
    #nav {
        display: none;
    }

    .navbar {
        display: block;
    }

    body {
        font-family: "Poppins", sans-serif;
        margin: 0;
        padding: 0;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        color: #333;
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    }

    .logo {
        font-size: 24px;
    }

    .menu-button {
        font-size: 24px;
        cursor: pointer;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 50px;
        right: 20px;
        background-color: #fff;
        border: 1px solid #ddd;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .dropdown-item {
        display: block;
        padding: 10px 20px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #ddd;
    }

    .dropdown-item:hover {
        background-color: #f1f1f1;
    }

    .show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    #footer>div>p {
        font-size: 15px;
    }
}


/* @media (min-width: 0) and (max-width: 550px) {
    #gallery {
        grid-template-columns: 1fr;
    }

    .image-container {
        aspect-ratio: 5/3;
        height: auto;
    }

    p>br {
        display: block;
    }
} */
/* 
@media (min-width: 551px) {
    #canvas-p1 p>br {
        display: none;
    }
} */

@media (min-width: 0) and (max-width: 400px) {
    #main {
        padding: 0 3vw;
    }
}


@media (min-width: 0) and (max-width: 660px) {
    #title-box {
        padding: 0;
    }

    #title-box>div {
        width: 100%;
        min-width: 230px;
        margin: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #content p {
        font-size: 16px;
    }

    #content {
        flex-direction: column;
    }

    #content div {
        width: 100%;
    }
}

@media (min-width: 0) and (max-width: 760px) {
    #title-box h1 {
        font-size: 30px;
    }

    #content {
        padding: 50px 0;
    }

    #title-box>div {
        width: 100%;
        min-width: 230px;
        /* margin: 15px; */
        /* flex-wrap: wrap; */
        justify-content: center;
    }
}

@media (min-width: 0) and (max-width: 880px) {
    #footer-dir {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        /* grid-template-rows: 35px 35px 35px; */
    }

    #footer-logo {
        height: 50%;
    }

    #footer-dir ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #footer-dir ul li {
        margin: 0 auto
    }

    #footer-dir>div:first-child {
        margin: 0 auto;
    }
}


@media (min-width: 0) and (max-width: 1050px) {
    #title-box h1 {
        font-size: 35px;
    }

    #review-info span {
        margin-right: 5px;
    }
}

/* GALLERY */

@media (min-width: 0) and (max-width: 960px) {
    #gallery {
        padding: 0;
    }
}

@media (min-width: 750px) and (max-width: 830px) {
    #poem {
        padding: 50px 40px;
    }
}

@media (min-width: 650px) and (max-width: 750px) {
    #poem {
        padding: 50px 30px;
        margin: 0 7.5%;
    }

    .poem-container>h3 {
        font-size: 42px;
    }
}

@media (min-width: 550px) and (max-width: 650px) {
    #main {
        padding: 0;
    }

    #poem {
        padding: 50px 25px;
        margin: 0 7.5%;
    }

    .poem-container>h3 {
        font-size: 40px;
    }
}

@media (min-width: 0px) and (max-width: 550px) {
    #main {
        padding: 0;
    }

    #poem {
        padding: 50px 15px;
        margin: 0 6%;
    }

    .poem-container>h3 {
        font-size: 38px;
    }
}