.container-tercer-periodo {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}
.first-column-tercer-periodo {
  width: 25%;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.6rem;
}
.second-column-tercer-periodo {
  width: 75%;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
h2 {
  margin-top: 0;
}
button {
  display: block;
  width: 100%;
  padding: 0px;
  margin-bottom: 10px;
  box-sizing: border-box;
  background-color: rgba(204, 204, 204, 0);
  color: #fff;
  border: none;
  cursor: pointer;
  height: 100%;
  margin-right: 4px;
  margin-left: 4px;
}
button:hover {
  background-color: rgb(255, 255, 255);
  color: #e36f24;
}
/* sub */
.titulo-subperiodos{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 20px;
  width: 80%;
  margin-top: 2rem;
}
.numero-subperiodo{
  padding: 0 10px;
  font-family: 'Cinzel-Black';
  font-size: 7rem;
}
.numero-subperiodo:hover{
  color: #e36f24;
}
.divider-subperiodo{
  width: 100%;
  border-bottom: 1px solid rgb(219 158 217 / 60%);
  margin: 10px 0;
}
.year-subperiodo{
  font-family: "Cinzel-Black";
  font-size: 1.9rem;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal2 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal3 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.5);
}.modal4 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  /* background-color: bisque; */
  background-image: url("../../images/3pBlack.jpg");
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}

#close-modal, #close-modal2, #close-modal3, #close-modal4 {
  position: absolute;
  top: 0px;
  right: 31px;
  height: 2rem;
  width: 2rem;
  font-size: 40px;
  font-weight: bold;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
/* #close-modal2 {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 2rem;
  width: 2rem;
  font-size: 20px;
  font-weight: bold;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
#close-modal3 {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 2rem;
  width: 2rem;
  font-size: 20px;
  font-weight: bold;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
#close-modal4 {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 2rem;
  width: 2rem;
  font-size: 20px;
  font-weight: bold;
  border: none;
  background-color: transparent;
  cursor: pointer;
} */
@media (max-width: 600px) {
  .first-column-tercer-periodo {
    width: 100%;
    padding: 33px;
    font-size: 1rem;
}
  .second-column-tercer-periodo {
    flex: 100%;
    flex-direction: column;
    padding: 9px;
  color: #e36f24;
  }
  .titulo-subperiodos{
    margin: 20px;
    margin-top: 0rem;
    width: 1;
  }
  .numero-subperiodo{
    padding: 0 10px;
    font-family: 'Cinzel-Black';
    font-size: 1rem;
  }
  .divider-subperiodo{
    width: 100%;
    margin: 10px 0;
  }
  .year-subperiodo{
    font-family: "Cinzel-Black";
    font-size: 1rem;
  }
  button {
    height: 15%;
  padding: 4px;
display: flex;
    justify-content: center;
    background-color:rgb(213 93 16);
  }
}
@media (max-width: 790px) {
  #close-modal, #close-modal2, #close-modal3, #close-modal4 {
    position: absolute;
    top: 0px;
    right: 31px;
    height: 2rem;
    width: 2rem;
    font-size: 30px;
    font-weight: bold;
    border: none;
    background-color: transparent;
    cursor: pointer;
  }
}