* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

:root {
    --bg-color: #FFF3E2;
    --text-color: #E74646;
    --main-color: #FF6969;
}

body {
    min-height: 100vh;
    background: white;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}


header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 10;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12%;
    transition: all 0.5s ease;
    background-color: white;
    height: 4rem;
}

.navbar {
    display: flex;
    margin-bottom: -0.5%;
    margin-right: 0px;
    position: absolute;
    right: 0;

}


.logo{
    position: absolute;
    width: 250px;
    height: auto;
    left: 10;
    padding: 20px;
    transform: scale(1.8);
}

.navbar a {
    color: #FF6969;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 2px 0;
    margin: 0px 30px;
    transition: all 0.50s ease;
    text-decoration: none;
}

.navbar a:hover {
    color: #FF6969;
}


#menu-icon {
    font-size: 35px;
    color: #FF6969;
    cursor: pointer;
    z-index: 10001;
    display: none;
    position: relative;
}

.main {
    display: flex;
    margin-left: 350px;
}

.main a {
    margin-right: 25px;
    margin-left: 10px;
    color: #FF6969;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.5s ease;
}


.main a:hover {
    color: white;
}


#menu-icon {
    font-size: 30px;
    color: #FF6969;
    cursor: pointer;
    z-index: 10001;
    display: none;
    position: relative;
}


@media (max-width: 1300px) {
    header {
        padding: 14px 2%;
        transition: 0.2s;
    }

    .navbar a {
        padding: 5px 0;
        margin: 0px 20px;
    }

}

@media (max-width: 1090px) {    
    #menu-icon {
        display: block;
        z-index: 10001;
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 10px;
    }

    .navbar {
        position: absolute;
        right: 0;
        width: 100%;
        top: 100%;
        height: auto;
        background: #FA9884;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: all 0.5s ease;
        overflow: hidden;
        padding-right: calc(50vw - 545px);
    }

    .navbar a {
        padding: 0.7rem;
        display: flex;
        justify-content: center;
        transition: all 0.5s ease;
        color: white;
        align-items: center;
    }

    .navbar a:hover {
        color: #E74646;
        transform: translateY(5px);
    }

    .navbar.open {
        right: -200%;
    }
}

@media (max-width: 420px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        right: 0rem;
        width: 100%;
        top: 100%;
        height: auto;
        background: #FA9884;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        border-radius: 10px;
        transition: all 0.5s ease;
        overflow: hidden;
    }

    

    .navbar a {
        padding: 0.7rem;
        display: flex;
        justify-content: center;
        transition: all 0.5s ease;
        color: white;
        align-items: center;
    }

    .navbar a:hover {
        color: #E74646;
        transform: translateY(5px);
    }

    .navbar.open {
        right: -100%;
    }
    
}


/* loading page design */
/* Add this CSS to style the loading spinner */
.loading-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
  }
  
  .loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  

