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

#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #023e8a;
  z-index: 1000;
  width: 100%;
  height: 8vh;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 1px 8px #023e8a;
}

#logo {
  width: 170px;
  height: 50px;
}

section.web-applications {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8vh;
}

section.web-applications h1 {
  font-size: 2.5rem;
  padding-top: 30px;
  text-align: center;
  font-weight: bold;
  color: black;
}

.web-applications-container {
  position: relative;
  display: inline-block;
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 90%;
  max-width: 70vw;
  height: auto;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 50px;
}

.lolw-wrapper,
.hotel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 50px 0 50px 0;
  margin: 0 auto;
}

.lolw-container,
.hotel-container {
  position: relative;
  width: 900px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lolw-slider,
.hotel-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.cert-nav-btn {
  background: none;
  border: none;
  margin: 0 55px;
}

.cert-nav-btn i {
  font-size: 5em;
  color: #023e8a;
  transition: all 0.3s ease;
}

.cert-nav-btn:hover i {
  color: black;
  transform: scale(1.1);
}

.lolw-slider > div,
.hotel-slider > div {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: 4px 0 76px 10px rgba(184, 184, 184, 1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 840px;
  height: 480px;
  z-index: 2;
}

.lolw-slider > div:hover,
.hotel-slider > div:hover {
  box-shadow: 0 0 20px #023e8a;
}

.web-applications-container aside h2 {
  font-size: 2rem;
  color: #023e8a;
  margin-bottom: 20px;
}

.web-applications-container aside h3 {
  font-size: 1.5rem;
  color: black;
  margin-top: 20px;
}

.web-applications-container aside p {
  font-size: 1.4rem;
  color: #6c757d;
  line-height: 1.5;
  padding: 10px;
}

#source-code,
#live-demo {
  text-decoration: none;
  font-weight: bold;
  color: #023e8a;
}

#source-code:hover,
#live-demo:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .lolw-container,
  .hotel-container {
    width: 800px;
    height: 380px;
  }

  .lolw-slider > div,
  .hotel-slider > div {
    width: 500px;
    height: 300px;
  }

  #lolw-left,
  #lolw-right,
  #hotel-left,
  #hotel-right {
    margin: 0 40px;
  }

  #lolw-left i,
  #lolw-right i,
  #hotel-left i,
  #hotel-right i {
    font-size: 4em;
  }
}

@media (max-width: 1024px) {
  section.web-applications h1 {
    font-size: 2.6rem;
  }

  .web-applications-container {
    max-width: 80vw;
  }

  .lolw-slider > div,
  .hotel-slider > div {
    width: 70vw;
    height: 30vh;
  }

  .lolw-wrapper,
  .hotel-wrapper {
    padding: 20px 0 20px 0;
  }
}

@media (max-width: 992px) {
  .lolw-container,
  .hotel-container {
    width: 700px;
    height: 420px;
  }

  .lolw-slider > div,
  .hotel-slider > div {
    width: 400px;
    height: 240px;
  }
}

@media (max-width: 768px) {
  section.web-applications h1 {
    font-size: 2.6rem;
  }

  .web-applications-container aside h2 {
    font-size: 1.8rem;
  }

  .web-applications-container aside h3 {
    font-size: 1.4rem;
  }

  .web-applications-container aside p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .lolw-wrapper,
  .hotel-wrapper {
    padding: 30px 0;
  }

  .lolw-container,
  .hotel-container {
    width: 100%;
    height: 200px;
    padding: 0 20px;
  }

  .lolw-slider > div,
  .hotel-slider > div {
    width: 100%;
    height: 200px;
  }

  #lolw-left,
  #lolw-right,
  #hotel-left,
  #hotel-right {
    margin: 0 20px;
  }

  #lolw-left i,
  #lolw-right i,
  #hotel-left i,
  #hotel-right i {
    font-size: 3em;
  }
}

@media (max-width: 600px) {
  section.web-applications h1 {
    font-size: 1.9rem;
  }

  .web-applications-container aside h2 {
    font-size: 1.5rem;
  }

  .web-applications-container aside h3 {
    font-size: 1.2rem;
  }

  .web-applications-container aside p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  section.web-applications {
    padding-bottom: 150px;
  }

  .lolw-container,
  .hotel-container {
    width: 100%;
    height: 120px;
    padding: 0 20px;
  }

  .lolw-slider > div,
  .hotel-slider > div {
    height: 150px;
  }

  #lolw-left,
  #lolw-right,
  #hotel-left,
  #hotel-right {
    width: 40px;
    height: 40px;
  }

  #lolw-left,
  #hotel-left {
    left: 5px;
  }

  #lolw-right,
  #hotel-right {
    right: 5px;
  }

  #lolw-left i,
  #lolw-right i,
  #hotel-left i,
  #hotel-right i {
    font-size: 1.8em;
  }
}

@media (max-width: 475px) {
  .lolw-container,
  .hotel-container {
    height: 300px;
  }
}

@media (max-width: 425px) {
  section.web-applications h1 {
    font-size: 1.5rem;
  }

  .web-applications-container aside h2 {
    font-size: 1.1rem;
  }

  .web-applications-container aside h3 {
    font-size: 1rem;
  }

  .web-applications-container aside p {
    font-size: 0.7rem;
    line-height: 1;
  }

  section.web-applications {
    padding-bottom: 250px;
  }
}

@media (max-width: 480px) {
  .lolw-container,
  .hotel-container {
    width: 100%;
    height: 120px;
    padding: 0 10px;
  }

  .lolw-slider > div,
  .hotel-slider > div {
    height: 80px;
  }

  #lolw-left,
  #lolw-right,
  #hotel-left,
  #hotel-right {
    width: 35px;
    height: 35px;
  }

  #lolw-left i,
  #lolw-right i,
  #hotel-left i,
  #hotel-right i {
    font-size: 1.5em;
  }
}

@media (max-width: 375px) {
  section.web-applications h1 {
    font-size: 1.2rem;
  }

  .web-applications-container aside h2 {
    font-size: 0.8rem;
  }

  #lolw-left,
  #lolw-right,
  #hotel-left,
  #hotel-right {
    width: 30px;
    height: 30px;
  }

  #lolw-left i,
  #lolw-right i,
  #hotel-left i,
  #hotel-right i {
    font-size: 1.2em;
  }
}
