@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);
  font-family: "Inter", sans-serif;
}

#event-slider {
  height: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 3%;
  gap: 3%;
  /* position: absolute;
  left: -100%; */
}

.slide:nth-child(3) {
  display: flex;
}

.flyer {
  flex: 4;
  background-color: var(--relapse-grey);
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
}

.close-flyer {
  z-index: 200;
  top: 5px;
  position: absolute;
  right: 5px;
  background-color: var(--silver-medallion);
  border-radius: 5px;
  padding: 5px;
  display: none;
  align-items: center;
  justify-content: center;
}

.close-flyer svg {
  width: 20px;
}

.view-flyer {
  width: 200px;
  background-color: red;
  color: var(--surrender-white);
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  border-radius: 5px;
}

.image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  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 */
}

.image img {
  height: 100%;
}

.event-details {
  flex: 5;
  /* background-color: var(--surrender-white-2o); */
  color: var(--surrender-white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 2%;
  gap: 2%;
  border-radius: 5px;
}

.event-title {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  font-weight: 600;
  font-size: var(--m);
}

.event-time-date-category {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 1%;
}

.event-date {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 5%;
  /* background-color: var(--duct-tape-grey-1o); */
  border-radius: 5px;
}

.event-time {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 5%;
  /* background-color: var(--duct-tape-grey-1o); */
  border-radius: 5px;
}

.event-category {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 5%;
  /* background-color: var(--duct-tape-grey-1o); */
  border-radius: 5px;
}

.event-description {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  border: 2px solid var(--surrender-white-2o);
  border-radius: 5px;
  padding: 2%;
}

.contacts-address-host {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  width: 100%;
  height: 100%;
}

.contacts {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 2px solid var(--surrender-white-2o);
  border-radius: 5px;
  padding: 2%;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 7;
}

.person {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 3%;
}

.email {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 3%;
}

.phone {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 3%;
}

.address-and-host {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 2px solid var(--surrender-white-2o);
  border-radius: 5px;
  padding: 2%;
}

.address {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 3%;
}

.host {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 3%;
}

#message {
  margin-top: 100px;
  width: 100%;
  margin-bottom: 100px;
  background-color: var(--basic-text-blue);
  padding: 1%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#message img {
  max-width: 1700px;
  
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  
  
  width: 100%;
}

#daily-meditations {
  height: max-content;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* Add any other styling for the container as needed */
}

#left-toggle,
#right-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* Adjust left/right positioning as desired */
  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 */
}

#left-toggle:hover circle,
#right-toggle:hover circle {
  fill: var(--silver-medallion);
}

#left-toggle:hover path,
#right-toggle:hover path {
  stroke: var(--stepwork-pencil-lead);
}

#left-toggle {
  left: 0;
  /* Add styles for the left toggle */
}

#right-toggle {
  right: 0;
  /* Add styles for the right toggle */
}

#just-for-today {
  flex: 1;
  background-color: var(--just-for-today-blue);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
  gap: 2%;
}

#spiritual-principle-a-day {
  flex: 1;
  background-color: var(--spiritual-principle-a-day-tan);
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2%;
  gap: 2%;
}

.book-cover {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--two-or-more-years-3o);
  border-radius: 5px;
}

.book-cover img {
  height: 800px;
  width: auto;
}

.reading {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 800px;
  color: var(--surrender-white);
  padding: 2%;
  background-color: var(--surrender-white-3o);
  border-radius: 5px;
}

#spiritual-principle-a-day .reading {
  color: var(--stepwork-pencil-lead);
}

.reading-header {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.reading-title-and-date {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 3;
  font-size: var(--m);
  width: 100%;
  height: 100%;
  font-weight: 550;
}

.reading-title {
  flex: 3;
  width: 100%;
  height: 100%;
  text-wrap: nowrap;
}

.reading-date {
  flex: 1;
  width: 100%;
  height: 100%;
  text-wrap: nowrap;
}

.reading-line {
  flex: 1;
  border-top: solid 2px var(--surrender-white);
  width: 100%;
  height: 100%;
}

#spiritual-principle-a-day .reading-line {
  border-top: solid 2px var(--stepwork-pencil-lead);
}

.reading-quote {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-style: italic;
}

.reading-reference {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
}

