@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-regular.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

:root {
  --main-width: 150rem;
}

html {
  font-size: 10px;
}

body {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 2rem;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
}

header {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
}

.logo-media {
  width: 10rem;
  height: 10rem;
}

.hero-container {
  position: relative;
}

.hero-heading-container {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-heading {
  color: white;
  font-size: clamp(3rem, 5.5vw, 6rem);
  height: max-content;
  margin: 0;
}

.glide {
  width: 100%;
  max-width: var(--main-width);
  margin: 0 auto;
}

.glide__slide {
  position: relative;
  width: var(--main-width);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glide__media {
  height: 0;
  padding-bottom: 180%;
}

.glide__slide img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.glide__arrows {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
}

.glide__arrow {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  padding: 1rem;
  cursor: pointer;
  color: black;
}

@media (min-width: 750px) {
  body {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  header {
    margin-bottom: 5rem;
  }

  .logo-media {
    width: 20rem;
    height: 20rem;
  } 

  .glide__media {
    padding-bottom: 66%;
  }
}