html {
  font-size: 62.5%;
}

body {
  font-family: var(--main-font);
  font-size: var(--main-font-size);
}

a {
  text-decoration: none;
  color: inherit;
}

:root {
  --title-color: #727171;
  --text-color: rgba(0, 0, 0, 0.7);
  --orange-color: rgb(255, 153, 0);
  --white-color: #ffffff;
  --red-color: rgb(244, 30, 30);
  --main-font: "Raleway", sans-serif;
  --main-font-size: 1.6rem;
}

.my-theme {
  font-size: var(--main-font-size);
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3.2rem;
}

h4 {
  font-size: 2.8rem;
}

@media (max-width: 767px) {
  .my-hero__main-titles h1 {
    font-size: 4rem; 
  }

  .my-hero__main-titles h2 {
    font-size: 3.2rem; 
  }

  .my-hero__versiculos h3 {
    font-size: 2.4rem; 
  }

  .my-hero__versiculos h4 {
    font-size: 2rem; 
  }
}

.my-nav__title {
  font-weight: lighter;
  color: var(--title-color);
}

.my-nav {
  background-color: #e9e9e956;
}

.orange-text {
  color: var(--orange-color);
}

.my-cursor-pointer {
  cursor: pointer;
}

@media (max-width: 969px) {
  .my-nav {
    background-color:  #e9e9e956;
    --img1: scale(1);
    --img2: scale(0);
  }


  .my-nav:has(.my-dropdown:target) {
    --img1: scale(0);
    --img2: scale(1);

    --clip: inset(0 0 0 0)
  }

  .my-nav__container {
    width: 90%;
    margin: 0 auto;
    height: 7rem;

    display: grid;
    grid-template-columns: max-content;
    grid-template-areas: "title img";
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
  }

  .my-nav__title {
    grid-area: title;
  }

  .my-nav__menu {
    grid-area: img;
    position: relative;
    z-index: 100;

    transform: var(--img1);
  }

  .my-nav__menu--second {
    transform: var(--img2);
  }

  .my-nav__icon {
    width: 3rem;
    display: block;
  }

  .my-dropdown {
    position: absolute;
    background-color: var(--white-color);
    width: 75%;
    max-width: 30rem;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 1em;

    display: grid;
    align-content: center;
    gap: 1rem;
    z-index: 10;
    overflow-y: auto;

    clip-path: var(--clip, inset(0 0 100% 100%));
    transition: clip-path .5s;
  }

  .my-dropdown__list {
    list-style: none;
  }

  .my-dropdown__link {
    color: var(--text-color);
    padding: 1em 2em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    background-color: var(--bg, transparent);
    border-radius: 6px;
  }

  .my-dropdown__link:hover {
    color: var(--orange-color);
  }

  .my-dropdown__list:has(:checked) {
    --rows: 1fr;
    --rotate: rotate(180deg);
    --bg: #ffbf49;
  }

  .my-dropdown__check {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .my-dropdown__arrow {
    margin-left: auto;
    transform: var(--rotate, 0);
    transition: .2s transform;
  }

  .my-dropdown__content {
    display: grid;
    grid-template-rows: var(--rows, 0fr) 0fr;
    transition: .3s grid-template-rows;
  }

  .my-dropdown__sub {
    overflow: hidden;
  }

  .my-dropdown__li {
    width: 85%;
    list-style: none;
    margin-left: auto;
  }

  .my-dropdown__anchor {
    padding: 1em;
    display: block;
    color: var(--orange-color);
    text-decoration: none;
  }

  .my-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    padding: 3.5rem 0;
  }

  .my-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
  }

 

  .my-normal-weight {
    font-weight: normal;
  }


  .my-hero__title {
    color: var(--white-color);
    margin: 0;
  }

  .my-navigation-header {
    display: flex;
    padding-right: 5rem;
    gap: 3rem;
    list-style: none;
  }

  .my-navigation-header__link {
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: normal;
  }

  .my-navigation-header__link:hover {
    color: var(--orange-color);
  }
}

@media (min-width: 970px) {

  .my-nav {
    padding: 1rem;
    height: 8rem;
  }

  .my-nav__menu img {
    display: none; 
  }

  .my-dropdown__link img {
    display: none;
  }

  .my-nav__container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
  }

  .my-dropdown {
    display: flex;
    height: 100%;
    gap: 2rem;
    align-items: center;
    margin: 0;
  
  }

  .my-dropdown__list {
    color: #5d5c5c;
  }

  .my-dropdown__list > a:hover {
    color: var(--orange-color);
  }

  .my-dropdown__link {
    height: 100%;
  }

  
}

/* <----------- Hero -----------> */
.webp .my-hero {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .2)), url(../img/hero.webp);
}

.no-webp .my-hero {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .2)), url(../img/hero.jpg);
}

.my-hero {
  background-size: cover;
  height: calc(100vh - 7rem);
  background-position: center center;
  background-repeat: no-repeat;
}

.my-hero__titles {
  color: var(--white-color);
  text-align: center;
  margin: 0 2rem;
}

