body {
  margin: 0;
  padding: 0;
  font-family: "lato", sans-serif;
}

header {
  display: none;
}

.nav-desk {
  display: none;
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 10px;
  position: fixed;
}

.logo {
  display: none;
}

.navi-menu {
  display: flex;
  list-style-type: none;
  position: fixed;
  gap: 30px;
  left: -100%;
  height: 100%;
  top: 3rem;
  flex-direction: column;
  background-color: #3c3a39;
  width: 100%;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}

.navi-menu.active {
  left: 0;
}

.navi-link {
  color: #fff5e1;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  text-decoration: none;
  text-align: left;
  padding-left: 16px;
  margin-top: 30px;
  border-bottom: 1px solid #6f6c6b;
  margin-left: 24px;
}

.hamburger {
  display: block;
  cursor: pointer;
  margin-left: 30px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: black;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: red;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: red;
}

.main {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 100px;
  background: #dfdfdf;
}

.hello,
.main-header {
  color: #ec5242;
  margin-left: 13%;
  margin-right: 13%;
  text-align: center;
}

.hello {
  font-size: 22px;
  margin-top: 80px;
}

.main-header {
  font-size: 40px;
}

.info,
address {
  margin-left: 13%;
  margin-right: 13%;
}

.info {
  font-size: 22px;
  padding: 20px;
  border: 1px solid #d3d3d3;
  text-align: center;
}

address {
  font-size: 30px;
  font-style: normal;
  text-align: center;
  border: 1px solid #d3d3d3;
  padding: 10px;
}

address > a {
  font-size: 22px;
  color: #272a31;
}

.comp-title {
  text-align: center;
}

.comp-break {
  margin-left: 45%;
  margin-right: 45%;
  border: 1px solid #ec5242;
  margin-bottom: 50px;
}

.comp-detail {
  text-align: center;
}

.comp-time > img {
  margin-left: 25%;
}

.competition {
  margin-top: 50px;
  margin-bottom: 40px;
}

.hacks {
  padding-bottom: 30px;
  margin-left: 50px;
  margin-right: 50px;
}

.title {
  text-align: center;
  margin-top: 50px;
  font-size: 30px;
}

.break {
  margin-left: 40%;
  margin-right: 40%;
  border: 1px solid #ec5242;
  margin-bottom: 50px;
}

.past-detail {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
}

.cont1,
.cont2 {
  width: 100%;
  height: 400px;
  position: relative;
  margin-bottom: 35px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.cont1 {
  background-image: linear-gradient(rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.5)), url("./images/levin.jpg");
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

.cont2 {
  background-image: linear-gradient(rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0.5)), url("./images/stuxnet.jpg");
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

.cont1:hover,
.cont2:hover {
  transform: scale(1.1);
}

.past-festives {
  width: 100%;
  height: auto;
  opacity: 0.6;
}

.place-year {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 10px;
  color: #fff;
}

.place-year > h2 {
  font-size: 35px;
}

.place-year > p {
  font-size: 20px;
}

.partner-cont {
  padding-bottom: 50px;
  background-color: #272a31;
}

.partner-heading {
  padding-top: 50px;
  margin-left: 20px;
  text-align: center;
  color: #d3d3d3;
  font-size: 35px;
}

.partners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 15px;
  margin-right: 15px;
}

.partners2 {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10%;
  justify-content: center;
}

.partners-icon {
  width: 100px;
  transition: all 0.5s ease-in-out;
}

.partners-icon:hover {
  transform: scale(1.1);
}

footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 20px;
  background-color: white;
}

.footer-img {
  width: 20%;
  height: auto;
}

footer > h5 {
  font-size: 25px;
  color: gray;
}

@media only screen and (min-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    font-family: "lato", sans-serif;
  }

  .main {
    padding: 0;
  }

  header {
    display: block;
    background-color: #272a31;
  }

  .lists {
    display: flex;
    justify-content: end;
    list-style-type: none;
    color: #fff;
    margin-right: 13%;
    gap: 2.76%;
    padding: 10px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
  }

  .social-media {
    color: #fff;
    text-decoration: none;
  }

  .nav {
    display: none;
  }

  .nav-desk {
    display: flex;
    justify-content: space-between;
    padding-right: 13%;
    padding-left: 13%;
    align-items: center;
    margin-top: 0;
    background-color: #d3d3d3;
  }

  .logo-desk > img {
    width: 90px;
    height: 80px;
  }

  .navi-menu-desk {
    display: flex;
    gap: 30px;
  }

  .navi-link-desk {
    text-decoration: none;
    color: #272a31;
    padding: 10px;
  }

  .about,
  .festive {
    color: #ec5242;
  }

  .festive {
    border: 4px solid #ec5242;
  }

  .main-desk {
    padding-top: 5px;
    padding-bottom: 100px;
    background: #dfdfdf;
  }

  .hello {
    font-size: 25px;
  }

  .main-header {
    font-size: 45px;
  }

  .info {
    font-size: 25px;
  }

  address > a {
    font-size: 25px;
  }

  .comp-title {
    font-size: 40px;
  }

  .comp-detail {
    font-size: 30px;
  }

  .comp-time > img {
    margin-left: 38%;
  }

  .hacks {
    padding-bottom: 30px;
    margin-left: 13%;
    margin-right: 13%;
  }

  .title {
    font-size: 40px;
  }

  .past-detail {
    margin-bottom: 80px;
    font-size: 30px;
  }

  .cont {
    display: flex;
    gap: 30px;
  }

  .partner-cont {
    display: none;
  }

  footer {
    background-color: black;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-img {
    height: 130px;
  }
}
