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

body{
  background: black;
  color : white;
  background-color: #0f0f0e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%239c9fa1' fill-opacity='0.05'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  font-family: 'Oswald', sans-serif;
}
a {
  color: white;
  text-decoration: none;
}
ul{
  list-style: none;
}
.container{
  width: 90%;
  margin: auto;

}
/* Navigation */
.nav-main{
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 20px 0;

}

.nav-brand{
  width: 50px;
}

/* Left Navigation */

.nav-main ul{
  display: flex;
}
.nav-main ul li{
  padding: 10px
}
.nav-main ul li a{
  /* padding: 2px; */
  margin: 15px;
  padding: 10px

}
.nav-main ul li a:hover{
  border-bottom: 2px solid white;
}
/* .nav-menu ul.nav-menu */
.nav-menu{
  flex: 1;
  margin-left: 20px
}

.menu-btn{
  position: absolute;
  cursor: pointer;
  top: 15px;
  right: 15px;
  z-index: 2;
  font-size: 1.5rem;
  display: none
}
.nav-main ul.nav-menu-right{
   margin-right: 40px
}
/* Hero image */

hr{
  margin: 20px 0
}
.hero{
  width: 100%;
  height: 550px;
  color: black;
  margin-bottom: 20px;
  background: url("./img/hero.jpg") no-repeat center center/cover;
  display: flex;
  padding: 50px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
}
.btn{
  cursor: pointer;
  display: inline-block;
  color: black;
  border: 0;
  padding: 10px 20px;
  border: 2px solid black;
  font-size: 15px;
  margin: 10px 0
}
.btn:hover{
opacity: 60%
}
.hero h2, p{
  margin-bottom: 10px
}
/* News section */

.news-section{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 70px 0;
}

.news-section img{
  width: 100%;
  height: 180px
}
.news-section h3{
  font-size: 20px;
  margin: 10px 0;
}
.news-section a{
  padding: 10px 0;
  color: white;
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
}

.news-section a:hover{
  text-decoration: underline;
}
/* Banner 1 */
.banner{
  width: 100%;
  height: 350px;
  background: url("img/banner.jpg");
  margin-bottom: 40px;
}
.banner .content{
  width: 40%;
  padding: 90px 0 0 30px;
  color: white
}
.banner p,
.banner2 p{
  margin: 10px 0 20px 0;
}
/* Banner 2 */
.banner2{
  width: 100%;
  height: 350px;
  background: url("img/image-five.jpg")no-repeat center/cover;
}

.banner2 .content2{
  width: 50%;
  padding: 100px 0 0 30px;
  color: white
}

/* Social */

.social{
  margin: 50px;
}
.social p{
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;

}
.links{
  display: flex;
  align-items: center;
  justify-content: center;

}
.links a{
  margin: 0 30px
}
.links a i{
  font-size: 3rem
}
/* Footer links */

.footer-links{
  background: #2f3640;
  color: #616161;
  font-size: 12px;
  padding: 35px 0;
}
.footer-container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}
.footer-container ul{
  margin: 0 auto;
}
.footer-container{
  line-height: 2.8
}
.footer{
  background: #2f3640
  color: #616161;
  padding: 20px 0;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 700px) {
  .menu-btn{
    display: block;
  }
  .nav-main ul.nav-menu{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #2f3640;
    height: 100%;
    transform: translateX(-400px);
    padding: 30px;
    opacity: .9;
    transition: transform .5s ease-in-out
  }
.nav-main ul.nav-menu.show{
  transform: translateX(-20px);
}
  .nav-main ul.nav-menu li{
    font-size: 14px;
    padding: 20px;
  }
  .news-section, .footer-links .footer-container{
    grid-template-columns: repeat(2, 1fr)
  }
  .banner .content, .banner2 .content2{
    width: 80%
  }
}

@media (max-width: 500px){
  .news-section{
    grid-template-columns: 1fr;
  }
  .news-section img{
    height: 250px
  }
  .banner .content, .banner2 .content2{
  width: 100%;
  padding: 60px 20px;
}
  .footer-links .footer-container{
    grid-template-columns: 1fr;
}