.reading-text {
  flex: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  font-size: var(--ms);
}

.reading-footer-text {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  font-size: var(--ms);
}

#spiritual-principle-a-day .reading-text {
  font-size: var(--xs);
}

.reading-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#call-to-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
  padding: 50px;
  gap: 8%;
}

#call-to-actions>div {
  background-color: var(--step-working-guide-tan);
  flex: 1;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 500px
}

.top {
  flex: 1.5;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

.top svg {
  margin-bottom: 5%;
}

.top,
.action-button {
  background-color: var(--step-working-guide-green);
}

.middle {
  flex: 2;
  color: var(--step-working-guide-text-green);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: var(--s);
  width: 100%;
  height: 100%;
  padding: 5%;
  gap: 5%;
  text-align: center;
}

.action-title {
  font-weight: 900;
}

.action-detail {
  font-weight: 500;
}

.bottom {
  flex: 1;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 5%;
  width: 100%;
  height: 100%;
}

.action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--step-working-guide-tan);
  border-radius: 5px;
  width: 100%;
  font-weight: 700;
  height: 100%;
  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 */
}

.action-button:hover {
  background-color: var(--step-working-guide-green-hover);
}

#meeting-count {
  position: relative;
  height: 300px;
  background-image: url("../../assets/gradient.jpg");
  background-size: cover;
  width: 100%;
  margin-bottom: 50px;
  display: flex;
}

#in-person {
  display: flex;
  flex: 1;
  width: 100%;
  height: 100%;
}

.count {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.circle__box {
  width: 200px;
  height: 200px;
  margin: 50px auto;
  position: relative;
}

.circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: var(--xl);
}

.circle__wrapper {
  width: 100px;
  height: 200px;
  position: absolute;
  top: 20px;
  overflow: hidden;
}

.circle__wrapper--right {
  right: 20px;
}

.circle__wrapper--left {
  left: 20px;
}

.circle__whole {
  width: 160px;
  height: 160px;
  border: 5px solid transparent;
  border-radius: 50%;
  position: absolute;
  top: 0;
  transform: rotate(-135deg);
}

.circle__right {
  border-top: 5px solid var(--surrender-white);
  border-right: 5px solid var(--surrender-white);
  right: 1px;
}

.circle__left {
  border-bottom: 5px solid var(--surrender-white);
  border-left: 5px solid var(--surrender-white);
  left: 1px;
}

.label {
  flex: 1;
  color: var(--surrender-white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  font-size: var(--l);
  width: 100%;
  height: 100%;
  font-weight: 600;
}

#virtual {
  display: flex;
  flex: 1;
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .book-cover {
    height: 800px;
  }

  .book-cover img {
    height: 700px;
  }
}

@media (max-width: 1100px) {
  .book-cover {
    display: none;
  }

  .reading {
    max-width: 700px;
  }
}

@media (max-width: 1000px) {

  .slide {
    flex-direction: column;
  }

  .flyer {
    display: none;
    position: absolute;
    z-index: 100;
    width: min-content;
    height: 95%;
    padding-left: 10%;
    padding-right: 10%;
  }

  .image {
    height: 90%;
  }

  .close-flyer {
    display: flex;
  }

  .view-flyer {
    display: flex;
  }

  #call-to-actions {
    height: min-content;
    flex-direction: column;
    gap: 20px;
  }

  #call-to-actions>div {
    width: 450px;
  }

  .action-button {
    height: 50px;
  }

  #meeting-count {
    height: min-content;
    flex-direction: column;
    padding-left: 50px;
    padding-right: 50px;
    gap: 50px;
  }

  .count {
    height: 200px;
    justify-content: center;
  }

  .count .base-timer {
    height: 150px;
    width: 150px;
  }

  .count .base-timer__label {
    height: 150px;
    width: 150px;
  }

  .label {
    height: 200px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  #call-to-actions>div {
    width: 100%;
  }


  .label {
    font-size: var(--m);
  }

  .count .base-timer {
    height: 100px;
    width: 100px;
  }

  .count .base-timer__label {
    height: 100px;
    width: 100px;
    font-size: var(--m);
  }
}

@media (max-width: 400px) {
  #meeting-count {
    padding-left: 5px;
    padding-right: 5px;
    gap: 0px;
  }
}