
@import url('https://fonts.googleapis.com/css2?family=Ancizar+Serif:ital,wght@0,300..900;1,300..900&family=Fondamento:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{

    margin:0;
    padding:0;
    box-sizing: border-box;

    
}

/*-------- header -----------*/
.navbox{
    display: flex;
    justify-content: space-between;
    padding: 30px;
    /* background-color: #E50914; */
    background-color: #F40009;
    /* background-color: #A2AAAD; */
    align-items: center;
    font-family: "Fondamento", cursive;
    height:auto;
    
    
}

.navbox img{
    width:10%;
    height: 10%;
    border-radius: 4px;
    background-color: #ffff;
   
}

.listbox{

    display:  flex;
    list-style-type: none;
    
}
.listbox li{
    padding: 10px;
    cursor: pointer;
}

.listbox li a{
    text-decoration:none;
    color:#fff;
    
}

.listbox li:hover{
    /* background-color: rgba(0, 0, 0, 0.3); semi-transparent black */
    background-color: rgba(255, 255, 255, 0.3); /* white with 30% opacity */
    color:#000;
    border-radius: 5px;
    
}

/* ------------------ Body ------------------ */
body{
    
  font-weight: 400;
  font-style: normal;
  font-family: "Ancizar Serif", serif;
  font-optical-sizing: auto;
  background-color: #ffffff;
  
  
}


/* ----------------- Section 1 ---------------- */
.paraSec{
    padding:10%;
    text-align: center;

    
}

.paraSec h3{

  font-weight: 300;
  margin-bottom: 15px;

}

span{
  color:red;
}








/* ------------------ Section 2 ---------------- */
.itemSec{
    width:100%;
    padding:4%;
    display: flex;
    flex:1;
    flex-wrap: wrap;
    gap:12%;
    row-gap: 30px;
}


.item-box{
    box-shadow:1px 1px 8px #A2AAAD;
    border-radius: 8px;
    width:25%;
    height: 25%;
    display: flex;
    flex-direction: column;

}

.item-box .img-box{
  width:100%;
  height: 300px;    
  overflow: hidden; 
  flex-shrink: 0;

}


.item-box .img-box img{
 
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit:fill; 


}

.item-box .img-box img:hover {
  opacity: 0.9;
  transition: 0.3s ease;
}



.item-box .detail-box{

  height: 50%;
  flex: 1;
  padding: 5%;

}


.item-box .detail-box button{
    width:100%;
    padding: 7px;
    color:white;
    border-radius: 5px;
    border:none;
    cursor: pointer;
    background-color: #28a745;
    margin-top:10px;
    margin-bottom: 4px;
    
    
}

.item-box .detail-box button:hover {
  background-color: #218838;
}


button a{
  text-decoration: none;
  color:white;
}

/* -------------------- footer --------------------- */

.footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-about,
  .footer-contact,
  .footer-social {
    flex: 1 1 200px;
  }
  
  .footer h3,
  .footer h4 {
    margin-bottom: 10px;
    color: #f2f2f2;
  }
  
  .footer p,
  .footer a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
  }
  
  .footer a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
 
  
 
  .footer-social a img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
  }
  
  .footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
    color: #999;
  }
  



  


  /* ------------------------ mobile view --------------------- */

  @media only screen and (max-width: 768px)
  {
     
    .navbox img{
     width:35%;
    
    }


    .listbox{
      flex-direction: column;
    }

    .paraSec{
      font-size:10px;
      padding:4%;
    }
     
    .item-box{
      width: 40%;
    }

    
    
    





  }

  @media only screen and (max-width: 380px){
    .paraSec{
      font-size:8px;
      padding-left:0%;
      padding-right: 0%;
    }


  }