*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px); 
    }
    to {
      opacity: 1;
      transform: translateY(0); 
    }
  }
  
  .container {
    width: 80%;
    max-width: fit-content;
    margin: 0 auto;
    margin-top: 110px;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .container > * {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
  }
  
  header, nav {
    transition: top 0.3s;
    position: fixed;
    top: 0;
}

.hide {
    top: -100px;
}

.hidee {
    top: -100px;
}



/* header */
    header{
        background-color: #2e2e2e;
        width: 100%;
        padding: 10px;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    header .logo {
        display: none;

    }


  .nav-toggle {
    order: 2; 
  }
  
  
  .dropdown input[type="checkbox"],
  .dropdown label {
    margin-right: 10px; 
    flex: 1;
  }

    header a{
        color: #FFFFFF;
        text-decoration: none;
        margin: 10px;
    }

    .dropdown {
        display: inline-block;
        position: relative;
        margin-left: auto;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #000000;  
        top: 100%;
        left: 0;
        width: 100%; 
    }

    .dropdown-content li {
        list-style-type: none;
        display: block;
    }

    .dropdown-content li a {
        color: rgb(255, 255, 255);
        text-align: center;
    }

    .dropdown-content li:hover {
        background-color: #57d1c9e5;
    }

    input[type="checkbox"] {
        display: none;
    }

    .dropdown:focus-within .dropdown-content {
        display: block;
    }

    #toggle:checked + a + .dropdown-content {
        display: block;
    }

    #toggle:not(:checked) + a + .dropdown-content {
        display: none;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background-color: #2e2e2e;
        padding: 10px;
        color: #FFFFFF;
        text-align: right;
    }

  .topLogo{
    display: none;
    width: 50%;
    height: auto;
  }

/* navigation bar */
nav {
    width: 100%;
}

.logo{
    float: left;
    padding: 0 10px;
    margin: 5px;
}

.logo img {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 55px;
}

nav .logo hr{
    display: none;
}

nav ul {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
    margin: 0;
    padding: 0;
    will-change: transform;
    transition: all 0.7s ease-in-out;
}

.nav-icons {
    margin-left: auto;
    display: flex;
}

nav ul li {
    position: relative;
    flex-direction: column;
    padding: 10px; 
    flex: 1;
    will-change: transform;
    transition: all 0.7s ease-in-out;

}

nav ul li:hover {
    background-image: linear-gradient(to top, #e8eff1, #63d6fc);
}

nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-decoration: none;
    color: #000000;
    width: auto;
}

nav ul li a img {
    margin-bottom: 5px;
    width: 20px; 
    height: 20px; 
    object-fit: contain;
  }

