/* ========================= reset css ========================= */

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* 10. Create a root stacking context */
#root,
#__next {
  isolation: isolate;
}

/* ========================= end reset css ========================= */


/* ========================= variáveis ========================= */




:root {
  --cor-primaria: #FF385C;
  --cor-secundaria: #222222;
  --cor-fundo: #FFFFFF;
  --cor-texto: #717171;
  --cor-borda: #DDDDDD;
  --cor-hover: #f7f7f7;
  --font-texto: "Montserrat", sans-serif;
}

*{
  font-family: var(--font-texto);
}

/* ========================= header ========================= */
header {
  width: 100%;
  height: 96px;
  display: flex;
  justify-content: space-between; /* separa logo, barra e menu */
  align-items: center;

  padding-right: 11rem;
  padding-left: 11rem;

  border-bottom: 1px solid #ddd;

  .hearder {
    img {
      width: 102px;
      height: 32px;
    }
  }

  .sidebar {
    width: 29.5rem; 
    height:3rem;
    font-size: 13.5px;
    font-weight: 550;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--cor-borda);
    border-radius: 40px;
    

    padding: 4px 8px;
    margin-right: 1rem;
    margin-left: 14rem;

    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

    & li:nth-child(1){
        border-right: 1px solid #ebebeb;
        padding-right: 6.5px;
        height: 20px;
      }
    & li:nth-child(2){
        border-right: 1px solid #ebebeb;
        padding-right: 6.5px;
        height: 20px;
        
      }
     
    &:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.356);
    }

    & li {
      list-style: none;
      color: var(--cor-secundaria);
      padding-right: 8px;
      display: flex;
      align-items: center;

    & a {
        text-decoration: none;
        color: var(--cor-secundaria);

        display: flex;
        align-items: center;
      }
      
    & img {
        width: 12px;
        height: 12px;
      }
    }
    .house{
      width: 48px;
      height: 48px;
    }

    .lupa {
      background-color: var(--cor-primaria);
      padding: 0.6rem;
      border-radius: 50%;

      img {
        align-items: center;
        justify-content: center;
      }
    }

    img {
      height: auto;
    }
  }
}

/* ========================= menu ========================= */
.menu {
  display: flex;
  align-items: center;
  gap: 15px;

  list-style: none;

  li {
    a {
      text-decoration: none;
      color: #333;
      font-size: 14px;
      font-weight: 500;

      display: flex;
      align-items: center;
      border-radius: 20px;
      align-items: center;

        &:hover {
          background-color: var(--cor-hover);
          padding: 10px;
            }
    }


    &:not(:first-child) {
      background: #f2f2f2;
      border-radius: 100%;
      padding: 0.6rem;
    }
  }

  img {
    width: 16px;
    height: 16px;
  }
}


/* ========================= main ========================= */
.main {
  margin-left: 11rem;
  margin-right: 11rem;
}


.titulo{
  display: flex;
  justify-content: space-between;
  padding: 24px 0 24px 0;
  & h1{
    font-weight: 550;
    font-size: 24px;
  }
  
  
  & a{
    align-items: center;
    color: var(--cor-secundaria);
    
  }

}

.com-sal {
      display: flex;
      gap: 20px;
    
      & a{
        display: flex;
        gap: 7px;
        font-weight: 500;
        font-size: 14px;
        
        }
      
  & img{
    width: 20px;
    height: 20px;
  }
  & :hover{
    background-color: var(--cor-hover);
    border-radius: 10px;
    padding:2px;
  }
}

/* ========================= section image-grid ========================= */

.image-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  width: 100%;

  & img:hover{
    transition: 3;
    filter: brightness(90%); 
    /* não sei se será utilizado, porem estará aqui */
  }
}

.imagem-quarto{
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  border-radius: 10px 0px 0px 16px ;
}
.imagem-exterior{
  border-radius: 0px 10px 0px 0px;
}
.imagem-lazer{
  border-radius: 0px 0px 10px 0px;
}


/* ========================= container, aticle e aside ========================= */

.container{
  display: flex;
  padding: 0;
  margin: 0;
  width: 100%;
}


aside{
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 37%;
  position: sticky;
  top: 1rem;
  align-self: flex-start;

  & section{
    border: 0.5px solid;
    border-color: #8c8c8c;
    border-radius: 10px;
    padding: 24px;
    width: 372.33px;
    margin-left: 8rem;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.281);
      & img{
        width: 12px;
        height: 12px;
      }
      & .adicone-datas p{
        font-size: 22px;
        font-weight: 500;
      }
      & .grid-checks{
        display:grid;
        grid-template-columns: 1fr 1fr;
        & > div{
          border: 0.5px solid;
        }
        & .check-in{
          border-radius: 7px 0 0 0;
          padding: 0.5rem;
        }
        & .checkout{
          border-radius: 0 7px 0 0;
          padding: 0.5rem;
        }
        & .hospede{
          display: flex;
          grid-column: 1 / -1;
          gap: 13rem;
          align-items: center;
          border-radius: 0 0 7px 7px;
          padding: 0.5rem;
          & div{
            display: flex;
            flex-direction: column;
          }
        }
      }
  }
}

