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

body {
  background-color: rgb(99, 121, 91);
  margin: 0;
  padding: 0;
  margin-top: 70px;
  color: #333;
  font-family: Arial, sans-serif;
}

header {
  background-color: #1e2222;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  border-bottom: 2px solid #b28d16;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
  height: 70px;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

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

#logo {
  height: 50px;
  width: 50px;
  margin-right: 30px;
  margin-left: 0;
  object-fit: contain;
  position: static;
  transform: none;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin: 0;
}

.header-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  padding: 8px 16px;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #b28d16;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.header-nav a:hover {
  color: #b28d16;
  transform: translateY(-2px);
}

.header-nav a:hover::after {
  width: 80%;
}

.inicio {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.inicio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/background.mp4") center/cover no-repeat;
  z-index: -1;
}

.inicio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#titulo {
  font-size: 4em;
  margin-bottom: 20px;
  font-family: Arial;
  padding: 20px 40px;
  border-radius: 10px;

  color: #e0dfdc;
  background-color: #000000;
  letter-spacing: 0.1em;
  text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a,
    0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222,
    0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a,
    0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212,
    0 22px 30px rgba(0, 0, 0, 0.9);

  animation: entradaRotiseria 2s ease-out forwards;
  opacity: 0;
  transform: translateY(-50px) scale(0.8);
  position: relative;
  z-index: 1;
}

.inicio h3 {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.5em;
  position: relative;
  z-index: 1;
}

@keyframes entradaRotiseria {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
    text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c,
      0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424,
      0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c,
      0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414,
      0 15px 0 #121212, 0 22px 30px rgba(0, 0, 0, 0.9);
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(1.1);
    text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c,
      0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424,
      0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c,
      0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414,
      0 15px 0 #121212, 0 22px 30px rgba(0, 0, 0, 0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c,
      0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424,
      0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c,
      0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414,
      0 15px 0 #121212, 0 22px 30px rgba(0, 0, 0, 0.9);
  }
}

.ubicacion {
  background-color: #272424;
  color: #ffffff;
  border-top: #b28d16 12px solid;
  padding: 40px 20px;
  text-align: center;
}

.container-ubicacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 1s ease-in-out;
  font-size: 1.2em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.contacto {
  background-color: rgb(11, 11, 11);
  color: white;
  border-top: #b28d16 2px solid;
  padding: 40px 20px;
  
}

@media (max-width: 768px) {
  nav {
    gap: 15px;
  }

  nav a {
    font-size: 1em;
    padding: 6px 12px;
  }

  #titulo {
    font-size: 3em;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    height: auto;
  }

  nav {
    margin-top: 10px;
  }

  #titulo {
    font-size: 2em;
  }
}

.container-redes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.icono {
    height: 100px;
    display: grid;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.icono {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 20px;
    border-radius: 50%;
    transition: all 0.8s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.icono img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.icono:hover {
    background-color: #e60073;
    box-shadow:  0 0 20px #e60073 ;
}

.icono.twitter:hover{
    background-color: #1877f2;
    box-shadow:  0 0 20px #1877f2;
}

.icono:hover:nth-child(3) {
    background-color: #25d366;
    box-shadow: 0 0 20px #25d366 ;
}

.icono:hover:nth-child(4) {
    background-color:#0000ff;
    box-shadow:  0 0 20px #0000ff ;
}

.icono i {
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.7rem;
}

footer {
  background-color: #101010;
  color: white;
  text-align: center;
  padding: 10px 20px;
  position: relative;
  bottom: 0;
  width: 100%;
  border-top: #b28d16 2px solid;
  margin-top: 20px;
}

