@font-face {
  font-family: 'Regular';
  src: url('../fonts/SFProDisplay-Regular.woff2') format('woff2'),
      url('../fonts/SFProDisplay-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Light';
  src: url('../fonts/SFProDisplay-Light.woff2') format('woff2'),
      url('../fonts/SFProDisplay-Light.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  scroll-behavior: smooth;
}
body {
  font-family: Light;
}
::-webkit-scrollbar {
  display: none;
}

main {
  position: fixed;
  top: 0;
  left: 0;  
/*  note vh and vw switched  */
  width: 100vh; 
  height: 100vw;
/*    */
  transform-origin: top left;
  transform: rotate(-90deg) translateX(-100vh);
  overflow-x: hidden;
  overflow-y: scroll;
/*   scroll-snap-type: y mandatory; */
}

article {
  display: flex;
  flex-direction: row;
  width: fit-content;
  height: fit-content;
  transform-origin: top left;
  transform: rotate(90deg) translateY(-100vh);
}

section {
  width: 100vw;
  height: 100vh;
/*   scroll-snap-align: start; */
  overflow-y: hidden;
  display: flex;
  padding-top: 5vh;
  justify-content: center;
  font-family: monospace;  
/*  backface visibility keeps font from looking weird  */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.container-fluid {
  max-width: 1500px;
  padding: 0 5%;
  position: relative;
}
#home {
  background: url(../img/bg-home_01.jpg) no-repeat;
  background-size: cover;
  position: relative;
}
#galeria,
#acerca {
  background: rgb(255,255,255);
  background: linear-gradient(176deg, rgba(255,255,255,1) 20%, rgba(216,220,226,1) 100%);
}
#acerca h4 {
  color:#3B89B9;
  font-family: Light;
  font-size: 24px;
}
#acerca h5 {
  color: #A3C9D9;
  font-family: Light;
  font-size: 18px;
}
#acerca .blue-list li {
  color:#3B89B9;
  font-family: Light;
  font-size: 15px;
  list-style-type: square;  
}
#servicios .col-md-3 ul {
  padding-left: 23%;
  padding-right: 23%;  
}
.top-blue-line {
  border-top: #A2C9D9 solid 1px;
  padding-top: 20px;
  color:#3B89B9;
  font-family: Light;
  font-size: 15px;  
}
#servicios {
  background: #A1C9D9;
  color: #7696CC;
}
#servicios h2 {
  color:#fff;
  font-family: Light;
  font-size: 45px;
}
#servicios h4 {
  color:#fff;
  font-family: Light;
  font-size: 24px;
  text-align: center;
}
#servicios .icons {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  width: 65px;
}
#servicios .col-md-3 li {
  color:#3B89B9;
  font-family: Light;
  font-size: 15px;
}
#testimonios {
  background: #A1C9D9;
  
}
#testimonios .info {
  background: #3B89B9;
  border-radius: 10px;
  min-height: 380px;
  padding: 20px;
  position: relative;
}
#testimonios p {
  color:#fff;
  font-family: Light;
  font-size: 16px;
  margin-top: 20px;
}
#testimonios h3 {
  color: #fff;
  font-family: Light;
  font-size: 24px;  
}
#testimonios h2 {
  color: #fff;
  font-family: Light;
  font-size: 72px;
  margin-bottom: 5vh;
}
.info .user-info {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 0;  
  left: 0;
  width: 100%;
}
.user-info h3 {
  color: #A1C9D9;
  font-family: Light;
  font-size: 22px;
}
.user-info .profile {
  background: #A1C9D9;
  border-radius: 0px 8px 0px 8px;
  padding: 20px;
  width: 25%;
}
.user-info .title {
  text-align: center;
  width: 75%;
}
.carousel-inner {
  margin-top: 40px;
}
.big-text-white {
  color:#fff;
  font-family: Light;
  font-size: 56px;
}
#galeria h2 {
  color: #97ACBA;
  font-family: Light;
  font-size: 72px;
}
.navbar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
}
.navbar-brand {
  background: url(../img/logo.svg) no-repeat;
  background-size: 100%;
  width: 240px;
  height: 120px;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;  
}
.img-fluid {
  min-width: 100%;
}
p.big-text {
  font-family: Light;
  font-size: 40px;
  margin-bottom: 65px;
}
p.light-blue {
  color: #A1C9D9;
  font-family: Light;
  font-size: 30px;
}
.flexed {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: space-between;
  align-content: space-between;
}
.d-flex {
  display: flex;
  align-items: center;
}
.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.doctoralia {
  background: url(../img/doctoralia.svg) no-repeat left bottom;
  background-size: 130px;
  font-family: Light;
  position: absolute;
  top: 25vh;
  right: 15%;
  padding-bottom: 30px;
}
.doctoralia-top a ,
.doctoralia a {
  background: url(../img/icon-arrow.svg) no-repeat center right;
  background-size: 30px;
  border-bottom: #fff solid 1px;
  color:#fff;
  font-size: 28px;    
  padding-right: 35px;
}
.doctoralia-top {
  background: url(../img/doctoralia.svg) no-repeat left bottom;
  background-size: 130px;
  font-family: Light;
  padding-bottom: 30px;
}
.next {
  position: absolute;
  z-index: 2;
  width: 50px;
  height: 20px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}
