*,
:after,
:before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.body {

  background-color: #FF9A8B;
  background-image: linear-gradient(90deg, #FF9A8B 0%, #FF6A88 55%, #FF99AC 100%);
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  overflow: auto;

}


.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.header__logo {
  position: relative;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  font-weight: 600;
  height: 48px;
  line-height: 48px;
}

.nav-bar {
  position: relative;
}

.menu {
  position: relative;
  display: flex;
  list-style: none;
}

.menu__link {
  font-size: 18px;
  text-decoration: none;
  background: linear-gradient(to bottom,
      #ff5f6d 0%, #e95662 100%);
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  padding: 10px 40px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  font-weight: 600;
  border-bottom: 0.5px solid #ff5967;
  -webkit-box-shadow: inset 0 0 0.9px 2px #d14853,
    inset 0px 2px 0.9px 2px #ff5967;
  box-shadow: inset 0 0 0.9px 2px #d14853,
    inset 0px 2px 0.9px 2px #ff5967;
  display: inline-block;
  margin-right: 20px;
}

.header__btn-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 20px;
}



.text {
  fill: none;
  font-size: 5rem;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 70 330;
  stroke-dashoffset: 0;
  -webkit-animation: stroke 6s infinite linear;
  animation: stroke 6s infinite linear;
  margin-left: 200px;
}

.text:nth-child(5n+1) {
  stroke: #ffffff;
  -webkit-animation-delay: -1.2s;
  animation-delay: -1.2s;
}

.text:nth-child(5n+2) {
  stroke: #ffffff;
  -webkit-animation-delay: -2.4s;
  animation-delay: -2.4s;
}

.text:nth-child(5n+3) {
  stroke: #ffffff;
  -webkit-animation-delay: -3.6s;
  animation-delay: -3.6s;
}

.text:nth-child(5n+4) {
  stroke: #ffffff;
  -webkit-animation-delay: -4.8s;
  animation-delay: -4.8s;
}

.text:nth-child(5n+5) {
  stroke: #ffffff;
  -webkit-animation-delay: -6s;
  animation-delay: -6s;
}

@-webkit-keyframes stroke {
  100% {
    stroke-dashoffset: -400;
  }
}

@keyframes stroke {
  100% {
    stroke-dashoffset: -400;
  }
}


:root {
  --primary: #555BFF;
  --secondary: #22D2A0;
  --background: white;
  --green: #1FC11B;
  --yellow: #FFD913;
  --orange: #FF9C55;
  --red: #FF5555;
}

.card {
  background-color: var(--background);
  display: block;
  width: 300px;
  min-height: 90px;
  border: 3px solid var(--primary);
  padding: 0px;
  margin: calc(50vh - 30px) auto 0 auto;
  box-shadow: 10px -10px 0 -3px var(--background), 10px -10px var(--green),
    20px -20px 0 -3px var(--background), 20px -20px var(--yellow),
    30px -30px 0 -3px var(--background), 30px -30px var(--orange),
    40px -40px 0 -3px var(--background), 40px -40px var(--red);
  transition: box-shadow 1s, top 1s, left 1s;
  position: relative;
  top: -30vh;
  left: 33vw;
  cursor: pointer;

}

.card:hover {
  top: -342px;
  left: 580px;
  box-shadow: 0 0 0 -3px var(--background), 0 0 0 0 var(--green),
    0 0 0 -3px var(--background), 0 0 0 0 var(--yellow),
    0 0 0 -3px var(--background), 0 0 0 0 var(--orange),
    0 0 0 -3px var(--background), 0 0 0 0 var(--red);
}

.card p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;

}

.card h2 {
  font-size: 14px;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: normal;

}


.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10vmin;
  overflow: hidden;
  transform: skew(5deg);
}

.container .cardport {
  flex: 1;
  transition: all 1s ease-in-out;
  height: 75vmin;
  position: relative;
}

.container .cardport .cardport__head {
  color: black;
  background: rgba(255, 255, 255, 0.637);
  padding: 0.5em;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  min-width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1em;
  white-space: nowrap;
}

