body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: lightgrey;
}

/*Top portion of the head*/
#TOP {
    background-color: black;
    position: static;
    width: 100%;
    border: 2px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#Settings {
    background-color: orange;
    width: 140px;
    height: auto;
    border: 3px solid greenyellow;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#Settings p {
    color: white;
}

.settings-icon {
    width: 40px;
    height: 40px;
    background: #fffefe;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

#TOP-right {
    width: 550px;
    height: auto;
    
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#name_placement {
    color: white;
    width: 250px;
    height: auto;
    font-size: 20px;
}

.loginORsignup {
    position: relative;
    right: 50px;
    background-color: orange;

    border: 3px solid greenyellow;

    color: white;
    width: 200px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}







/*The middle of the TOP*/
#middle-TOP {
    background-color: black;
    width: 100%;
    height: 600px;
    border-top: 2px solid orange;
    font-size: 50px;
    color: green;
}

#middle-TOP p {
    position: absolute;
    left: 40%;
    top: 55%;
}

#middle-TOP img {
    position: absolute;
    left: 32%;
    top: 10%;
    width: 550px;
    height: 550px;
}









/*The bottom of the header*/
#bottom-TOP {
    width: 100%;
    height: auto;
    border: 2px solid black;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.links_B {
    text-align: center;
    font-weight: lighter;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 20px;
    background-color: lightgrey;
    padding: 10px 20px;
    border: none;
    flex-grow: 1;
    width: 560px;
    height: 100px;
}

.links_B:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}







/*The pop up icon*/
.popup .overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    display: none;
}

.popup .content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 450px;
    height: 300px;
    z-index: 2;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    display: none;
}

.popup .close-btn {
    cursor: pointer;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #222;
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    
    
}

.popup.active .overlay {
    display: block;
}

.popup.active .content {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    transition: all 300ms ease-in-out;
}


#Nav_button
{
    
    left: 95%;

    width: 70px;
    height: 70px;
    background-color: white;
    font-size: 50px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 5px solid black;

        position: fixed;
        animation: upAndDown 5s infinite;

        cursor: pointer;


}


@keyframes upAndDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px); /* Adjust the distance as needed */
    }
    100% {
        transform: translateY(0);
    }
}


.title
{
    position: relative;
        left: 42%;
    font-size: 50px; 

    display: underline;
}


#popupscreen
{
    cursor: pointer;
    transition: all 0.3s ease; 

}


#popupscreen:hover
{
    background-color: lightgrey; 


    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Adding shadow */
    transform: scale(1.01); /*This is what changes the size*/

}

