@media (min-width: 768px) {
  .dental-services {
    height: 90vh;
    overflow: hidden;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #3a689f;
    padding: 50px 0px 0px 0px;
    margin: 0;
    color: white;
    position: relative;
  }

  .dental-services h1 {
    position: absolute;
    top: 15vh;
    font-size: 2.5em;
    z-index: 1;
  }
  .dental-services .services {
    width: 90vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 1;
    position: absolute;
    bottom: 15vh;
    flex-wrap: wrap;
  }
  .dental-services .services a {
    background-color: rgb(255, 255, 255);
    color: #063267;
    width: 25%;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 40px;
    height: 70px;
    position: relative;
  }
  .dental-services .services a img {
    height: 90%;
    margin-left: 10px;
    cursor: pointer;
  }
  .dental-services .services a label {
    margin-left: 10px;
    cursor: pointer;
  }
  .dental-services .services a:hover .material-symbols-outlined {
    right: 10px;
    transition: 0.5s;
  }
  .dental-services .material-symbols-outlined {
    animation: pulsate 5s infinite;
    position: absolute;
    right: 30px;
    cursor: pointer;
    transition: 0.5s;
  }
  .svg-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    z-index: 0;
  }

  .svg-content {
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateY(250px) scale(1.5);
  }

  @keyframes pulsate {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }
}
/* Special case */
@media (min-width: 1500px) {
  .svg-content {
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateY(200px) scale(1);
  }
}
@media (max-width: 768px) {
  .dental-services {
    min-height: 110vh;
    overflow: hidden;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #3a689f;
    padding: 50px 0px 100px 0px;
    margin: 0;
    color: white;
    position: relative;
  }

  .dental-services h1 {
    position: absolute;
    width: 95%;
    top: 5vh;
    font-size: 2.5em;
    z-index: 1;
    text-align: center;
  }
  .dental-services .services {
    min-width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: absolute;
    top: 35vh;
    flex-wrap: wrap;
  }
  .dental-services .services a {
    background-color: rgb(255, 255, 255);
    color: #063267;
    width: 80%;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 40px;
    height: 70px;
    position: relative;
  }
  .dental-services .services a img {
    height: 90%;
    margin-left: 10px;
    cursor: pointer;
  }
  .dental-services .services a label {
    margin-left: 10px;
    cursor: pointer;
  }

  .dental-services .material-symbols-outlined {
    position: absolute;
    right: 30px;
    cursor: pointer;
    transition: 0.5s;
  }
  .svg-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    position: absolute;
    bottom: -10px;
    z-index: 0;
    transform: scale(4);
  }

  .svg-content {
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateY(30px);
  }

  @keyframes pulsate {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }
}
