@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* Global settings */
* {
    margin: 0;
    padding: 0;
    font-family: "Nunito Sans", serif;
    max-width: 100vw;
    box-sizing: border-box;
}

body {
    background-color: #f8f8f8 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    position: relative;
    touch-action: pan-y;
}

/* Paragraph styling */
p {
    margin: 7.5% 5% 2.5%;
    font-size: x-large;
}

/* Navbar styling */
header {
    background-color: #7413dc;
    color: white;
    padding: 1vh;
    text-align: center;
    position: relative;
    z-index: 10;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

nav ul li {
    display: inline-block;
    margin: 0.5vh 2%;
    font-size: larger;
    font-weight: bolder;
    padding: 1vh 2vh;
    position: relative;
    transition: background-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.075);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 1.5vh;
}

nav ul li:hover {
    background-color: rgba(0, 0, 0, 0.125);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 0.5vh 0;
    list-style-type: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 20;
    min-width: 175px;
    max-width: 250px;
    text-align: center;
    border-radius: 1.5vh;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    width: 85%;
    transition: background-color 0.3s ease;
    margin: 1vh 0.5vh;
}

nav ul li ul li:hover {
    background-color: #e7e7e7;
    border-radius: 1.5vh;
}

nav ul li ul li a {
    display: block;
    padding: 0.5vh;
    color: black;
    font-weight: normal;
    font-size: smaller;
    white-space: nowrap;
    width: 95%;
    box-sizing: border-box;
}



nav ul li a span {
    margin-left: 1.25vh;
    position: relative;
    top: -0.35vh;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        font-size: medium;
        margin: 0.5vh 1%;
        padding: 0.5vh 1vh;
    }
    
    nav ul li ul {
        position: absolute;
    }
}

/* Footer styling */
footer {
    bottom: 0;
    width: 100%;
    background-color: #7413DC;
    color: white;
    text-align: center;
}

#footerbottom{
    background-color: #6310BB; 
    padding-top: 1.5vh;
    padding-bottom: 1.5vh;
}

footer a, footer a h6 {
    color: white;
    text-decoration: none;
    margin-bottom: 5%;
    transition: all 0.25s;
}

footer a:hover, footer a h6:hover {
    text-shadow: 0px 0.5px 1px white;
    text-decoration: underline;
}


footer h4 {
    margin: 3% 0 2.5%;
}

footer img {
    margin-bottom: 1%;
}

footer h3 {
    margin-top: 2.5%;
    margin-bottom: 5%;
}

/* General container */
.whitespace {
    padding: 4.5vh 12.5%;
}

/* Responsive image adjustments */
#navimg {
    width: 35%;
}

@media (max-width: 992px) {
    #navimg {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #navimg {
        width: 75%;
    }

    #size {
        display: none;
    }
}

#notdis {
    display: none;
}
