@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

body,
html {
  font-family: 'Work Sans', sans-serif !important;
  box-sizing: border-box;
  -webkit-font-smoothing: subpixel-antialiased;
  backface-visibility: hidden;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 28px;
  color: #111;
}

::-webkit-scrollbar {
  width: 6px !important;
}

::-webkit-scrollbar-track {
  background: white !important;
}

::-webkit-scrollbar-thumb {
  background: #d69b2a !important;
}

.brand {
  position: absolute;
  top: 2.6vh;
  left: 5vw;
  width: 15vw;
  z-index: 1000;
}

.activities {
  max-width: 100vw;
  width: 100vw;
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center center;
  font-size: 1rem;
  padding-top: 15vh;
  background-image: url('../assets/img/4393.jpg');
}

.activities::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.8);
  content: '';
}

.activities__container {
  display: grid;
  height: 40vh;
  width: 50vw;
  margin: 0 auto;
  column-gap: 2vw;
  grid-template-columns: 1fr 2px 1fr;
  position: relative;
  z-index: 20;
}

.activities__block {
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activities__block:nth-child(1) {
  background-image: url('../assets/img/Rectangle_244@2x.png');
}

.activities__block:nth-child(3) {
  background-image: url('../assets/img/737.jpg');
}

.activities__block__content {
  width: 20vw;
  height: 20vh;
  background-color: rgba(255, 255, 255, 0.93);
  position: relative;
  transition: 500ms;
  padding-top: 6vh;
}

.activities__block__content:hover {
  width: 100%;
  height: 100%;
}

.activities__block__title {
  font-size: 2em;
  font-weight: 500;
  width: 100%;
  text-align: center;
  margin-bottom: 3.5vh;
  transition: font-size 500ms;
}

.activities__block__content:hover .activities__block__title {
  font-size: 1.66em;
}

.activities__block__paragraph {
  font-size: 1.6em;
  line-height: 1.5;
  font-weight: 400;
  width: 0;
  margin: 0 auto;
  white-space: nowrap;
  transition: 300ms;
  overflow: hidden;
}

.activities__block__content:hover .activities__block__paragraph {
  width: 18vw;
}

.activities__block__content:hover .activities__block__button {
  animation: animationButton 800ms ease;
  animation-delay: 200ms;
}

.activities__block__button {
  width: 2vw;
  height: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d29723;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate3d(-50%, -50%, 0);
  cursor: pointer;
}

.activities__block__button--mobile {
  display: none;
}

.activities__block__button:hover {
  animation: animationButton 800ms ease;
  animation-delay: 200ms;
}

.activities__block__button img {
  width: 1vw;
}

@keyframes animationButton {
  from {
    transform: translate3d(-50%, -50%, 0) rotate(0);
  }
  30% {
    transform: translate3d(-50%, -50%, 0) rotate(-70deg);
  }
  to {
    transform: translate3d(-50%, -50%, 0) rotate(180deg);
  }
}

.activities__break {
  width: 100%;
  height: 100%;
  background-color: #d29723;
}

.head {
  position: relative;
  z-index: 100;
  color: #fff;
  width: 80vw;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 7vh;
  font-size: 1rem;
  line-height: 1.5;
}

.head__title {
  font-size: 3.3em;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 4vh;
  animation: fade 1500ms forwards;
  animation-delay: 200ms;
  opacity: 0;
}

.head__subtitle {
  font-size: 1.2em;
  line-height: 1.8em;
  font-weight: 500;
  margin-bottom: 4vh;
  animation: fade 1500ms forwards;
  animation-delay: 400ms;
  opacity: 0;
}

.head__nav {
  font-size: 1.2em;
  font-weight: 300;
  animation: fade 1500ms forwards;
  animation-delay: 600ms;
  opacity: 0;
}

.head__nav a {
  color: #fff;
  text-decoration: none;
}

.head__nav a:not(:last-child) {
  margin-right: 0.5em;
}

.head__nav a:hover {
  color: #d29723;
}

.head__nav span {
  margin-right: 0.5em;
}

@keyframes fade {
  from {
    transform: translateY(150%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media only screen and (max-width: 1366px) {
  .activities {
    font-size: 0.71rem;
  }
  .head {
    font-size: 0.71rem;
  }
}

@media only screen and (max-width: 1280px) {
  .activities {
    font-size: 0.66rem;
  }
  .head {
    font-size: 0.66rem;
  }
}

@media only screen and (max-width: 1024px) {
  .activities {
    font-size: 0.53rem;
  }
  .activities__container {
    width: 60vw;
  }
  .activities__block__content {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .activities__block__title {
    font-size: 3em;
  }
  .activities__block__content:hover .activities__block__title {
    font-size: 3em;
  }
  .activities__block__paragraph {
    font-size: 2.3em;
    width: 21vw;
  }
  .activities__block__content:hover .activities__block__paragraph {
    width: 21vw;
  }
  .activities__block__content:hover .activities__block__button {
    animation: none;
  }
  .activities__block__button {
    width: 4vw;
    height: 4vw;
  }
  .activities__block__button img {
    width: 1.5vw;
  }

  .head {
    font-size: 0.53rem;
    width: 80vw;
  }
  .head__title,
  .head__subtitle,
  .head__nav {
    opacity: 1;
    animation: none;
  }
  .head__subtitle {
    font-size: 1.4em;
  }
}

@media only screen and (max-width: 768px) {
  .brand {
    left: 10vw;
    width: 20vw;
  }

  .activities {
    font-size: 1rem;
    height: auto;
    padding-bottom: 15vh;
  }
  .activities__container {
    width: 80vw;
    height: auto;
    grid-template-columns: 1fr;
    row-gap: 3vh;
  }
  .activities__block {
    height: auto;
  }
  .activities__break {
    height: 2px;
  }
  .activities__block__content {
    padding: 7vh 5vw;
    padding-right: 20vw;
  }
  .activities__block__title {
    font-size: 2em;
    text-align: left;
  }
  .activities__block__content:hover .activities__block__title {
    font-size: 2em;
  }
  .activities__block__paragraph {
    font-size: 1.5em;
    width: 100%;
    text-align: left;
  }
  .activities__block__content:hover .activities__block__paragraph {
    width: 100%;
  }
  .activities__block__button {
    display: none;
  }
  .activities__block__button--mobile {
    display: block;
    width: 5vw;
    height: 5vw;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 1000;
  }
  .activities__block__button--mobile img {
    width: 100%;
    height: auto;
  }
  .head {
    font-size: 1rem;
  }
  .head__subtitle {
    font-size: 1.1em;
  }
}

@media only screen and (max-width: 420px) {
  .head {
    font-size: 0.54rem;
  }
  .head__subtitle {
    font-size: 1.3em;
  }

  .activities {
    font-size: 0.54rem;
  }
  .activities__block__content {
    font-size: 1.1em;
    padding-top: 4vh;
    padding-bottom: 4vh;
  }
}
