html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #555;
    line-height: 1.5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  
ol, li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  

/* Global styles */

h2 {
    margin-bottom: 4rem;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.3em;
    line-height: 1.4;
}

p {
    line-height: 1.75;
}

img {
    display: inline-block;
    width: 100%;
}

a  {
    text-decoration: none;
}



/* Common styles */

section {
    margin-bottom: 8rem;
}

section .description {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 2rem;
}

section .description > div {
    flex: 1;
}

section .description blockquote {
    font-size: 1.5rem;
    font-weight: lighter;
    color: #777;
    margin-bottom: 2rem;
}

button {
    text-transform: uppercase;
    letter-spacing: .2rem;
    font-size: .65rem;
    border-radius: 2px;
    padding: .7rem 2rem;
    border: 2px solid #fff;
}

button:hover {
    cursor: pointer;
}

.divider {
    border: 1px solid #eee;
    margin: 8rem 0;
}

#totop a {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    width: 29px;
    height: 29px;
    background-color: rgba(34,34,34, .5);
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 0;
}

#totop a:before {
    content: "\0276F";
    transform: rotate(270deg);
    display: block;
    margin-bottom: 1px;
}

/* Header */

nav {
    position: fixed;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    color: #fff;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .2rem;
}

nav > * {
    transition: .5s ease;
}

nav.dark {
    background-color: #333;
    transition: .5s ease;
    padding: .3rem 2rem;
}

nav .logo {
    color: #fff;
    display: flex;
    align-items: flex-start;
    width: 125px;
}

nav .logo svg {
    margin-right: .5rem;
}

nav .logo svg:nth-child(2) {
    width: 125px;
    transition: .5s ease;
}

nav.dark .logo {
    color: #fff;
    width: 90px;
}

nav.dark .logo svg:nth-child(2) {
    width: 90px;
    transition: .5s ease;
}

nav a {
    color: #fff;
    opacity: .8;
}

nav a:hover {
    opacity: 1;
}

nav ul.menu {
    display: flex;
    gap: 1rem;
}

nav ul.menu li {
    list-style: none;
}

header {
    min-height: 600px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    margin-bottom: 8rem;
    position: relative;
}

header .container {
    text-align: center;
    width: 80%;
    position: relative;
    z-index: 9;
}

header .slogan {
    margin-bottom: 3rem;
    letter-spacing: .5rem;
    font-weight: lighter;
}

header h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 2rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

header .buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

header .buttons button {
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    min-width: 20%;
}

header .buttons button:hover {
    background-color: #fff;
    color: #000;
    transition: .5s ease;
}

