/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

@font-face {
  font-family: 'Makuton';
  src: url(resource/Fonts/Makuton.ttf);
}

/* ----- NavBar -----*/

li,
a,
button {
  font-weight: 500;
  font-size: 16px;
  color: black;
  text-decoration: none;
}

header {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  border-radius: 18px;
  margin: 15px 15%;
  width: 70%;
  padding: 0px 5%;
  z-index: 2;
}

.logo {
  cursor: pointer;
  padding-top: 8px;
  padding-bottom: 8px;
  height: 72px;
}

.nav_links {
  list-style: none;
}

.nav_links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav_links li a {
  transition: all 0.3s ease 0s;
  color: rgba(255, 255, 255, 0.959);
  font-weight: 700;
}

.nav_links li a:hover {
  color: rgba(254, 238, 0, 1);
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 10px;
  background-color: rgba(254, 238, 0, 1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.1s ease 0s;
}

.nav-btn:hover {
  background-color: rgba(197, 184, 0, 0.8);
}

.wrapper {
  width: 100%;
  height: 100vh;
  overflow: scroll;
}

/* ----- Hero ------*/

#hero {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/resource/hero-background.jpg');
  background-size: cover;
}

#hero-logo {
  height: 60%;
  opacity: 0.7;
}

#schedule-title {
  font-family: 'Makuton';
  color: #b49f14;
  font-size: 36px;
}

#schedule-time {
  font-family: 'Makuton';
  color: #b49f14;
  font-size: 36px;
}

#schedule-text {
  font-family: 'Makuton';
  color: #b49f14;
  font-size: 14px;
  margin-bottom: 32px;
}

#logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #b49f14;
  border-radius: 18px;
  height: 10%;
  width: 15%;
  gap: 4px;
}

#logo-wrapper a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#logo-wrapper p {
  font-family: Makuton;
  color: #b49f14;
  margin: 5px;
  font-weight: 700;
}

.delivery-logo {
  height: 32px;
  margin: 2px;
  translate: 5px -3px;
}

.deliver-logo:hover {
  transform: scale(1.1);
  transition: ease-in-out 0.2s;
}

/* ----- Sections -----*/

section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.section::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  z-index: -1;
  filter: blur(4px);
}

.one {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('resource/food-table.jpg');
  float: left;
  background-size: cover;
  width: 50%;
  height: 100vh;
}
.two {
  padding: 25px 10%;
  border: 15px;
  width: 50%;
}

h2 {
  width: fit-content;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
  border-bottom: 4px solid #2ecc71;
}

.field {
  width: 100%;
  padding: 0.5rem 1rem;
  outline: none;
  border: 2px solid rgba(0, 0, 0, 0);
  background-color: rgba(230, 230, 230, 0.6);
  font-size: 1.1rem;
  margin-bottom: 32px;
  border-radius: 8px;
  transition: 0.3s;
}

.field:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.field:focus {
  background-color: #fff;
  border: 2px solid rgba(30, 85, 250, 0.47);
}

.area {
  min-height: 150px;
}

.form-btn {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  background-color: #2ecc71;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  border: none;
  color: #fff;
  transition: 0.3s;
}

button:hover {
  background-color: #27ae60;
}

.one2 {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 15px;
  width: 50%;
}

.one2 p {
  margin-bottom: 16px;
}

.two2 {
  height: 100vh;
  float: left;
  width: 50%;
}

.business-info {
  width: 40%;
}

.info {
  display: block;
  margin: auto;
  text-align: left;
}

.info b {
  display: inline-block;
  margin-bottom: 16px;
}

#tywrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#thankyou {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  border-radius: 20px;
  padding: 20px;
}

/* ----- Footer ----- */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#footer-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  width: 100%;
  margin: 1%;
}
.footer-title {
  font-size: large;
  margin-bottom: 2%;
}

.footer-text {
  margin-bottom: 1%;
}

.footer-link {
  margin-bottom: 1%;
  display: block;
  text-decoration: underline;
}

.footer-link:hover {
  color: #4dbfff;
}

.footer-link:active {
  color: blueviolet;
}

.logo-footer {
  max-width: 200px;
}

#logo-entities {
  display: flex;
}

.entity {
  width: 200px;
}

.pdf {
  width: 650px;
  height: 390px;
  border: none;
  margin: 4%;
}
/* ----- Cookies ----- */

.aviso-cookies {
  display: none;
  background: #fff;
  padding: 20px;
  width: calc(100%-40px);
  max-width: 300px;
  line-height: 150%;
  text-align: center;
  border-radius: 10px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  padding-top: 60px;
  box-shadow: 0px 2px 20px 10px rgba(222, 222, 222, 0.25);
}

.aviso-cookies.activo {
  display: block;
}

.aviso-cookies .galleta {
  max-width: 100px;
  position: absolute;
  top: -50px;
  left: clac(50% -50px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
  margin-bottom: 15px;
}

.aviso-cookies .button {
  width: 100%;
  background: #595959;
  border: none;
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: -3s ease all;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.aviso-cookies .button:hover {
  background: #000;
}

.aviso-cookies .enlace {
  color: #4dbfff;
  text-decoration: none;
  font-size: 14px;
}

.aviso-cookies .enlace:hover {
  text-decoration: underline;
}

.fondo-aviso-cookies {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  position: fixed;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.fondo-aviso-cookies.activo {
  display: block;
}

/* ----- Responsive ----- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  header {
    width: 90%;
    margin: 15px 5%;
  }

  #hero {
    justify-content: center;
    align-items: center;
  }

  #hero-logo {
    height: 40%;
  }

  #logo-wrapper {
    width: 50dvw;
  }

  .deliver-logo {
    height: 72px;
  }

  .nav_links li {
    display: inline-block;
  }

  section {
    display: block;
    width: 100%;
  }
  .one {
    float: none;
    width: 100dvw;
    height: 50dvh;
  }

  .one2 {
    float: none;
    width: 100dvw;
    height: 50dvh;
  }

  .field {
    margin-bottom: 8px;
  }

  .area {
    min-height: 125px;
  }

  .two,
  .two2 {
    width: 100dvw;
    height: 50dvh;
  }

  .info {
    margin-bottom: 8px;
  }

  .business-info {
    min-width: 80vw;
  }
}

@media screen and (max-width: 767px) {
  header {
    width: 90%;
    margin: 15px 5%;
  }

  h2 {
    margin-bottom: 4px;
  }

  #hero {
    justify-content: center;
    align-items: center;
  }

  #hero-logo {
    height: 35%;
  }

  #logo-wrapper {
    height: 15dvh;
    width: 80dvw;
  }

  .nav_links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav_links li {
    display: inline-block;
  }

  section {
    display: block;
    width: 100%;
  }
  .one {
    float: none;
    width: 100dvw;
    height: 50dvh;
  }

  .one2 {
    float: none;
    width: 100dvw;
    height: 50dvh;
  }

  .field {
    margin-bottom: 8px;
  }

  .area {
    font-size: x-small;
    min-height: 60px;
  }

  .two,
  .two2 {
    width: 100dvw;
    height: 50dvh;
  }

  .info {
    margin-bottom: 4px;
  }

  .info p {
    margin-bottom: 8px;
  }

  .business-info {
    font-size: small;
    margin-top: 25%;
    min-width: 80dvw;
  }

  #logo-entities {
    display: flex;
    flex-direction: column;
  }

  .pdf {
    width: auto;
    height: auto;
  }
}