.whatsapp {
  position: fixed;
  right: 45px;
  bottom: 100px;
  z-index: 2;
  width: 165px;
}
.no-tel {
  pointer-events: none;
  user-select: none;
}
/*****testimonials*****/
#carouselExampleIndicators {
  width: 1300px;
  margin: 0 auto;
}
.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: -65px;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}
.bg-blue {
  background: #3B89B9;
  border-radius: 15px;
  color:#fff;  
  padding: 35px;
  margin-left: -85px;
  margin-right: -85px;
  min-height: 450px;
  z-index: 2;
}
.bg-blue p {
  font-size: 24px;
  font-family: Regular;
}
.bg-blue h3 {
  color:#D3E4FC;
  font-family: Regular;
  font-size: 20px;
  margin-bottom: 20px;
}
.bg-ligth-blue {
  background: #A1C9D9;
  border-radius: 15px;
  font-family: Regular;
  padding: 20px;
  min-height: 300px;
}
.bg-ligth-blue p {
  color:#fff;
  font-family: 18px;
}
.bg-ligth-blue h3 {
  color: #D3E4FC;
  font-size: 16px;
}
img.rate {
  margin-top:20px;
  width: 50%;

}
img.user {
  height: 55px;  
}
img.user-small {
  height: 70px;
  margin-bottom: 25px;
}

#contacto {
  background: #1A4576;
}

#contacto h2 {
  color: #3B89B9;
  font-family: Light;
  font-size: 72px;
}
#contacto h2.white {
  color:#A1C9D9;
  font-size: 24px;
}
#contacto h3.white {
  color:#fff;
  font-size: 24px;
}
#contacto h3 {
  color:#D3E4FC;
  font-family: Light;
  font-size: 24px;
}
#contacto .flex-social {
  display: flex;
  grid-gap: 15px;
  margin-top: 10px;
}
#contacto .flex-social img {
  height: 24px;
  width: auto;
}
.navbar {
  background: transparent !important;  
  padding-left: 30px;
  padding-right: 30px;
}
.navbar-expand-lg .navbar-collapse {  
  display: flex !important;
  justify-content: center;  
}
.navbar li {  
  padding: 10px;

}
.navbar li a {
  color: #fff !important;
  font-family: Regular;
  font-size: 20px;
  border-bottom: #fff solid 2px;
  padding-left: 0px !important;
  padding-bottom: 8px !important;
  padding-right: 55px !important;
}
#home .navbar li.home a  {
  border-bottom: #3B89B9 solid 2px;
}
#acerca .navbar li a {
  color:#fff !important;
  border-bottom: #fff solid 2px;
}
#acerca .navbar li.acerca a {
  border-bottom: #3B89B9 solid 2px;
}
#servicios .navbar li a {
  color: #fff !important;
  border-bottom: #EBEFF5 solid 2px;
}
#servicios .navbar li.servicios a {
  color: #fff !important;
  border-bottom: #3B89B9 solid 2px;
}