/* Carousel */
@keyframes tonext {
    75% {
      left: 0;
    }
    95% {
      left: 100%;
    }
    98% {
      left: 100%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes tostart {
    75% {
      left: 0;
    }
    95% {
      left: -300%;
    }
    98% {
      left: -300%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes snap {
    96% {
      scroll-snap-align: center;
    }
    97% {
      scroll-snap-align: none;
    }
    99% {
      scroll-snap-align: none;
    }
    100% {
      scroll-snap-align: center;
    }
  }
  
  * {
    box-sizing: border-box;
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: none;
  }
  
  *::-webkit-scrollbar {
    width: 0;
  }
  
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  
  *::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }
  
  * {
    -ms-overflow-style: none;
  }
  
  .carousel {
    position: absolute;
    padding-top: 633px;
    filter: drop-shadow(0 0 10px #0003);
    perspective: 100px;
    width: 100%;
  }
  
  .carousel__viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }
  
  .carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgb(0 0 0 / 30%)
  }

  #carousel__slide1 {
      background-image: url(../img/section-bg-6.webp);
  }

  #carousel__slide2 {
      background-image: url(../img/section-bg-9.jpg);
  }

  #carousel__slide3 {
      background-image: url(../img/section-bg-10.jpg);
  }

  #carousel__slide1 {
      background-image: url(../img/section-bg-6.jpg);
  }
  
  .carousel__slide:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-40%,70px);
    font-size: 2em;
  }
  
  .carousel__snapper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }
  
  @media (hover: hover) {
    .carousel__snapper {
      animation-name: tonext, snap;
      animation-timing-function: ease;
      animation-duration: 4s;
      animation-iteration-count: infinite;
    }
  
    .carousel__slide:last-child .carousel__snapper {
      animation-name: tostart, snap;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
      animation-name: none;
    }
  }
  
  .carousel:hover .carousel__snapper,
  .carousel:focus-within .carousel__snapper {
    animation-name: none;
  }
  
  .carousel__navigation {
    position: absolute;
    right: 0;
    bottom: 2rem;
    left: 0;
    text-align: center;
  }
  
  .carousel__navigation-list,
  .carousel__navigation-item {
    display: inline-block;
  }
  
  .carousel__navigation-button {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: #fff;
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
    font-size: 0;
    transition: transform 0.1s;
  }

  .carousel__navigation-button:hover {
      background-color: #000;
  }
  
  .carousel::before,
  .carousel::after,
  .carousel__prev,
  .carousel__next {
    position: absolute;
    top: 0;
    margin-top: 25%;
    width: 4rem;
    height: 4rem;
    transform: translateY(-50%);
    font-size: 0;
    outline: 0;
  }
  
  .carousel::before,
  .carousel__prev {
    left: 0;
    border-radius: 0 3px 3px 0;
  }
  
  .carousel::after,
  .carousel__next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .carousel::before,
  .carousel::after {
    content: '';
    z-index: 1;
    background-color: rgba(255, 255, 255, .9);
    background-color: rgba(34,34,34, .5);
    color: #fff;
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
    pointer-events: none;
  }
  
  .carousel::before {
    /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E"); */
    content: "\276E";
  }
  
  .carousel::after {
    /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E"); */
    content: "\276F";
  }
  
  a.carousel__prev:hover,
  a.carousel__next:hover {
    background-color: rgba(34,34,34, .3);
  }



/* Main content */

section {
    padding: 0 6rem
}

/* About Section */

section.about h2 {
    text-align: left;
}

section.about .people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

section.about .people .item {
    flex: 1;
}

section.about .people .head {
    position: relative;
    margin-bottom: 1.5rem;
}

section.about .people .profile {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #eee;
    height: 100%;
    text-align: center;
    padding: 3rem 2rem;
    opacity: 0;
    transition: .5s ease;
}

section.about .people .profile:hover {
    opacity: 1;
    transition: .5s ease;
}

section.about .people .head .profile > * {
    margin-bottom: 1.5rem;
}

section.about .people .head .profile .social {
    display: inline-flex;
    gap: 1rem;
}

section.about .people .head .profile .social a {
    color: #555;
}

section.about .people .head .profile .social a:hover {
    color: #000;
}

section.about .people .head .profile .social svg {
    width: 15px;
    height: 15px;
}

section.about .people .title {
    letter-spacing: .25rem;
    color: #888;
}

section.about .people .foot {
    text-align: center;
    letter-spacing: .25rem;
}

section.about .people .foot .pos {
    color: #666;
    font-size: .8rem;
}

/* Services Section */

section.services .items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

section.services .item {
    flex: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .25rem;
    font-size: .75rem;
    opacity: .8;
    color: #444;
}

section.services .item:hover {
    opacity: 1;
}

section.services .item svg {
    height: 3rem;
    display: block;
    margin: 0 auto 1rem;
    color: #888;
}

/* Exclusive section */

section.exclusive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    align-items: center;
    gap: 4rem;
    background-color: #222;
    color: #fff;
    padding-top: 2rem;
}

section.exclusive h2 {
    text-align: left;
    font-weight: lighter;
    margin-bottom: 2rem;
}

section.exclusive > div > * {
    margin-bottom: 2rem;
}

section.exclusive img {
    position: relative;
    margin-top: -4rem
}



/* Media queries */

@media screen and (max-width: 768px) {

}