@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap"); 

:root {
  --font-family-text: 'Cairo', sans-serif;
  --font-family-display: 'Cairo', sans-serif;
  --font-weight-display: 700;
}

.menu-header a {
  text-decoration: none;
}

.topbar {
  display: grid;
  grid-template-columns: 155px 1fr;
  grid-template-areas:
  "logo menu"
  "logo search";
}

@media (min-width: 1024px) {
  .topbar {
    padding-inline-start: 32px;
  }
}

.logos {
  background-color: #ffcd00;
  background-image: url("data:image/svg+xml,%3Csvg width='98' height='135' viewBox='0 0 98 135' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFF' fill-rule='evenodd'%3E%3Cpath d='M48.9 0L28.828 25.778 0 41.162v93.784h5.636V44.538L32.54 30.181 48.9 9.171l16.358 21.01 26.905 14.357v90.408H97.8V41.162L68.972 25.778z'/%3E%3Cpath d='M34.094 128.075l2.967 3.902H31.02l2.945-3.902M22.84 116.255l-3.303 9.488v-9.488h-3.422v18.69h3.422v-9.098l3.304 9.099h3.538l-3.317-9.203 3.317-9.488zM51.784 134.946H49a85.615 85.615 0 0 0-.345-4.914 53.759 53.759 0 0 0-.553-4.042 26.008 26.008 0 0 0-.755-3.171l-2.055 12.127h-3.486l3.33-18.691h2.823a74.682 74.682 0 0 1 2.394 7.304c.815-2.911 1.595-5.346 2.34-7.304h2.798l3.447 18.69h-3.447l-2.134-12.126c-.268.866-.507 1.893-.715 3.08a52.588 52.588 0 0 0-.527 4.01 94.097 94.097 0 0 0-.331 5.037M64.967 125.483l3.473-1.794v3.653l-3.473-1.78v9.28c.442-.2.97-.629 1.587-1.287.58-.624.989-1.152 1.223-1.586l1.561 2.976h-7.805v-18.69h7.805l-1.431 3.015c-1.102-1.568-2.081-2.556-2.94-2.964v9.177zM75.523 125.912v9.033h-3.408v-18.69h7.74c1.015 1.274 1.522 2.898 1.522 4.874 0 2.175-.703 4.094-2.108 5.758l2.03 8.058h-3.448l-2.328-9.033zm0-9.514v9.371c1.613-1.248 2.42-2.825 2.42-4.731a6.06 6.06 0 0 0-.625-2.678c-.425-.849-1.023-1.503-1.795-1.962z'/%3E%3Cpath d='M30.665 116.255l-3.357 18.69h3.409l.494-2.885h.004l.41-2.249 2.409-13.466 2.498 13.902.003.019.309 1.716h-.001l.083.46.451 2.504h3.395l-3.369-18.691zM32.444 113.68h-8.43l1.782-3.886c.972 1.846 1.852 3.085 2.641 3.717.685-.918 1.028-1.988 1.028-3.21 0-.927-.165-1.707-.494-2.34-.321-.615-.903-1.356-1.744-2.222-1.248-1.274-2.124-2.427-2.627-3.458-.521-1.03-.78-2.249-.78-3.653 0-1.282.246-2.495.74-3.639h8.105l-1.6 3.444c-.434-.78-.87-1.455-1.307-2.027-.439-.572-.848-.992-1.23-1.26-.711.892-1.066 2.01-1.066 3.352 0 .729.117 1.4.35 2.015.235.607.83 1.4 1.783 2.379.954.954 1.656 1.75 2.107 2.392.4.589.742 1.321 1.028 2.196.269.84.403 1.777.403 2.808 0 1.11-.23 2.24-.69 3.392M42.284 95.158v18.522h-3.421V95.158a13.707 13.707 0 0 0-2.823 3.405l-1.314-3.574H46.37l-1.249 3.574c-1.162-1.836-2.107-2.971-2.836-3.405M70.538 113.68h-8.34V94.99h8.34c2.09 2.773 3.135 5.893 3.135 9.359 0 3.483-1.046 6.594-3.135 9.332m-4.891-18.574v18.483a10.502 10.502 0 0 0 2.185-1.924c.65-.77 1.214-1.793 1.691-3.067.477-1.274.715-2.69.715-4.25 0-2.123-.468-4.03-1.405-5.72-.945-1.689-2.007-2.863-3.186-3.522M56.478 94.99h-6.74l-3.355 18.69h3.408l.494-2.885h.005l.41-2.249 2.409-13.466 2.498 13.901.003.02.308 1.716.082.46.451 2.503h3.396z'/%3E%3Cpath d='M53.169 106.81l2.967 3.902h-6.042l2.945-3.902M34.094 128.073l2.967 3.902H31.02l2.945-3.902'/%3E%3Cpath d='M53.169 106.808l2.967 3.902h-6.042l2.945-3.902'/%3E%3C/g%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto calc(100% - 1rem);
  grid-area: logo;
  position: relative;
  z-index: 3;
}

@media (min-width: 1024px) {
  .logos {
    background-size: 60% auto;
  }
}

.logos a {
  position: absolute;
  inset: 0;
}

.main-menu {
  display: none;
}

@media (min-width: 1024px) {
  .main-menu {
    grid-area: menu;
    display: flex;
    justify-content: center;
    position: relative;
  
    &::after {
      box-shadow: 0 2px 13px rgba(0, 0, 0, 0.12);
      content: "";
      height: 90px;
      left: 0;
      position: absolute;
      width: 100%;
      z-index: -1;
    }
  }
} 

.search-bar {
  grid-area: search;
  padding-block-start: 16px;
  padding-inline-start: 16px;
  padding-inline-end: 16px;
}

.helpers {
  display: none;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  letter-spacing: 1.95px;
}

.menu-item {
  height: 90px;
  display: flex;
  align-items: center;
  padding-inline: 48px;
  text-transform: uppercase;
  font-size: 24px;
  text-decoration: none;
  font-weight: 700;
  position: relative;
}

.menu-list-item:hover .submenu {
  display: flex;
}

.menu-list-item:hover svg {
  display: block;
}

.menu-item .icon {
  position: absolute;
  bottom: -4px;
  left: 50%;
  translate: -50%;
  rotate: -90deg;
}

.menu-item .icon svg path {
  fill: #e9f0fe;
}

.submenu {
  position: absolute;
  width: 100%;
  left: 0;
  background-color: #e9f0fe;
  padding: 48px;
  display: none;
  z-index: 2;
}

.submenu::after {
  background-color: inherit;
  content: "";
  height: 100%;
  left: 0;
  margin-left: calc(-155px - 32px);
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.submenu .close-submenu,
.menu-list svg,
.search-bar-options {
  display: none;
}

.submenu-list-item {
  margin-bottom: 7px;
}

.submenu-list-item:hover {
  text-decoration: underline;
  font-weight: 600;
}

.submenu-item {
  color: #000;
  font-size: 18px;
  font-size: calc(18px / 17px) rem;
  text-decoration: none;
}

.submenu .wrapper {
  flex: 1 0 25%;
  width: 25%;
}

.submenu .wrapper .label {
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.search-field-top {
  display: flex;
}

.search-bar-input {
  width: 100%;
  height: 58px;
  font-size: 17px;
  padding-inline: 17px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-inline-end: 0;
}

.search-bar-submit {
  all: initial;
  background-color: #ffcd00;
  aspect-ratio: 1;
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-bar-submit .icon {
  color: white;
  height: 24px;
}

.footer {
  background-color: #51ddc5;
}

.footer .group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer .h4-styled {
  color: #000;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-block-end: 24px;
}

.footer .btn {
  border: 0;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.2;
  padding: 11px 18px 11px 18px;
  text-decoration: none;
}

.footer .btn.btn-primary {
  background-color: #000;
  color: #fff;
}

.footer .btn.btn-large {
  font-size: 19px;
  letter-spacing: -0.1px;
  padding: 17px 48px 18px 38px;
}

.footer .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer .socials a {
  aspect-ratio: 1;
  width: 50px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.footer .socials a.facebook::after {
  content: 'F';
}

.footer .socials a.linkedin::after {
  content: 'In';
}

.footer .socials a.twitter::after {
  content: 'X';
}

.footer .socials a.instagram::after {
  content: 'I';
}

.footer .socials a.youtube::after {
  content: 'Yt';
}