.my-hero {
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-hero__main-titles {
  margin-bottom: 3rem;
}

.my-logo__title {
  color: var(--text-color);
  margin: 0;
  font-weight: normal;
}

.my-hero__subtitle {
  margin: 0;
}

.my-hero__versiculos {
  display: flex;
  flex-direction: column;
  max-width: 100rem;
  font-style: italic;
}

.my-hero__versiculo-text {
  max-width: 65rem;
  font-weight: normal;
  margin: 3rem 0 0;
  align-self: center;
}

.my-hero__pasaje {
  align-self: flex-end;
  font-weight: normal;
}

/*-------------- Inicio --------------*/

.my-bienvenidos-section {
  padding-bottom: 4rem;
}

.my-mision-vision__text {
  margin: 1rem 0;
}

@media (min-width: 1199px) {
  .my-mision-vision__text {
    margin-left: 1rem;
  }
}


.my-logo__image {
  width: auto;
  height: 23rem;
}

.my-bienvenidos-text {
  max-width: 60rem;
  font-size: var(--main-font-size);
}

@media (max-width: 990px) {
  .my-bienvenidos-text {
    text-align: center;
  }

  .my-inicio__title {
    text-align: center;
  }
}

.my-inicio__title {
  font-weight: normal;
}

.my-red-title {
  color: var(--red-color);
}

/*-------------- Mision y Vision --------------*/

.my-mision-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  justify-content: center;
  height: 20rem;
  margin-top: 5rem;
}

.my-dashed-border {
  border-bottom: 2px dashed rgb(199, 198, 198);
}

@media (max-width: 1199px) {
  .my-mision-vision__container {
    display: block !important;
  }
}

.my-rounded {
  display: flex;
  justify-content: center;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  width: 200px;
  height: 200px;
  background-position: 65%;
  background-size: cover;
}

.my-mision-vision__title {
  align-self: center;
  margin: 0;
  color: var(--white-color);
  font-weight: normal;
  font-size: 4rem;
}

.no-webp #mision-rounded {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .2)), url(../img/mision.jpg);
}

.no-webp #vision-rounded {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.2)), url(../img/vision.jpg);
}

.webp #mision-rounded {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .2)), url(../img/mision.webp);
}

.webp #vision-rounded {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0.2)), url(../img/vision.webp);
}

/*-------------- Conocenos --------------*/
.my-conocenos>h1 {
  text-align: center;
}

.my-conocenos__link {
  gap: 1rem;
}

@media (max-width: 984px) {
  .my-conocenos__link {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .my-conocenos__link {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .my-conocenos__bg-container {
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }
}

.my-conocenos__bg-container {
  display: flex;
  justify-content: center;
  text-decoration: none;
  border-radius: 2%;
}

.my-conocenos__title-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.my-conocenos__bg {
  max-width: 30rem;
  height: 30rem;
  background-size: cover;
  background-position: center center;
}

.my-conocenos__icon {
  width: 15rem;
  height: 15rem;
  fill: var(--white-color);
}

.my-conocenos__title {
  color: var(--white-color);
  font-weight: normal;
}

.webp .my-conocenos__horarios-bg-image {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .5)), url(../img/reloj.webp);
}

.webp .my-conocenos__estudios-bg-image {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/estudios.webp);
}

.no-webp .my-conocenos__horarios-bg-image {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .5)), url(../img/reloj.jpg);
}

.no-webp .my-conocenos__estudios-bg-image {
  background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/estudios.jpg);
}

/*-------------- Contact --------------*/
.my-contact {
  background-color: var(--orange-color);
  padding: 30px 0;
  position: relative;
}

.my-contact__title {
  color: var(--white-color);
  font-weight: bold;
  text-align: start;
}

.my-title-exclamation {
  color: var(--red-color);
}

.my-contact__text {
  color: var(--white-color);
  font-size: var(--main-font-size);
}

.my-contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.my-shadow {
  -webkit-box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.2);
}

.my-contact__field {
  display: flex;
  gap: 3rem;
  width: auto;
  margin-bottom: 1.5rem;
  justify-content: end;
}

.my-contact__label {
  font-size: 1.6rem;
  flex: 0 0 6rem;
  color: var(--text-color);
}

.my-contact__input {
  height: 3rem;
  font-size: 1.6rem;
  flex: 1;
}

.my-contact__field textarea {
  resize: none;
  width: 100%;
  height: 10rem;
}

.my-contact__button {
  font-size: 1.6rem;
  padding: 1rem;
  width: 10rem;
  background: var(--orange-color);
  color: var(--white-color);
  font-family: var(--main-font);
  font-weight: bold;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 0;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}




.my-contact__button:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/*-------------- Footer --------------*/



.my-footer__text {
  color: var(--white-color);
}

.my-bg-footer {
  background-color: rgb(96, 96, 96);
  margin-top: auto;
}

.my-footer__container {
  width: 100rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}

.my-footer__social-media {
  display: flex;
  gap: 2rem;
}

.my-footer__link {
  color: var(--white-color);
  font-size: 1.6rem;
  text-decoration: none;
}

.my-footer__link:hover {
  color: #ccc;
}

.my-footer__link:not(:last-child) {
  border-right: 1px solid var(--white-color);
  padding-right: 2rem;
}

.my-footer__link:not(:first-child) {
  padding-left: 1rem;
}

.my-footer__icon {
  width: 4rem;
  height: auto;
  fill: var(--white-color);
}

.my-footer__title {
  color: var(--white-color);
  font-weight: normal;
}

.my-modal__button {
  font-size: 1.4rem;
  padding: 0.8rem;
  width: 8rem;
  border-radius: 10px;
}

.my-modal__text {
 font-size:large;
}

.bold-text {
  font-weight: bold;
}

.my-nav__menu svg {
  width: 24px;
  height: 24px;
  transition: fill 0.3s ease;
}

.my-nav__menu:hover svg {
  fill: #E8640A; /* Color naranja de tu paleta */
}

.modal-title {
  font-size: 3rem;
}

.my-mision-vision__container {
  display: flex;
  align-items: center;
}