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

button {
    color: rgb(37, 27, 27);
    text-decoration: none;
    font-size: 25px;
    text-align: center;
    border: none;
    background: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

button::before {
    margin-left: auto;
}

button::after,
button::before {
    content: '';
    width: 0%;
    height: 2px;
    background: #4D6DDF;
    display: block;
    transition: 0.5s;
}

button:hover::after,
button:hover::before {
    width: 100%;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.base {
    background-image: url('https://i.pinimg.com/originals/bf/b1/3e/bfb13e34a14a89bc46a0b94085d39d9c.gif');
    background-size: cover;
    background-position: center bottom;
    min-height: 95vh;
    position: relative;
    padding: 5px 3%;

}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.652);
    padding-bottom: 15px;
}

.links a {
    color: #4e3c3c;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
}

.quadro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 80px;
}

.texto h1 {
    font-size: 50px;
    color: #0f0e0e;
    line-height: 0.9;
    font-weight: 900;
}

.texto p {
    color: #201e1e;
    max-width: 320px;
    margin-top: 20px;
    font-size: 2rem;
    line-height: 1.4;
}

.intro-historia {
    background-color: #A6F1F5;
    padding: 140px 10% 80px 10%;
    /* Recuo superior maior por causa do tentáculo */
    text-align: center;
}

.intro h2 {
    font-size: 1.4rem;
    font-weight: normal;
    color: #4D6DDF;
    max-width: 700px;
    margin: 0 auto 80px auto;
    line-height: 1.6;
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ec733f;
    /* Cor laranja do tema */
}

.card h3 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #4D6DDF;
    margin-bottom: 15px;
}

.card p {
    font-size: 1.20rem;
    line-height: 1.6;
    color: #4D6DDF;
}

.sobre {
    background-color: #FFD685;
    position: relative;
    padding: 100px 10%;
}

.onda {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #FFD685;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.sobre-quadro {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-imagem {
    flex: 1;
    position: relative;
}

.img {
    width: 100%;
    border-radius: 8px;
}

.textoone {
    flex: 1;
}

.textoone h2 {
    font-size: 3rem;
    color: #e2723b;
    margin-bottom: 20px;
}

.textoone p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ad8a2a;
    margin-bottom: 15px;
}

.footer {
    background-color: #FFEBB3;
    padding: 80px 10% 40px 10%;
    text-align: center;
    border-top: 1px solid #eee;
}

.twitter-icone {
    font-size: 2rem;
    color: #abc4b1;
    margin-bottom: 20px;
}

.textoo {
    font-size: 1.3rem;
    color: #FFA09E;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.footer-link {
    font-size: 0.8rem;
    color: #d66838;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

div, p, h1, h2, h3 {
  opacity: 0;
  transform: translateY(50px);
  animation: entradaSuave 1.5s ease-out forwards;
}

@keyframes entradaSuave {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 320px) and (max-width: 768px) {

  .base {
    padding: 10px 5%;
    width: 100%;
    overflow-x: hidden;
  }

  .barra {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .quadro {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    width: 100%;
  }

  .texto h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    width: 100%;
  }

  .texto p {
    font-size: 1.2rem;
    max-width: 100%;
    margin: 15px auto 0 auto;
  }

  img, .img, .sobre-imagem {
    max-width: 100%;
    height: auto;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .sobre-quadro {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}
