/* *{
    box-sizing: border-box;
    padding: 3px;
    margin: 0;
}

body{
    font-family: "Poppins", sans-serif;
    background-image:linear-gradient(rgba(50, 50, 50, 0.75),rgba(50, 50, 50, 0.75)), url('/MidtermProject/img/history\ 2.jpg');
    width: 100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
}

.nav-bar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    padding: 0 20px;
}

.logo img{
    width: 100px;
}

.menu{
    display: flex;
}

.menu li{
    padding-left: 30px;
}

.menu li a{
    display: inline-block;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
}

.menu li a::after{
    content: "";
    height: 1px;
    width: 0;
    background: #009688;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.5s ease-in-out;
}

.menu li a:hover::after{
    width: 100%;
}

.open-menu, .close-menu{
    position: absolute;
    color: #009688;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}

.open-menu{
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu{
    top: 20px;
    right: 20px;
}

#check{
    display: none;
}

.container{

    display: flex;
    justify-content: center;
}

.card{
    width: 1000px;
    height: 500px;
    margin: 30px;
    border-radius: 15px;
}

.img{
        display: flex;
        flex-wrap: wrap;
        height: 400px;
        margin-bottom: 10px;
        background-size: cover;
        border-radius: 15px;
        background-image: url('/MidtermProject/img/bayan.jpg');
}

h1{
    text-align: center;
    color: bisque;
}

p{
    margin-top: 3px;
    color: #fff;
    font-size: 13px;
    text-align: justify;
    margin: 10px;
}

@media screen and (max-width:600px) {

    body{
        background-repeat: no-repeat;
        background-attachment: fixed;
        height: 100%;
    }
    .menu{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 88%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: rgb(188, 187, 187);
        transition: all 0.2s ease-in-out;
    }
    .menu li{
        margin-top: 40px;
    }
    
    .menu li a{
        padding: 10px;
    }
    
    .open-menu, .close-menu{
        display: block;
    }
    
    #check:checked ~ .menu{
        right: 0;
    }
    .container{
        display: flex;
        height: 88%;
        justify-content: center;
        align-items: center;
    }
    .img{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card{
        width: 400px;
        height: 400px;
    }

}

@media screen and (min-width:600px) and (max-width:768px){
    body{
        background-repeat: no-repeat;
        background-attachment: fixed;
        height: 100%;
    }
    .menu{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 88%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: rgb(188, 187, 187);
        transition: all 0.2s ease-in-out;
    }
    .menu li{
        margin-top: 20px;
    }
    
    .menu li a{
        padding: 30px;
    }
    
    .open-menu, .close-menu{
        display: block;
    }
    
    #check:checked ~ .menu{
        right: 0;
    }
    .container{
        display: flex;
        flex-wrap: wrap;
        height: 88%;
        justify-content: center;
        align-items: center;
    }
    .img{
        display: flex;
        flex-wrap: wrap;
    }

    .content h1{
        font-size: 60px;
        align-items: center;
    }

    .content p{
        align-items: center;
        font-size: 20px;
    }

    .card{
        width: 700px;
        height: 500px;
    }

}

@media screen and (min-width:768px) {
    body{
        background-repeat: no-repeat;
        background-attachment: fixed;
        height: 100%;
    }
    
    .container{
        display: flex;
        height: 88%;
        justify-content: center;
        align-items: center;
    }

    .content h1{
        font-size: 60px;
        align-items: center;
    }

    .content p{
        align-items: center;
        font-size: 13px;
    }

    .card{
        flex-wrap: wrap;
        width: 1000px;
        height: 500px;
    }
 
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body{
    font-family: "Poppins", sans-serif;
    background-image:linear-gradient(rgba(50, 50, 50, 0.75),rgba(50, 50, 50, 0.75)), url("/MidtermProject/img/history\ 2.jpg");
    width: 100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
}

  .nav-bar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    padding: 0 20px;
  }

.logo {
    width: 100px;
}
  
.logo img{
    width: 100px;
}

.menu{
    display: flex;
    list-style: none;
}

.menu li{
    margin: 0 10px;
}
  
.menu li a{
    display: inline-block;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
}

.menu li a::after{
    content: "";
    height: 1px;
    width: 0;
    background: #009688;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.5s ease-in-out;
}

.menu li a:hover::after{
    width: 100%;
}

.open-menu, .close-menu{
    position: absolute;
    color: #009688;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
  
  .open-menu{
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu{
    top: 20px;
    right: 20px;
}

#check{
    display: none;
  }
  

  
  .container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
  }
  
  .card {
    border-radius: 10px;
    margin-top: 100px;
    padding: 20px;
  }
  
  .card-image {
    width: 100%;
    height: 300px;
    background-image: url("/MidtermProject/img/bayan.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
  }
  
  h1 {
    color: antiquewhite;
    font-size: 32px;
    text-align: center;
    margin: 20px 0;
  }
  
  p {
    color: white;
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
  }

  @media screen and (max-width: 768px) {
    header{
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .menu{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 88%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: rgb(188, 187, 187);
        transition: all 0.2s ease-in-out;
    }
    .menu li{
        margin-top: 40px;
    }
    
    .menu li a{
        padding: 10px;
    }
    
    .open-menu, .close-menu{
        display: block;
    }
    
    #check:checked ~ .menu{
        right: 0;
    }
  }