a:hover{
    color: #ffffff;
    text-decoration: none;
}
  
  nav {
    position: fixed;
    top: 40px; 
    left: 0;
    width: 100%;
    z-index: 9998; 
    background-color: #ffffff;
  }

  nav ul li[title="Browsing page"]{
    background-image: linear-gradient(to top, #e8eff1, #63d6fc);
    color: #fff;
  }

  @keyframes dropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav_dropdown {
    display: inline-block;
    position: relative;
}


.nav_dropdown-content {
    display: block;
    position: absolute;
    background-color: #ffffff;  
    top: 100%;
    left: 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    width: 100%; 
    max-height: 0;
    overflow: hidden;
    will-change: transform;
    transition: all 0.3s ease-in-out;
}

.nav_dropdown:hover .nav_dropdown-content {
    max-height: 500px;
}

.nav_dropdown-content li {
    list-style-type: none;
    display: block;
    will-change: transform;
    transition: all 0.3s ease-in-out;
}

.nav_dropdown-content li a {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center; 
    justify-content: center;
}

.nav_dropdown-content li:hover {
    background-color: #a3d9eb;
    color: rgb(255, 255, 255);
}

.nav_dropdown:hover .nav_dropdown-content {
    display: block;
}

.nav-toggle{
    display: none;
}

/*  footer */
.footer {
    width:100%;
    color: white;
    height: 800px;
    background-color: rgb(2, 2, 2);
    display:flex;
    flex-direction: column;
    align-items:center;

}

.footer_socialMedia{

    margin-top: 20px;
    margin-bottom: 20px;  
    }
    .footer_socialMedia img{
        cursor: pointer;
        width: 30px;
        height: 30px;
        margin: 0 10px;
    }
    .footer_Content1 {     /*Content1*/
        display: flex;
        margin-bottom: 50px;
    
    }
    
    
    .footer_Content1 a{
        color: white;
        text-decoration: none;
    }
    
    .footer_Content1 a:hover{
        text-decoration: underline;
        color: white;
    }
    
    .footer_Content1 li{
        list-style: none;
        margin-bottom: 20px;
        width:177px;
    }
    .Content1-left{
        font-size: 20px;
        margin-left: 10%;
        margin-right: 20%;
        font-weight: bold;   
    
    }
    
    .Content1-right{
        font-size: 17px;
        font-weight: bold;
    }
    .Content1-right span{
        margin-bottom: 10px;
        font-size: 25px;
    }
    
    
    .footer_Content2 {     /*Content2*/
        display: flex;
        margin-bottom: 50px;
    }
    
    .Content2-left{        /*Content2 left*/
        margin-left: 0%;
        margin-right: 8%;
        font-weight: bold;   
    }
    
    .clubdesc{
        font-size: 20px;
    }
    
    .post_small {
        display: flex;
        align-items: center;
        border: 1px solid white;
        width: 300px;
        height: 70px;
        margin-bottom: 5px;
    }
    
    .post_small img{
        width: 70px;
        height: 50px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .Content2-right p{       /*Content2 right*/
        font-weight: bold; 
        font-size: 20px;  
    }
    
    .Content2-right img{       /*Content2 right*/
        margin-top: 0px;
        width: 300px;
        height: 80px;
    }
    
    .copyright{
        font-weight: bold;
    }

    @media only screen and (max-width: 820px) {
        
        .container{
            margin-top: 70px;
        }

        .nav-toggle {
            display: block; 
            order: 1; 
            flex-grow: 0; 
            flex: 0 0 auto;
            margin-right: auto; 
          }

          header{
            background-color: rgb(255, 255, 255);
            width: 100%;
            padding: 10px;
            color: black;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: nowrap;
        }
        
          header .logo {
            display: block;
            width: 100%;
            order: 2; 
            flex-grow: 0; 
            text-align: center;

          }

          .dropdown-content {
            background-color: #ffffff;  
        }

        .dropdown-content li a {
            color: rgb(0, 0, 0);
        }
        
          .dropdown {
            order: 3; 
            flex-grow: 0; 
            flex: 0 0 auto;
            margin-left: auto; 
          }
        
        .nav-toggle {
            display: block;
            top: 0;
            left: 5px;
            background-color: #000000;
            color: white;
            padding: 10px 15px;
            font-size: 10px;
            cursor: pointer;
          }
        
          nav {
            background-color: #ffffff;
            position: fixed;
            top: 0;
            left: -100%; 
            width: 150px; 
            height: 100%;
            z-index: 9999;
            overflow-x: hidden;
            transition: 0.5s; 
          }

          nav .logo{
            width: 100%;
            height: auto;
          }
          nav .logo hr{
            display: block;
        }
        
          nav ul {
            flex-direction: column;
          }

          nav ul li a{
            flex-direction: row;
            justify-content: left;
          }
        
          .nav-icons {
            flex-direction: column;
            margin-left: 0;
          }
        
          .nav_dropdown-content {
            position: static; 
          }


        .footer {
            width:100%;
            color: white;
            height: auto;
            background-color: rgb(2, 2, 2);
            flex-direction: column;
            align-items:center;
        
        }
        .footer_socialMedia img{
            cursor: pointer;
            width: auto;
            height: 30px;
            margin: 0 10px;
        }


            .footer_Content1 {     /*Content1*/
                display: block;
                margin-bottom: 50px;
                align-items:center;

            }
            
            .Content1-left{
                font-size: 20px;
                margin-left: auto;
                margin-right: auto;
                font-weight: bold;   
            
            }
            .footer_Content1 li{
                list-style: none;
                margin-bottom: 20px;
                width: auto;

            }
            

            .Content1-left{
                font-size: 20px;
                margin-left: auto;
                margin-right: auto;
                font-weight: bold;   
            
            }
            
        

            .footer_Content2 {     /*Content2*/
                display:block;
                margin-bottom: 50px;
            }
            
            .Content2-left{        /*Content2 left*/
                margin-left: auto;
                margin-right: auto;
                font-weight: bold;   
            }
            
            .clubdesc{
                font-size: 20px;
            }
            
            .post_small {
                display: flex;
                align-items: center;
                border: 1px solid white;
                width: 90%;
                height: 70px;
                margin-bottom: 5px;
            }
            
            .post_small img{
                width: 50px;
                height: 40px;
                margin-left: 10px;
                margin-right: 10px;
            }
            
            .Content2-right p{       /*Content2 right*/
                font-weight: bold; 
                font-size: 20px;  
            }
            
            .Content2-right img{       /*Content2 right*/
                margin-top: 0px;
                width: 90%;
                height: 80px;
            }
    }

    
