@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  font-family: "Work Sans", sans-serif;
}

.margin {
  margin: 0 40px;
}

:root {
  --white: hsl(0, 0%, 100%);
  --light-pink: hsl(275, 100%, 97%);
  --grayish-purple: hsl(292, 16%, 49%);
  --dark-purple: hsl(292, 42%, 14%);
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--light-pink);
  overflow-x: hidden;
  overflow-y: hidden;
}

.back-img img {
  width: 100%;
  height: 60vh;
  position: fixed;
  z-index: -1;
}

.container {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -35%);
  background-color: var(--white);
  width: 560px;
  border-radius: 0.7rem;
  box-shadow: 10px 0px 10px 0px rgba(255, 255, 255, 0.553);
}

.titulo {
  display: flex;
  align-items: center;
  margin: 0px 40px;

  img {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 3.5rem;
    color: var(--dark-purple);
    margin: 20px;
  }
}



.box{
    position: relative;
    margin-bottom: 5px;
    padding: 20px 0;
    border-bottom: 1px solid var(--grayish-purple);
}



.pregunta {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  margin-top: -15px;
  transition: all 0.3s ease-in-out;

  h2 {
    font-size: 1.1rem;
    font-weight: 600;
  }

  
img{
    cursor: pointer;
}

}
.pregunta:hover{
    color: var(--grayish-purple);
}

.respuesta{
 display: none;
 transition: ease-in 0.25s;

 .miTexto{
    color: var(--grayish-purple);
 }
}