.container .cardport:hover {
  flex-grow: 10;
}

.container .cardport:hover img {
  filter: grayscale(0);
}

.container .cardport:hover .cardport__head {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
  width: 107%;
}

.container .cardport img {
  width: 107%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-in-out;
  filter: grayscale(100%);
}

.container .cardport:not(:nth-child(5)) {
  margin-right: 1em;
}

svg {
  width: 80rem;
  margin-top: 28vh;
}


::-webkit-scrollbar {
  width: 12px;
  background: rgb(122, 125, 133);
  background: radial-gradient(circle, #FF9A8B 0%, #FF6A88 100%);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.scrollable {
  width: 100%;
  height: 500%;
}


/* MENU BURGER */

#menu-burger {
  width: 50px;
  height: 50px;
  background: #e95662;
  
  border-radius: 50%;
  position: absolute;
  top: 0vh;
  cursor: pointer;
  z-index: 2000;
}

#menu-burger .menu-icon {
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -9px;
  margin-top: -1px;
}

#menu-burger .menu-icon:after {
  content: '';
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -9px;
  margin-top: -5px;
  transition: 0.35s;
}

#menu-burger .menu-icon:before {
  content: ' ';
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
    position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -9px;
  margin-top: 4px;
    transition: 0.35s;
}

#menu-burger .menu-icon.open:before{
  transform: rotate(45deg);
  margin-top: -1px;
  background: #e95662;
}

#menu-burger .menu-icon.open:after{
  transform: rotate(-45deg);
  margin-top: -1px;
  background: #e95662;
}

#menu-burger.open {
  background: #fff;
}

#menu-burger .menu-icon.open {
  background: #fff;
}

#overlay-menu {
  position: fixed;
  background: #000;
  height: 100%;
  width: 100%;
  top: 0vh;
  opacity: 0.85;
  z-index: 1000; 
  right: -100%;
  transition: 0.35s;
}

#overlay-menu.open {
  right: 0%;
}

#overlay-menu nav {
  height: 60%;
  position: relative;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 32px;
  text-align: center;
}

#overlay-menu nav ul {
  display: inline-block;
  margin: auto;
  height: 100%;
}

#overlay-menu nav ul li {
  position: relative;
  color: #fff;
  margin-bottom: 20px;
}

#overlay-menu nav ul li a {
  color: #fff;
  text-shadow: 0px 1px 0 #4a6868, 0px 2px 0 #405959, 0px 3px 0 #354a4a, 0px 0px 0px hsla(0,0%,0%,0), -4px 4px 6px black;
}

#overlay-menu nav ul li a:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  height: 3px;
  width: 0%;
  background: #fff;
  transition: 0.25s;
}

#overlay-menu nav ul li a:hover:after {
  width: 100%;
  background: #e95662;
}

/* ===========================
      Responsive
  ============================ */

@media (max-width: 991px) {
  .masthead {
    flex-direction: column;
    padding-top: 150px;
    height: auto;
  }

  .masthead-content {
    max-width: 100%;
    top: 60px;
  }

 
}

@media (max-width: 767px) {
  .header {
    padding: 20px 50px;
  }

  .masthead {
    padding: 120px 50px 100px;
  }



  .masthead__paragraph {
    font-size: 16px;
  }


 
}

@media (max-width: 500px) {
  .header__btn-menu {
    margin-right: 0;
  }

  .masthead-img__1 {
    padding-top: 40px;
    max-width: 320px;
  }
}

@media (max-width: 400px) {
  .menu__link {
    padding: 10px 30px;
    margin-right: 10px;
  }

  .masthead-content {
    top: 40px;
  }

  .masthead__link {
    padding: 5px 25px;
    height: 55px;
  }

  .masthead__link:after {
    padding: 32px 129px;
  }
}

@media (max-width: 320px) {
  .header {
    padding: 20px 26px;
  }

  .header__logo {
    font-size: 21px;
  }

  .masthead {
    padding: 121px 34px 111px;
  }

  .masthead__link {
    height: 55px;
  }
}