#certicates-section {
  width: 100%;
  text-align: center;
  margin: 40px 0;
}

#certicates-section > div > h3 {
  font-size: 2em;
  color: #313131;
  margin-bottom: 80px;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.certificates-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

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

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

.certificate-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;
}

.certificate-slider > div:nth-child(1) {
  width: 360px;
  height: 250px;
  margin-right: -500px;
  z-index: 1;
}

.certificate-slider > div:nth-child(2) {
  width: 700px;
  height: 500px;
  z-index: 2;
}

.certificate-slider > div:nth-child(3) {
  width: 360px;
  height: 250px;
  margin-left: -500px;
  z-index: 1;
}

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

.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);
}

@media (max-width: 1440px) {
  #skills-section > section > div > h3 {
    font-size: 1.8rem;
  }

  .certificate-container {
    width: 800px;
    height: 380px;
  }

  .certificate-slider > div:nth-child(1),
  .certificate-slider > div:nth-child(3) {
    width: 300px;
    height: 210px;
  }

  .certificate-slider > div:nth-child(2) {
    width: 600px;
    height: 420px;
  }
}

@media (max-width: 1200px) {
  .certificate-container {
    width: 700px;
    height: 380px;
  }

  .certificate-slider > div:nth-child(1),
  .certificate-slider > div:nth-child(3) {
    width: 200px;
    height: 210px;
  }

  .certificate-slider > div:nth-child(2) {
    width: 600px;
    height: 420px;
  }
}

@media (max-width: 900px) {
  .certificate-container {
    width: 700px;
    height: 350px;
  }

  .certificate-slider > div:nth-child(1) {
    margin-right: -400px;
  }

  .certificate-slider > div:nth-child(3) {
    margin-left: -400px;
  }

  .cert-nav-btn {
    margin: 0 30px;
  }

  .cert-nav-btn i {
    font-size: 4em;
  }
}

@media (max-width: 768px) {
  #skills-section > section > div > h3 {
    font-size: 1.6rem;
  }

  .certificate-container {
    width: 600px;
    height: 300px;
  }

  .certificate-slider > div:nth-child(1),
  .certificate-slider > div:nth-child(3) {
    width: 250px;
    height: 175px;
    display: none;
  }

  .certificate-slider > div:nth-child(2) {
    width: 500px;
    height: 350px;
    margin: 0 auto;
  }

  .cert-nav-btn {
    margin: 0 20px;
  }
}

@media (max-width: 600px) {
  #skills-section > section > div > h3 {
    font-size: 1.5rem;
  }

  .certificate-container {
    width: 100%;
    height: 250px;
    padding: 0 20px;
  }

  .certificate-slider > div:nth-child(2) {
    width: 100%;
    max-width: 400px;
    height: 280px;
  }

  .cert-nav-btn {
    margin: 0 5px;
  }

  #cert-left {
    left: 5px;
  }

  #cert-right {
    right: 5px;
  }

  .cert-nav-btn i {
    font-size: 3em;
  }
}

@media (max-width: 480px) {
  #certicates-section > div > h3 {
    margin-bottom: 0px;
  }

  .certificate-slider > div:nth-child(2) {
    height: 190px;
    width: 280px;
  }

  .cert-nav-btn i {
    font-size: 2.5em;
  }
}

@media (max-width: 400px) {
  .certificate-slider > div:nth-child(2) {
    height: 100px;
    width: 150px;
  }

  .cert-nav-btn i {
    font-size: 1.5em;
  }

  .certificate-container {
    height: 130px;
  }
}

@media (max-width: 425px) {
  #skills-section > section > div > h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 375px) {
  .cert-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  #cert-left {
    left: 5px;
  }

  #cert-right {
    right: 5px;
  }
}

@media (max-width: 320px) {
  #skills-section > section > div > h3 {
    font-size: 1rem;
  }
}
