*/ *,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  3. Allow percentage-based heights in the application
*/
html,
body {
  height: 100%;
}

/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  6. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
  7. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}

/*
  8. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

@font-face {
  font-family: "Ubuntu";
  src: url("fonts/Ubuntu-Light.woff2") format("woff2"), url("fonts/Ubuntu-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Ubuntu";
  src: url("fonts/Ubuntu-Regular.woff2") format("woff2"), url("fonts/Ubuntu-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

.title-box {
  text-align: center;
  position: relative;
  z-index: 2;
}

.title {
  font-family: "Ubuntu";
  font-size: 44px;
  margin-bottom: 20px;
  text-transform: none;
}

.str {
  font-family: "Ubuntu";
  font-size: 24px;
}

.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.wrapper {
  position: relative;
  overflow: hidden;
}

.image {
  height: 100%;
  width: 100%;
}

img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-logo {
  height: auto;
  width: 300px;
}

a {
  text-decoration: none;
}

.wrapper-location {
  position: relative;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.location-first,
.location-second,
.location-third {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wrapper-text {
  position: relative;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-frontpage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.image-bg {
  -webkit-animation-name: zoom-out;
  animation-name: zoom-out;
  animation-duration: 8s;
  animation-timing-function: ease-out;
  animation-delay: 0;
  animation-fill-mode: forwards;
  will-change: transform;
}

@-webkit-keyframes zoom-out {
  0% {
    -webkit-transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
  }
}

@-moz-keyframes zoom-out {
  0% {
    -moz-transform: scale(1.1);
  }

  100% {
    -moz-transform: scale(1);
  }
}

@keyframes zoom-out {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.header-frontpage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.wrapper-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  height: auto;
  min-height: 100dvh;
}

h2,
p {
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
}

h2 {
  letter-spacing: 2px;
}

p {
  font-size: 12px;
  letter-spacing: 0px;
  font-weight: 400;
}

@media (max-width: 1399px) {
  .container {
    max-width: 920px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .wrapper-content {
    padding: 40px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .wrapper-location {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    justify-items: center;
    align-items: center;
    gap: 3rem;
  }

  .image-logo {
    width: 220px;
  }

  .title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .str {
    font-family: "Ubuntu";
    font-size: 20px;
  }

  .wrapper-text {
    order: 0;
    margin-bottom: 3rem;
  }

  .wrapper-location {
    order: 1;
  }
}

@media (max-width: 640px) {
  .wrapper-location {
    grid-template-columns: repeat(1, 1fr);
  }

  .wrapper-content {
    gap: 40px;
  }
}

/* Page Lsoader */

.page-wrap {
  position: relative;
}

.page-loader {
  pointer-events: none;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  transition: opacity 0s 0.8s;
  opacity: 0;
  z-index: 901;
}

.page-loader__full,
.page-loader__full div {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.page-loader__full div {
  background-color: #f0f0f0;
  transform: scaleX(0);
  transform-origin: 100% 50%;
}

.page-loader__half {
  height: 50%;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.page-loader__half div {
  background-color: #f0f0f0;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scaleY(0);
}

.page-loader__half--top {
  top: 0;
}

.page-loader__half--top div {
  transform-origin: 50% 0;
}

.page-loader__half--bottom {
  bottom: 0;
}

.page-loader__half--bottom div {
  transform-origin: 50% 100%;
}

.page-loader--loading {
  opacity: 1;
  pointer-events: all;
  transition: none;
}

.page-loader--loading .page-loader__full div {
  transform: scaleX(1);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-loader--loading .page-loader__half div {
  transform: scaleY(1);
  transition: transform 0s 0.8s;
}

.page-loader--loading .page-loader__half--top div {
  transform-origin: 50% 100%;
}

.page-loader--loading .page-loader__half--bottom div {
  transform-origin: 50% 0;
}

.page-loader--loaded .page-loader__half div {
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-loader--loaded .page-loader__half--top div {
  transform-origin: 50% 0;
}

.page-loader--loaded .page-loader__half--bottom div {
  transform-origin: 50% 100%;
}
