*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #141616;
  background-color: #e6e9ea;
  font-size: 22px;
  font-family: 'Inter', sans-serif;
}

h1 {
  font-size: 58px;
  margin-bottom: 1rem;
}

p {
  font-size: 24px;
  margin-bottom: 1rem;
  margin-left: 15%;
  margin-right: 15%;
 
}

.full-screen-section {
  height: 100vh;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.top-section .left,
.top-section .right {
  flex-basis: 0;
  flex-grow: 1;
  padding: 1rem;
  padding-left: 3rem;
}

.top-section {
  display: flex;
  text-align: start;
  padding: 0;
}

.top-section .left {
  background-color: rgb(248, 250, 249, var(--background-opacity));
}

.top-section .right {
  background: linear-gradient(
    210.65deg,
    rgb(152, 157, 157, var(--background-opacity)) 0%,
    rgb(189, 194, 194, var(--background-opacity)) 100%
  );
}

.imgs > .top-section-img {
  
  /* (oldVal - oldMin) * newRange / oldRange + newMin */
  --value: min(var(--scroll), 30) * 50 / 30;
  width: calc(50vw + .6vw * var(--value));
  margin-bottom: 0px;
  transform: scale(.95);
}

.logo {
 
  position: fixed;
  width: 50px;  /* Adjust based on your logo's width */
  height: 50px;  /* Adjust based on your logo's height */
  top: 50%;  /* Starts in the middle of the page */
  left: 50%;  /* Starts in the middle of the page */
  transform: translate(-50%, -50%);  /* Center the logo */
  z-index: 8;
}

.right-image {
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  position: fixed;
  right: 0;
  width: 20vw;
  height: auto;
}

#right-image-1 {
  right: 45vh;
  z-index: 9;
}

#right-image-2 {
  right: 10vh;
  z-index: 9;
}

#right-image-3 {
  right: 45vh;
  z-index: 9;
}

@media (width <= 1000px) {
  .top-section .right {
    display: none;
  }

  .top-section .left {
    text-align: center;
  }

  .imgs > .top-section-img {
    width: 100vw;
  }
}

:root {
  --scroll: 0;
}

.top-section {
  position: sticky;
  top: 0;
  /* (oldVal - oldMin) * newRange / oldRange + newMin */
  translate: 0 calc(-1% * (max(var(--scroll), 25) - 25) * 100 / 75);
  --background-opacity: calc(100% - 1% * min(var(--scroll), 30) * 100 / 30);
}

.first-main-section {
  padding-top: 10vh;
}

.imgs > * {
  position: fixed;
  margin-bottom: -200px;
  transform: scale(0.7);
  width: 100vw;
  bottom: 0;
  z-index: 10;
  translate: 0 100%;
  transition: translate 300ms ease-in-out;
}



.imgs > .show {
  translate: 0 0;
}

[data-img-to-show] {
  position: absolute;
  top: 20%;
}



.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: 10%;
  margin-right: 10%;
}

.card {
  background-color: #f0f0f0;
  margin: 12px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1), -8px -8px 10px rgba(255, 255, 255, .9);
}

/* Mobile: 1 column, 6 rows */
@media screen and (max-width: 767px) {
  .card { width: 100%; }
  h1 {
    font-size: 38px;
    margin-top: 100px;
  }
  .logo {
display: none;
  }
}

/* Tablet: 2 columns, 3 rows */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .card { width: 48%; }
}

/* Desktop: 3 columns, 2 rows */
@media screen and (min-width: 1025px) {
  .card { width: 30%; }

}

@media screen and (max-width: 1000px) {
    .right-image {
        display: none;
    }
}
.container {
  display: flex;
  justify-content: space-between;
  padding: 1em;
}

.container .left {
  display: flex;
  justify-content: center;
  align-items: center;
 
  width: 0%; /* Adjust the width of the left container */
}

.container .right {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%; /* Adjust the width of the right container */
}
.segment {
 
  padding: 10px;
  text-align: center;
}

.carta {
  background-color: #e6e9ea;
  ;
  margin: 10px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1), -8px -8px 10px rgba(255, 255, 255, .9);
}

input {
width: 60%;
  background-color: #f0f0f0;
  margin: 12px;
  padding: 16px;
  text-align: center;
  border-radius: 50px;
  box-shadow: inset 3px 3px 3px 0 #c7c7c7, inset -1px -1px 2px #fff; 
  border: none;
}

button {
  width: 60%;
  background-color: #f0f0f0;
  margin: 30px;
  margin-bottom: 50px;
  padding: 20px;
  text-align: center;
  font-size: x-large;
  border-radius: 50px;
  box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1), -8px -8px 10px rgba(255, 255, 255, .9);
  border: none;
}

button:hover {
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1), -3px -3px 3px rgba(255, 255, 255, .9);
  }

  


/* CSS for the language switcher button */
#languageSwitcher {
  width: 100px;
  font-size: small;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
    background-color: #f0f0f0;
     box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* CSS for the English and Portuguese versions of the text */
.lang {
    display: none;
}

/* The English version of the text will initially be displayed */
.lang[lang='en'] {
    display: inline;
}

/* Ajustes gerais para mobile */
@media screen and (max-width: 767px) {
  body {
    font-size: 18px; /* Reduzir o tamanho da fonte em dispositivos móveis */
  }

  h1 {
    font-size: 32px;
    margin-top: 50px;
  }

  .logo {
    display: none; /* Ocultar logo fixo em dispositivos móveis */
  }

  .right-image {
    display: none; /* Ocultar imagens fixas à direita */
  }

  .card {
    width: 100%;
    margin-left: 5%;
    margin-right: 5%;
  }

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

  .container .left, .container .right {
    width: 100%;
  }
}

/* Ajustes para tablets */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .card {
    width: 48%;
  }
}

/* Ajustes para desktops */
@media screen and (min-width: 1025px) {
  .card {
    width: 30%;
  }
}

/* Esconder a imagem específica em dispositivos móveis */
@media screen and (max-width: 767px) {
  img[src*="atee_cropped.jpeg"] {
    display: none;
  }
}