#galeria .navbar li a {
  color: #fff !important;
  border-bottom: #EBEFF5 solid 2px;
}
#testimonios .navbar li.testimonios a,
#galeria .navbar li.galeria a {  
  border-bottom: #3B89B9 solid 2px;
}
#contacto .navbar li a  {
  color: #fff !important;
  border-bottom: #fff solid 2px;
}
#contacto .navbar li.contacto a  {  
  border-bottom: #3B89B9 solid 2px;
}
.mobile {
  display: none;
}
@media (max-width:1024px) {
    #home {
      background: url(../img/bg-home_01.jpg) no-repeat center bottom;
      background-size: cover;
    }
    #servicios .col-md-3 ul {
      padding-left: 10%;
      padding-right: 10%;  
    }
    #acerca h4 {
      font-size: 16px;
    }
    .top-blue-line {
      font-size: 14px;
      margin-top: 10px;
      padding-top: 10px;
    }
    .top-blue-line p {
      margin-bottom: 0px;
    }
    .top-blue-line li {
      font-size:14px;
    }
    #acerca .mb-5 {
      margin-bottom:  5px !important;
    }
    #contacto h2.white {
      color: #fff;
      font-size: 40px;
  }
  .container-fluid {
    width: 100%;
  }
  #carouselExampleIndicators {
    width: 100%;
  }
  #carouselExampleIndicators .col-md-4 {
    min-width: 45%
  }
}
@media (max-width:992px) {
  .navbar-light .navbar-toggler {
    display: none;
  }
  .navbar-nav {
    display: flex;    
    width: 100%;
    flex-direction: row;
    padding-left: 0px;
    padding-right: 0px;
  }
  .navbar-nav  li a {
    font-size: 10px;
    padding-left: 0px !important;
    padding-bottom: 8px !important;
    padding-right: 0px !important;
  }
  .navbar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .whatsapp {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 2;
    width: 165px;
  }
}
@media (max-width:768px) {  
    ::-webkit-scrollbar {
      display: unset;
    }
    main {
      position: unset;
      top: 0;
      left: 0;  
      width: 100%; 
      min-height: 100vh;
      transform-origin: unset;
      transform: unset;
      overflow-x: unset;
      overflow-y: unset;
    }
    article {
      display: unset;
      flex-direction: row;
      width: fit-content;
      height: fit-content;
      transform-origin: top left;
      transform: unset;
    }
    section {
      height: auto;
      min-height: 100vh;
    }
    .doctoralia {
      right: 20px;
    }
    .navbar {
      display: flex;
    }
    #acerca {
      padding: 55px 0px;
    }
    #acerca .row.d-flex {
      display: flex;
      flex-direction: column;
      align-content: flex-start;
    }
    .next {
      display: none;
    }
    h2.white {
      margin-top: 20px; 
      font-size: 32px !important;
    }
    #galeria .col-md-4.p-3 {
      width:33%
    }
    #galeria {
      padding-bottom: 45px;
    }
    #servicios .doctoralia-top {
      display: none;
    }
    #servicios .col-md-3 {
      width: 50%;
      margin-bottom: 30px;      
    }
    #servicios .row.pt-5 {
      padding-top: 0px !important;
    }
}
@media (max-width:680px) {
  #home {
    background: url(../img/mobile.jpg) no-repeat bottom center;
    background-size: cover;
  }
  .desktop {
    display:none;
  }
  .mobile {
    display: block !important;
  }
  .navbar-brand {
    background: url(../img/logo.svg) no-repeat;
    background-size: 100%;
    width: 170px;
    height: 80px;
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
  }
  .doctoralia {
    background: none;    
    top: 15vh;
    right: 20px;
  }
  .doctoralia a {
    background: url(../img/arrow-mobile.svg) no-repeat center right;
    background-size: 40px;
    border: none;
    padding-right: 55px;
  }
  .carousel-indicators   {
    display: none;
  }  
  button.carousel-control-next,
  button.carousel-control-prev {
    background: transparent;
    border: none;
    width: 30px;
  }
  #testimonios .info {
    padding: 20px 40px;
    min-height: 480px;
  }
  .col-lightblue {
    background: #D9E7ED;   
    border-radius: 8px;
    text-align: center;
    padding: 15px;
  }
  .col-darkblue {
    background:#3B89B9;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
  }
  #testimonios {
    text-align: center;
    padding-bottom: 65px;
  }
  #contacto {
    padding-bottom: 85px;
  }
}
 
  