@import url("../../../main.css");
@import url("../navigation/navigation.css");
@import url("../footer/footer.css");

#page-content {
  width: 96%;
  background-color: var(--clean-and-serene-white);
  /* padding: 5%; */
}

#video-module {
  background-color: var(--stepwork-pencil-lead);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 500px;
}

video::-webkit-media-controls-panel {
  background-color: black;
}

#you-can-stop-too {
  height: 100%;
  width: 100%;
  padding-left: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#you-can-stop-too video {
  height: 60%;
  width: 100%;
  border-radius: 10px;
}

#we-do-recover {
  height: 100%;
  width: 100%;
  padding-right: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#we-do-recover video {
  height: 60%;
  width: 100%;
  border-radius: 10px;
}

#main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 700px;
  margin-top: 100px;
  margin-bottom: 100px;
  margin-left: 50px;
  margin-right: 50px;
  gap: 30px;
}

#column-one {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  gap: 30px;
}

#suggestions {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--surrender-white);
  padding: 5%;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  gap: 5%;
}

#suggestions-title {
  flex: 1;
  color: var(--stepwork-pencil-lead);
  font-size: var(--s);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#suggestions-container {
  flex: 10;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-weight: 600;
  color: var(--stepwork-pencil-lead);
  font-size: var(--xs);
  background-color: var(--duct-tape-grey-3o);
  border-radius: 5px;
  width: 100%;
}

#frequently-asked-questions {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--surrender-white);
  padding: 10px;
  border-radius: 10px;
  gap: 10px;
  height: 100%;
  width: 100%;
}

#frequently-asked-questions-title {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--stepwork-pencil-lead);
  font-size: var(--s);
  font-weight: 600;
}

#frequently-asked-questions-container {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--duct-tape-grey-3o);
  color: var(--stepwork-pencil-lead);
  font-weight: 300;
  text-align: center;
  border-radius: 5px;
}

#frequently-asked-questions-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--sixty-day-green);
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  border-radius: 5px;
  width: 30%;
  height: 30px;
  gap: 10px;
}

#frequently-asked-questions-button:hover {
  background-color: var(--sixty-day-green-hover);
}

#frequently-asked-questions-button-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

#frequently-asked-questions-button-text {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--surrender-white);
  font-weight: 600;
}

#world-services {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--surrender-white);
  padding: 10px;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  gap: 10px;
}

#world-services-title {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--stepwork-pencil-lead);
  font-size: var(--s);
  font-weight: 600;
}

#world-services-container {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--stepwork-pencil-lead);
  font-weight: 300;
  background-color: var(--duct-tape-grey-3o);
  border-radius: 5px;
}

#world-services-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--sixty-day-green);
  border-radius: 5px;
  width: 30%;
  gap: 10px;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

#world-services-button:hover {
  background-color: var(--sixty-day-green-hover);
}

#world-services-button-text {
  color: var(--surrender-white);
  font-weight: 600;
}

#column-two {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#pamphlets {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--surrender-white);
  height: 100%;
  width: 100%;
  border-radius: 10px;
  padding: 5%;
}

#pamphlets-title {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: var(--stepwork-pencil-lead);
  font-size: var(--s);
  font-weight: 600;
}

#pamphlets-container {
  flex: 12;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  overflow-y: scroll;
  gap: 1%;
  padding: 3%;
}

#pamphlets-container>div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 96%;
  min-height: 80px;
  border-radius: 5px;
  padding: 1%;
  transition: transform 0.2s ease;
  /* Add a smooth transition effect */
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

#pamphlets-container>div:hover {
  transform: scale(1.05);
  /* Slightly increase the size on hover */
}

.inner-border {
  border: solid 2px var(--two-or-more-years);
  width: 100%;
  height: 100%;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1%;
  font-family: "Inter", sans-serif;
  font-size: var(--xs);
}

.pamphlet-name {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  flex: 4;
}

.pamphlet-number {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-weight: 200;
  flex: 1;
}

#am-i-an-addict {
  background-color: var(--am-i-an-addict);
}

#self-acceptance {
  background-color: var(--self-acceptance);
}

#the-loner {
  background-color: var(--the-loner);
}

#welcome-to-narcotics-anonymous {
  background-color: var(--welcome-to-narcotics-anonymous);
}

#just-for-today {
  background-color: var(--just-for-today);
}

#the-triangle-of-self-obsession {
  background-color: var(--the-triangle-of-self-obsession);
}

#recovery-and-relapse {
  background-color: var(--recovery-and-relapse);
}

#sponsorship {
  background-color: var(--sponsorship);
}

#literature {
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 100px;
}

#literature-title {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-left: 5%;
  color: var(--stepwork-pencil-lead);
  font-size: var(--m);
  font-weight: 600;
}

.slider {
  flex: 4;
  background-color: var(--stepwork-pencil-lead);
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 2%;
  gap: 2%;
  width: 100%;
  height: 100%;
}

.book {
  height: 100%;
  transition: transform 0.3s ease;
  /* Add a smooth transition effect */
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

.book:hover {
  transform: scale(1.05);
  /* Slightly increase the size on hover */
}

.book img {
  height: 100%;
  width: auto;
}

@media (max-width: 1000px) {

  #video-module {
    height: min-content;
    flex-direction: column;
    padding: 50px;
  }

  #you-can-stop-too,
  #we-do-recover {
    padding: 0;
  }

  #main-content {
    height: min-content;
    flex-direction: column;
  }

  #column-one {
    flex-direction: row-reverse;
    flex-wrap: wrap;
  }

  #column-two {
    width: 100%;
  }

  #suggestions {
    flex-basis: 100%;
  }

  #world-services {
    width: calc(50% - 15px);
    flex: none;
    height: 250px;
  }

  #frequently-asked-questions {
    width: calc(50% - 15px);
    flex: none;
    height: 250px;
  }

  #world-services-button,
  #frequently-asked-questions-button {
    height: 50px;
    flex: none;
    width: 50%;
  }

  #frequently-asked-questions-title {
    text-align: center;
  }

  #pamphlets {
    gap: 20px;
  }

  #pamphlets-container {
    gap: 10px;
    padding: 10px;
    max-height: 500px;
  }

  .inner-border {
    height: 70px;
    padding: 5px;
  }
}


@media (max-width: 700px) {
  #column-one {
    flex-direction: column;
  }

  #world-services,
  #frequently-asked-questions {
    width: 100%;
  }
}


@media (max-width: 500px) {
  #main-content {
    margin: 20px
  }
}