*{
    margin: 0;
    padding:0;
    box-sizing: border-box; 
    font-family: "Montserrat", sans-serif;
}    
*, *::before, *::after {
  box-sizing: border-box;
}    
    
html{
    color: #333;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}
/* Define the animation for background color */
@keyframes colorChange {
  0% {
    background-color: #ff7f50; /* Starting color (Coral) */
  }
  25% {
    background-color: #6a5acd; /* Slate Blue */
  }
  50% {
    background-color: #20b2aa; /* Light Sea Green */
  }
  75% {
    background-color: #ff69b4; /* Hot Pink */
  }
  100% {
    background-color: #ff7f50; /* Back to Coral */
  }
}
/* Style the body to animate background */
body {
  margin: 0; /* Remove default margin */
  animation: colorChange 10s infinite ease-in-out;
}
@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }
}
/* Small desktops / landscape tablets */
@media (min-width: 1024px) {
  body {
    font-size: 16px;
  }
}
/* for tablet devices*/
@media (max-width: 840px) {
    body {
        font-size: 16px;
        margin: 0;
    }

}
/* Extra large phones */
@media (max-width: 768px) {
    body {
        font-size: 15px;
        /* Adjust for larger phones */
        overflow-x: hidden;
        margin: 0;
    }
}
/* Large phones */
@media (max-width: 460px) {
    body {
        font-size: 15px;
        /* Default font size */
        overflow-x: hidden;
        margin: 0;
    }
}
/* Medium phones */
@media (max-width: 360px) {
    body {
        font-size: 14px;
        /* Slightly larger font for better readability */
        overflow-x: hidden;
        margin: 0;

    }
}
/* Medium phones */
@media (max-width: 320px) {
    body {
        font-size: 14px;
        /* Slightly larger font for better readability */
        overflow-x: hidden;
        margin: 0;

    }
}

h1,h2,h3,h4,h5,h6{
    font-family: "Montserrat", sans-serif;
    color: #333;
    font-weight: 600;
    text-align: center;
}
hr{
    border:none;
    height: 10px;
    background-color: #3b452662;
    margin: 20px 0;
}

.backToHomeLink {
   width:150px;
    height: 50px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    background-color: #333;
    border-radius: 5px;
    padding: 10px;
    color: #f8f8f8;
    transition: background-color 0.3s ease;
}
.backToHomeLink:hover {
background-color:#ED8171;
    color: #f8f8f8;
}

/* style for members page */
.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.members-header{
    text-align: center;
    margin-bottom: 20px 20px;   
}
.members-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.members-menu{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.members-menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
.members-menu li{
    display: inline-block;
}
.members-menu a{
    text-decoration: none;
    font-weight: 600;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.members-menu a:hover {
    background-color: #ED8171;
    color: #f8f8f8;
}
.dashboard-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dashboard-info h2 {
    margin-bottom: 20px;
}
.dashboard-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}
/* style for profile page */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}
.profile-header {
    text-align: center;
    margin-bottom: 20px;
}
.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#profileForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;

}
#profileForm label {
    font-weight: 600;
    margin-bottom: 5px;
}
#profileForm input[type="text"],
#profileForm input[type="email"],
#profileForm input[type="password"],
#profileForm input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
select{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
select option {
    padding: 10px;
    font-size: 16px;
}


#membership{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


#profileForm button {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #f8f8f8;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#profileForm button:hover {
    background-color: #ED8171;
    color: #f8f8f8;
}
textarea{
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}



/* style for lagout*/
.logout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}
.logout-header {
    text-align: center;
    margin-bottom: 20px;
}
.logout-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.logout-content p{
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;

}
.logout-content a{
    text-decoration: none;
    color: #333;
    background-color: #ED8171;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.logout-content a:hover {
    background-color: #333;
    color: #f8f8f8;
}
















.footer {
    width: 100%;
    height: 150px;
    background-color: #ED8171;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
  
}

.footer p {
    margin: 5px 0;
    color: black;
    font-size: 14px;
    font-weight: 600;
}

.footer a {
    font-size: 20px;
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #04529D;
}

.footer a:active {
    color: #f8f8f8;
}

.footer a:visited {
    color: #f8f8f8;
}

.footer a:focus {
    color: #f8f8f8;
}
@media (max-width: 360px) {
    .footer {
        width:100%;
        /* Full width for smaller screens */    
        height: auto;
        /* Adjust height for smaller screens */
    }

    .footer p {
        font-size: 12px;
        /* Smaller font size for paragraphs */
    }

    .footer a {
        font-size: 16px;
        /* Smaller font size for links */
        padding:10px;
    }
    .footer a:hover {
        color: #04529D;
        /* Change color on hover */
    }
    .footer a:active {
        color: #f8f8f8;
        /* Change color on active */
    }
    .footer a:visited {
        color: #f8f8f8;
        /* Change color on visited */
    }
    .footer a:focus {
        color: #f8f8f8;
        /* Change color on focus */
    }

}

