@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,600;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,700;1,700&display=swap');

:root {
  --white: hsl(0, 0%, 100%);
  --lightPink: hsl(275, 100%, 97%);
  --grayishPurple: hsl(292, 16%, 49%);
  --darkPurple: hsl(292, 42%, 14%);
}

html {
  height: 100dvh;
  overflow: hidden;
}

body {
  min-height: 100dvh;
  background: var(--lightPink);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

.backgroundImg1 {
  background-position: top center;
  width: 100dvw;
}
.backgroundImg2 {
  display: none;
}

.cardContainer {
  background: var(--white);
  width: 480px;
  height: 450px;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 10px;
  /* border: 2px solid yellow; */
  padding: 10px 30px;
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.2);
}

.starImg {
  width: 20px;
  margin-right: 15px;
}

.cardHead {
  font-family: 'Work Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 50px;
  color: var(--darkPurple);
  margin: 25px 0 0 0;
}

.accordionContainer {
  display: flex;
  height: 375px;
  flex-direction: column;
  justify-content: space-evenly;
}

.accordionHead {
  font-family: 'Work Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: var(--darkPurple);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
@media only screen and (min-width: 600px) {
  .accordionHead:hover {
    color: hsl(281, 83%, 54%);
  }
}

.accordionItem {
  border-bottom: 2px solid hsl(0, 0%, 98%);
}

.hidden1,
.hidden2,
.hidden3,
.hidden4 {
  font-family: 'Work Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--grayishPurple);
  font-size: 14px;
  display: none;
  text-align: justify;
}

.attribution {
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 10px;
  font-size: 12px;
}
.attribution a {
  color: var(--darkPurple);
}
.attribution a:hover {
  color: hsl(281, 83%, 54%);
}

@media only screen and (max-width: 600px) {
  .cardContainer {
    width: 275px;
  }
  .cardHead {
    font-size: 35px;
  }
  .backgroundImg1 {
    display: none;
  }
  .backgroundImg2 {
    display: flex;
    width: 100dvw;
  }
  .hidden1,
  .hidden2,
  .hidden3,
  .hidden4 {
    font-family: 'Work Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--grayishPurple);
    font-size: 14px;
    left: 0;
  }
}