.negrito-11px{
  font-weight: 500;
  font-size: 11px;
}

.btn-conferir{
  padding: 1rem;
  text-align: center;
  background-color: var(--cor-primaria);
  color: var(--cor-fundo);
  font-weight: 500;
  border-radius: 2rem;
  margin-top: 1rem;
  & a{
    text-decoration: none;
    color: var(--cor-fundo);
    font-size: 18px;
    font-family: var(--font-texto);
    font-weight: 600;

  }
}
.local{
  display:flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom: 2rem;
  
  & h2{
    font-size: 20px;
    font-weight: 550;
  }
  & h3{
    font-size: 16px;
    font-weight: 450;
  }
}


.box{
  display: flex;
  border: 1px solid;
  border-radius: 1rem;
  padding: 1.5rem;
  align-items: center;
  gap: 1rem;
  & .preferido{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    & img{
      height: 50px;
      width: auto;
    }
    & p{
      width: auto;
      height: auto;
      
    }
  }
  & .sucesso{
    & p{
      width: 16rem;
      font-weight: 500;
      font-size: 14px;
    }
  }
  .coluna-alinhar-centro1{
    align-items: center;
    display: flex;
    flex-direction: column ;
    border-right: 1px solid #ebebeb;
    padding-right: 10px;
    margin-left: 40px;
  }
  .coluna-alinhar-centro2 {
    align-items: center;
    display: flex;
    flex-direction: column ;
  }
} 


/* ========================= Aside, section globo ========================= */

.globo{
  display: flex;
  padding-top: 2rem;
  padding-bottom: 2rem;
  gap: 1rem;
  border-bottom: 0.5px solid #8c8c8c;
  & div{
    display: flex;
    flex-direction: column;
  }
  & img{
    width: 40px;
    height:40px;
  }
}

/* ========================= Aside, section info1 ========================= */

.info1{
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid #8c8c8c;
  padding-top: 2rem;
  padding-bottom: 2rem;
  & div{
    display: flex;
    &:first-child{
      grid-column: 1 / 3 ;
      grid-row: 1 / 2;
    }
    & img{
      width: 40px;
      height: 40px;
      background-color:
       var(--cor-fundo);
      margin-right: 10px;
    }
    &:nth-child(2){
      grid-column:1/3;
      grid-row: 2/3;
    }
    &:last-child{
      grid-column:1/3;
      grid-row: 3/4;
    }
    & div{
      display: flex;
      flex-direction: column;
    }
  }
}

/* ========================= Aside, section info2 ========================= */

.info2{
  margin-top: 2rem;
  gap:2rem;
  display: flex;
  flex-direction:column;
  border-bottom: 0.5px solid #8c8c8c;
  margin-bottom: 2rem;
  padding-bottom: 3rem;
  & .denscricao2{
    & p:nth-child(2){
      margin-bottom: 2rem;
    }
    & a{
      text-decoration: none;
      color: var(--cor-secundaria);
      background-color: #f2f2f2;
      padding: 14px 24px;
      border-radius: 10px;
    }
  }
}

/* ========================= Aside, section local dormir ========================= */

.local-dormir{
  display: flex;
  flex-direction: column;
  border-bottom: 0.5px solid #8c8c8c;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  & img{
    width: 318.66px;
    height:212.44px
  }
}

/* ========================= Aside, section Oferece ========================= */

.oferece{
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  & > div{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    & > div {
      display: flex;
    }
  }
}

.imagensoferece{
  width: 24px;
  height: 24px;
}
.fonte22px{
  font-size: 22px;
}
.button{
      width: 21rem;
      text-decoration: none;
      color: var(--cor-secundaria);
      background-color: #f2f2f2;
      padding: 14px 24px;
      border-radius: 10px;
}


/* ========================= Comentarios ========================= */

.comentarios{
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  padding-top: 4rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  gap: 2rem;
  border-top: 0.5px solid #8c8c8c ;
  & .comentario{
     display: column;
     
     & .nome{
      display: column;
     }
  }

}

.displayRow{
  display:flex;
}
.gap{
  gap: 2rem;
}
/* O que deve saber  */

.saber{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column: 1fr;
}
.regras{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-items: top;
  margin-top: 2rem;
}

.negrito{
  font-weight: 550;
}

.fontclblack{
  color: #000;
}
.button2{
      width: 21rem;
      color: var(--cor-secundaria);
      background-color: #f2f2f2;
      padding: 14px 24px;
      border-radius: 10px;
      & a{
        text-decoration: none;
      }
}
.imagens48px{
width: 48px;
height: 48px;
border-radius: 50%;
margin-right: 1rem;
}

.bordaPadding{
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 0.5px solid #8c8c8c;
}
.align-center{
  align-items: center;
}

/* ajustes */

.padingL{
  padding-left: 4rem;
}

.italico{
  font-weight: 200;
  color: #8c8c8c;
  font-size: 12px;
}
.camaQ{
  margin: 4px;
  font-weight: 350;
}