.lakki {
  font-family: "Lakki Reddy", serif;
  font-weight: 400;
  font-style: normal;
}

.single-day {
  font-family: "Single Day", cursive;
  font-weight: 400;
  font-style: normal;
}

:root {
  --grape: #352133;
  --dark-pink: #cc0c71;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}

body {
  background-color: #a2d0da;
  background-image: url("../src/fundo-de-site.jpeg");
  background-size: 30%;
  background-repeat: repeat;
  color: black;
  font-family: "Single Day", cursive;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--dark-pink);
}

p {
  font-size: 20px;
  color: var(--grape);
  text-align: justify;
  margin: 0;
}

a{
  text-decoration: solid;
  color: inherit;
}

.hover::after {
    content: attr(data-tooltip); /* Pega o texto do atributo data-tooltip */
    position: absolute; /* Posiciona em relação ao elemento pai */
    bottom: 125%; /* Acima do elemento */
    left: 50%; /* Centraliza à esquerda */
    transform: translateX(-50%); /* Centraliza horizontalmente */
    background-color: #333; /* Fundo do tooltip */
    color: white; /* Cor do texto */
    padding: 5px 10px; /* Estilo do tooltip */
    border-radius: 5px; /* Bordas arredondadas */
    white-space: nowrap; /* Impede quebra de linha */
    opacity: 0; /* Começa invisível */
    transition: opacity 0.3s; /* Transição suave */
}

.hover:hover::after {
    opacity: 1; /* Torna visível no hover */
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  align-self: center;
  margin-top: 2.5rem;
}

#title {
  padding: 0;
  margin: 0;
  width: 40%;
}

#banner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: fit-content;
  align-self: center;
  align-items: center;
}

#left-lamp {
  width: 8%;
  transform: scale(1, 1);
}

#awning {
  width: 50%;
}

#right-lamp {
  width: 8%;
  transform: scale(-1, 1);
}

main {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.5rem;
}

#three-principals {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  align-self: center;
}

.lateral-div {
  width: 18rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  margin-top: 3rem;
  min-height: 15rem; /*remover depois*/
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

#ipod-wrapper {
  background: linear-gradient(to right, #886470 0%, #eeafc5 50%, #886470 100%);
  height: 18rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  align-self: center;
  width: 14rem;
  align-items: center;
}

#ipod-screen {
  border: solid;
  border-radius: 0.5rem;
  border-width: thick;
  border-color: #b18dad;
  background-color: #a5b1b2;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14rem;
}

#anne {
  width: 10.5rem;
}

#ipod-circle {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  border: 1.5rem solid #f5f1f2;
  background-color: transparent;
  box-sizing: border-box;
  background: conic-gradient(#886470, #eeafc5, #886470);
  mask: radial-gradient(circle, transparent 40%, black 41%);
  -webkit-mask: radial-gradient(circle, transparent 40%, black 41%);
  box-shadow: inset -0.25rem 0.0625rem 0.5rem rgba(0, 0, 0, 0.5);
  position: relative;
  top: 0.8rem;
}

.menu {
  position: relative;
  top: -1.9rem;
  left: 28%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  font-weight: bold;
  color: #c7899e;
}

#ipod-circle .left,
#ipod-circle .right,
#ipod-circle .bottom {
  position: relative;
  width: 1.1rem;
  height: 1.5rem;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#ipod-circle .left {
  left: -3.3rem;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
}

#ipod-circle .right {
  right: -4.6rem;
  top: 9%;
  transform: translateY(-50%);
}

#ipod-circle .bottom {
  bottom: -2.4rem;
  left: 20%;
  transform: translateX(-50%);
}

@keyframes shake {
  0% {transform: translateX(0);}
  10% {    transform: translateX(-3px);}
  20% {    transform: translateX(3px);}
  30% {    transform: translateX(-3px);}
  40% {    transform: translateX(3px);}
  50% {    transform: translateX(-2px);}
  60% {    transform: translateX(2px);}
  70% {    transform: translateX(-1px);}
  80% {    transform: translateX(1px);}
  90% {    transform: translateX(0);}
  100% {    transform: translateX(0);}
}

#ipod-wrapper:hover {
  animation: shake 2s ease;
}

#center-div {
  width: 30rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  padding: 1rem;
  align-items: center;
  display: flex;
  flex-direction: column;
}

footer {
  background-color: #fff9b0;
  padding: 1rem;
  text-align: center;
}

#propagandas-grid {
  display: grid; /* Ativa o grid */
  grid-template-columns: repeat(auto-fill, minmax(4rem, 1fr));
  gap: 1rem;
}

.propaganda-img {
  width: 5rem;
}

/* ----------------------------------------------------------*/
/*                      SMARTPHONES                          */
/* ----------------------------------------------------------*/

@media (max-width: 500px) {
  body {
    background-size: 50%;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 16px;
  }

  header {
    gap: 1rem;
    margin-top: 1rem;
  }

  #title {
    width: 80%;
  }

  #banner {
    gap: 0;
  }

  #left-lamp,
  #right-lamp {
    display: none;
  }

  #awning {
    width: 90%;
  }

  main {
    padding: 0.5rem;
  }

  #three-principals {
    flex-direction: column;
  }

  .lateral-div {
    width: 18;
    margin-top: 0rem;
    min-height: 10rem; /*remover depois*/
    padding: 1rem;
  }

  #center-div {
    width: 18rem;
  }

  #center-div.h2 {
    font-size: 10px;
  }
}
