
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&disply=swap");

:root {
  --red-color: #e71d36;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.header-body {
  min-height: 100vh;
  /* background: url(/background.jpg) no-repeat; */
  background: black;
  background-size: cover;
  background-position: center;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: .7rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  backdrop-filter: blur(50px);
  z-index: -1;
}

/* 
.header-flex {
  display: flex;
  align-items: center;
  gap: .6rem;
} */

.header-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
          flex-direction: row;

  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;

  -webkit-column-gap: .6rem;
          column-gap: .6rem;
}

.header-logo-wrapper {
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
}

.header-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: auto;
}

.header-text {
  color: #000;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.header-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.header-subtitle {
  font-size: .9rem;
  font-weight: 515;
  font-style: italic;
  margin: 0;
  opacity: 0.85;
  color: var(--red-color);
}

.navbar a {
  font-size: 1.15rem;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.5rem;
}

#check {
  display: none;
}

.icons {
  position: absolute;
  right: 5%;
  font-size: 2.8rem;
  color: #000;
  cursor: pointer;
  display: none;
}

/* BREAKPOINTS */

@media (max-width: 992px) {
  .header {
    padding: .7rem 5%;
  }
}

@media (max-width: 858px) {
  .icons { display: inline-flex; }

  #check:checked~.icons #menu-icon { display: none; }
  .icons #close-icon { display: none; }
  #check:checked~.icons #close-icon { display: block; }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: #e9ecef;
    backdrop-filter: blur(50px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    overflow: hidden;
    transition: .3s ease;
  }

  #check:checked~.navbar {
    height: 17.7rem;
  }

  .navbar a {
    display: block;
    block-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(-50px);
    transition: .3s ease;
  }

  #check:checked~.navbar a {
    transform: translateY(0);
    transition-delay: calc(.15s * var(--i));
  }
}

/* Iphone Breakpoint */
@media (max-width: 500px) {
  .header-title {
    font-size: 1.1rem;
  }

  .header-subtitle {
    font-size: .8rem;
  }
}

/* Samsung Andriod Breakpoint */
@media (max-width: 384) {
  .header-title {
    font-size: 1.1rem;
  }

  .header-subtitle {
    font-size: .8rem;
  }
}
