@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
body{
    background: #fff;
    min-height: 80vh;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
i{
    list-style: none;
}


/* Navbar */
nav{
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  background-color: #fff9;
  font-family: 'Poppins', sans-serif;
}
.logo{
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
}
.logo img{
  transform: translateX(-100px);
  height: 32vh;
  width: 32vh;
  object-fit: scale-down;
}
.nav-links{
  display: flex;
  justify-content: space-around;
  width: 45%;
}
.nav-links li{
  text-decoration: none;
  list-style: none;
}
.nav-links a{
  color: #000;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 16px;
  padding: 20px;
}
li a:hover{
  background-color: #b10000;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  color: white;
}
.burger div{
  width: 25px;
  height: 2px;
  margin: 5px;
  background-color: #000;
}
.burger{
  display: none;
  cursor: pointer;
}

@media screen and (max-width:1024px) {
  .nav-links{
      width: 60%;
      overflow-x: hidden;
      z-index: 1;
  }
}

@media screen and (max-width:768px) {
  body{
      overflow-x: hidden;
  }
  .nav-links{
      position: fixed;
      color: #fff;
      right: 0px;
      height: 82vh;
      top: 18vh;
      background-color: #b10000;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      transform: translate(100%);
      transition: transform 0.5s ease-in;
  }
  .nav-links a{
      color: #fff;
  }
  li a:hover{
      background-color: #fff;
      color: #b10000;
      padding: 20px;
      border-radius: 5px;
      width: 90%;
      color: #000;
  }
  .logo img{
      transform: translateX(-70px);
  }
  .burger{
      display: block;
  }
}
.nav-active{
  transform: translate(0%);
}

@keyframes navLinkFade{
  from{
      opacity: 0;
      transform: translateX(50px);
  }
  to{
      opacity: 1;
      transform: translateX(0px);
  }
}
/* End Navbar */

/* Sidebar */
.sidebar{
  position: absolute;
  left: 0;
  min-height: 100%;
  width: 300px;
  background: #b10000;
}
.sidebar .nav-link{
  height: 100%;
  padding-top: 30px;
  overflow: auto;
}
.sidebar .nav-link::-webkit-scrollbar{
  display: none;
}
.sidebar .nav-link li{
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}
/* .sidebar .nav-link li:hover{
  background: #d60202;
} */
.sidebar .nav-link li .icon-links{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar .nav-link li i{
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.sidebar .nav-link li span{
  color: #fff;
  font-size: 13px;
  margin-left: 8px;
}
.sidebar .nav-link li.showMenu i.arrow{
  transform: rotate(-180deg);
}
.sidebar .nav-link li a{
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #fff;
}
.sidebar .nav-link li a .link-names{
  font-size: 16px;
  margin-left: 8px;
  font-weight: 400;
}
.sidebar .nav-link li .submenu{
  padding: 6px 6px 14px 15px;
  margin-top: -10px;
  /* background-color: #d60202; */
  display: none;
}
.sidebar .nav-link li.showMenu .submenu{
  display: block;
}
.sidebar .nav-link li .submenu a{
  font-size: 16px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.sidebar .nav-link li .submenu a:hover{
  opacity: 1;
}
.sidebar.close .nav-link li .submenu{
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
  display: flex;
}
.sidebar.close .nav-link li:hover .submenu{
  top: 0;
  opacity: 1;
  pointer-events: auto;
}
.sidebar .nav-link li .submenu .link-names{
  opacity: 1;
  font-size: 12px;
  display: flex;
}
.sidebar.close .nav-link li .submenu .link-names{
  font-size: 13px;
  opacity: 1;
  display: block;
}
.sidebar .nav-link li .submenu li a{
  font-size: 12px;
}
.home-section{
  position: relative;
  background: #fff;
  height: 100vh;
  left: 300px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
}
.sidebar.close ~ .home-section{
  left: 0px;
  width: calc(100% - 0px);
}
.home-section .home-content{
  height: 60px;
  display: flex;
  align-items: center;
}
.home-section .home-content .fa-chevron-right,
.home-section .home-content .text{
  color: #000;
  font-size: 20px;
}
.home-section .home-content .fa-chevron-right{
  margin: 0 15px;
  cursor: pointer;
}
.home-section .home-content .text{
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 600;
}
/* Sidebar */

/* Card */
.cards-list {
  /* z-index: 0; */
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.cards-list a {
  /* padding: 20px; */
  margin-left: 4rem;
}

.card {
  z-index: 0;
  width: 500px;
  height: 480px;
  cursor: pointer;
  transition: 0.4s;
  margin-top: 50px;
}

.card .card_image {
  width: inherit;
  height: inherit;
}

.card .card_image img {
  width: inherit;
  height: inherit;
  /* border-radius: 40px; */
  object-fit: scale-down;
}

.card .card_title {
  text-align: center;
  border-radius: 10px 10px 10px 10px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 30px;
  /* margin-top: -80px; */
  height: 40px;
  background-color: #b10000;
  color: #fff;
}

.card:hover {
  transform: scale(0.9, 0.9);
}

.title-white {
  color: white;
}

.title-black {
  color: black;
}

@media screen and (max-width:768px) {
  .cards-list {
    left: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .card {
    height: 400px;
    width: 350px;
    margin-top: 100px;
  }
  .card .card_image img{
    padding-right: 50px;
  }
  .card .card_title {
    margin-right: 50px;
  }
}