@font-face {
    font-family: Roboto;
    src: url(../../data/fonts/Roboto-Regular.ttf);
}

@font-face {
    font-family: RobotoMedium;
    src: url(../../data/fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: RobotoBold;
    src: url(../../data/fonts/Roboto-Bold.ttf);
}

:root {
    --menu-count: 5;
}

body {
    background-color: #111;
}

.mobile-menu-btn {
    display: none;
}    

.header-main {
    width:  100%;
    padding: 0 60px;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header-main nav {
    display: flex;
}

.header-main .logo {
    height: 40px;
    width: fit-content;
    align-self: center;
    cursor: pointer;
}

.header-main .logo img {
    height: 100%;
}

.header-main ul {
    height: 100%;
    padding-left: 40px;
    list-style: none;
    display: flex;
    align-items: center;
}

.header-main ul li {
    position: relative;
}

.header-main ul li a {
    display: block;
    padding: 0 10px;
    height: 100%;
    line-height: 60px;
    font-size: 1rem;
    font-family: RobotoMedium;
    color: #000000;
    background-color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: all ease-in-out 100ms;
}

.header-main ul li a:hover {
    color: #fff;
    background-color: #2a2a2a;
}

/* DROPDOWN STYLING START */

.header-main ul li ul {
    visibility: hidden;
    opacity: 0;
    display: none;
    position: absolute;
    left: -60px;
    transition: all ease-in-out 100ms;
}

/*.header-main ul li il li a {
    white-space: nowrap;
}*/

ul li:hover>ul {
    visibility: visible;
    opacity: 1;
    display: block;
}

/* DROPDOWN STYLING STOP */

/* SOCIAL MEDIA STYLING START */

.header-main .sm {
    align-self: center;
    display: flex;
}

.header-main form {
    height: 40px;
    padding-right: 5px;
    display: flex;
    border: 1px solid #aeaeae;
    border-radius: 20px 100px 100px 20px;
    width: fit-content;
    align-self: center;
}

.header-main form input {
    height: 100%;
    width: 300px;
    padding: 0 10px 0 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Roboto;
}

.header-main form input:focus {
    border: 1px solid #111;
}

.header-main form button {
    width: fit-content;
    padding: 0 5px 0 10px;
}

.header-main form button img {
    height: 24px;
    padding-top: 15%;
    cursor: pointer;
}

.header-main .sm-links {
    height: 60px;
    width: fit-content;
    display: flex;
    align-items: center;
}

.header-main .sm-links a {
    display: block;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    align-self: center;
}

.header-main .sm-links img {
    height: 100%;
}

/* MAIN CONTENT STYLING START */

.wrapper-main {
    width: 900px;
    margin: 0 auto;
}

.content h2 {
    margin-top: 120px;
    color: #fff;
    display: flex;
    justify-content: left;
    font-size: 3rem;
    font-family: RobotoBold;
}

.content h3 {
    margin-top: 50px;
    color: #fff;
    display: flex;
    justify-content: left;
    font-size: 2rem;
    font-family: RobotoBold;
}

.content p {
    padding-top: 50px;
    color: #fff;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    /* height: 75vh; */
    font-family: Roboto;
    flex-wrap: wrap; /* Allows text to wrap within the flex container */
}

.content li {
    color: #fff;
    font-family: Roboto;
}

ul {
    list-style-type: disc;
    padding: 0;
    margin-left: 40px;
}

/* .content a {
    color: #fff;
    display: inline;
} */

a {
    display: inline;
    color: #aeaeae; /* Ensures the link color matches the surrounding text */
    text-decoration: none; /* Removes underline */
}

a:hover {
    text-decoration: underline; /* Adds underline on hover for better UX */
}


/* MAIN CONTENT STYLING END */

@media only screen and (max-width: 600px) {
    
    .header-main {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        justify-content: center;
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 200;
        background-color: #fff;
    }

    .mobile-menu-btn img {
        height: 80%;
        align-self: center;
    }
    

    .header-main {
        height: 100vh;
        flex-wrap: wrap;
        flex-direction: column;
        padding: 0;
        justify-content: flex-start;
    }

    .header-main nav {
        width: 100%;
        height: 80vh;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: stretch;
    }

    .header-main .logo {
        height: 30%;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .header-main .logo img {
        height: 60%;
        align-self: center;
        cursor: pointer;
    }

    .header-main ul {
        height: 70%;
        width: 100%;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: space-between;
    }

    .header-main ul li {
        width: 100%;
        height: calc(100% / var(--menu-count));
        padding: 0;
        margin: 0;
        /* Giving all menu items a border on top */
        border-top: 1px solid #ddd;
        /* We set a flex here, with nowrap and column, to make the dropdown go below the Gallery, and justify-content instead since we are using colmn, to center the text */
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        justify-self: center;
        transition: all ease-in-out 100ms;
    } 

    .header-main ul li:nth-last-child(1) {
        border-bottom: 1px solid #ddd;
    }

    .header-main ul li a {
        width: 100%;
        height: fit-content;
        padding: 0;
        margin: 0;
        text-align: center;
        font-size: 2.5rem;
    }

    /* this is to prevent the hover effect from the desktop app to appear in the mobile app */
    .header-main ul li a:hover {
        background-color: transparent;
        color #111;
    }

    .header-main nav {
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .header-main ul li ul {
        display: none;
        flex-wrap: nowrap;
        flex-direction: column;
        position: absolute;
        top: 0;
        z-index: 2000;
        left: 0;
    }

    .header-main ul li ul li {
        height: fit-content;
        display: block;
        background-color: #111;
    }

    .header-main ul li ul li a {
        background-color: #111;
        color: #fff;
    }

    .header-main ul li ul li a:hover {
        background-color: #111;
        color: #fff;
    }

    /* to display the submenu when we move the finger on it */
    .header-main ul li:focus>ul,
    .header-main ul li:hover>ul {
        display: flex;
        visibility: visible;
        opacity: 1;
    }

    .header-main .sm {
        width: 100%;
        height: 20vh;
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .header-main form {
        padding-right: 0;
        width: 90%;
        height: 40%;
    }

    .header-main form input {
        width: 100%;
        height: 100%;
        padding: 0 10px 0 20px;
        font-size: 1.6rem;
    }

    .header-main form button {
        padding: 0 5%;
    }

    .header-main form button img {
        height: 5vh;
        padding-top: 15%;
    }

    .header-main .sm-links {
        height: 50%;
        width: 100%;
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .header-main .sm-links a {
        height: 60%;
        margin: 0 2%;
        padding: 0;
    }

    /* MOBILE MAIN CONTENT STYLING START */

    .wrapper-main {
        width: 300px;
        margin: 0 auto;
    }
    .content h2 {
        margin-top: 120px;
        color: #fff;
        display: flex;
        justify-content: left;
        font-size: 1.2rem;
        font-family: RobotoBold;
    }
    
    .content h3 {
        margin-top: 50px;
        color: #fff;
        display: flex;
        justify-content: left;
        font-size: 1rem;
        font-family: RobotoBold;
    }
    /* MOBILE MAIN CONTENT STYLING END */
}