:root {
  --gray: rgb(70, 69, 69);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: sans-serif;
  transition: 0.5s;
}


body {
  background-color: #ebe9e9;
}

.wrapper {
  max-width: 1100px;
  margin: auto;
  margin-bottom: 20px;
  padding: 0 20px;
}

.box-show-img{
  position: absolute;
  width: auto;
  height: auto;
  top: 0px;
  left: 0px;

}

/*------------ FIRST BOX -------------*/
.first-box {
  background-color: white;
  display: grid;
  grid-template-columns: 2fr;
  grid-template-rows: 200px 200px;
  gap: 20px;
  padding: 18px;
  border-radius: 5px;
}

.first-box-content {
  position: relative;
  object-fit: cover;
  overflow: hidden;
  cursor: default;
}

.first-box-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
  width: 100%;
  height: 100%;
  z-index: 0;
}

.first-box-content:hover img {
  transform: scale(1.1);
}

.first-box-content:nth-child(1) {
  grid-row: 1/3;
}
.first-box-content:nth-child(2) {
  grid-column: 2/4;
  grid-row: 1/2;
}

.first-content {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 10px;
  color: white;
  z-index: 1;
}

.apple {
  font-size: 10px;
  background-color: orangered;
  display: inline-block;
  padding: 3px;
  border-radius: 2px;
  color: white;
  cursor: pointer;
  z-index: 10;
}

.first-content h3 {
  /* color: #16161a; */
  font-size: 25px;
  margin: 10px 0;
}

.first-content p {
  color: rgb(190, 188, 188);
}

/*-------------- RESPONSIVE--------- */

@media (max-width: 991px) {

  .navbar.responsive{
    display: block !important;
  }

  .navbar{
    display: none !important;
  }
  
  .topweb {
    display: none;
  }

  #bars {
    display: block;
    font-size: 20px;
    margin-right: 20px;
    cursor: default;
  }

  .bars:hover,
  .times:hover {
    color: orangered;
    cursor: default;
  }

  
  header .navbar {
    position: absolute;
    width: 280px;
    height: 150vh;
    top: -15px;
    left: -15px;
    display: block;
    background-color: rgb(255, 254, 254);
    z-index: 1000;
    box-shadow: 1px 2px 5px 5px rgba(68, 68, 68, 0.1);
    opacity: 1;
    /* visibility: hidden; */
  }
  header .wrapper .navbar {
    display: block;
  }

  header .wrapper .navbar li {
    margin-top: 25px;
  }


  .logo-991 {
    display: block;
    border-bottom: 1px solid #cccccc;
    padding: 17px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    font-size: 23px;
    color: black;
    font-weight: 800;
  }

  .logo-991 i {
    color: orangered;
    margin: 0 10px;
  }

  #times {
    display: block;
    position: absolute;
    top: 24px;
    right: 18px;
    font-size: 22px;
    font-weight: 100;
    cursor: default;
  }
}

/* Max-wuidth 900px */
@media(max-width:900px){

  .navbar.responsive{
    display: block !important;
  }

  .navbar{
    display: none !important;
  }


  .grid-container{
    grid-template-columns: minmax(10px, 1fr);
  }

  .wrapper {
    padding: 0 20px;
  }

/* Footer */
  footer .wrapper .footer-grid{
    grid-template-columns: 1fr;
}
.last-footer-box{
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
}
.mini-last-footer-box{display: block;}

.last-box-content h4{display: none;}
.last-box-content p{margin: 20px 0;}
.icon-footer{ align-items: center;  display: flex; justify-content: center;}
/* End wrapper */
.end .wrapper{
  display: flex;
 flex-direction: column;
}
.end .wrapper ul{margin-top: 20px; order: 1;}
}


/* Max-wuidth 768px */
@media(max-width:768px){

  .navbar.responsive{
    display: block !important;
  }

  .navbar{
    display: none !important;
  }

  nav .wrapper .logo {
    font-size: 24px !important;
    color: blue !important;
  }

  .grid-container{
    grid-template-columns: minmax(10px, 1fr);
  }

  .wrapper {
    padding: 0 20px;
  }

/* Footer */
  footer .wrapper .footer-grid{
    grid-template-columns: 1fr;
}
.last-footer-box{
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
}
.mini-last-footer-box{display: block;}

.last-box-content h4{display: none;}
.last-box-content p{margin: 20px 0;}
.icon-footer{ align-items: center;  display: flex; justify-content: center;}
/* End wrapper */
.end .wrapper{
  display: flex;
 flex-direction: column;
}
.end .wrapper ul{margin-top: 20px; order: 1;}
}


/* Max Width 680px */
@media (max-width:600px){

  .navbar.responsive{
    display: block !important;
  }

  .navbar{
    display: none !important;
  }

  nav .wrapper .logo {
    font-size: 22px !important;
    color: blue !important;
  }

  .wrapper{padding: 0 10px;}

  .first-box {
    grid-template-columns: 1fr;
    grid-template-rows: 200px;
    margin-top: 20px;
  }

  .first-content h3 {
    font-size: 16px;
  }

  .first-box-content:nth-child(1) {
    grid-row: 1/2;
  }

  .first-content h3 {
    /* color: #16161a; */
    font-size: 14px;
    margin: 10px 0;
  }

  .box-show-img{
    width: 100%;
    height: 100%;
    overflow: hidden;
  }  

}



/* Max width 480px */

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

  .navbar.responsive{
    display: block !important;
  }

  .navbar{
    display: none !important;
  }

  nav .wrapper .logo {
    font-size: 20px;
  }
 
  /* GRID BOX 1 */
  /* .first-box {
    display: block;
    overflow: hidden;
  } */
 
   header .wrapper .logo{font-size: 20px;}

  .first-box{padding: 10px;}

  /* .first-box-content:nth-child(1) {
    grid-row: 1/2;
  } */

  .box-show-img{
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}  


}

/* Max width 320px */

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

  .navbar.responsive{
    display: block !important;
  }

  .navbar{
    display: none !important;
  }

  nav .wrapper .logo {
    font-size: 20px;
  }
 

  /* GRID BOX 1 */
  /* .first-box {
    display: block;
    overflow: hidden;
  } */
 
   header .wrapper .logo{font-size: 20px;}

  .first-box{padding: 10px;}

  .box-show-img{
    width: 100%;
    height: 100%;
    overflow: hidden;
  }  


}