
main{
  display: flex;
  flex-direction: column;
  padding-bottom: 200px;
}

.grid-container11{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 15px;
  border-top: solid 10px #fff;
  background-color: #bac8ec;

  grid-template-areas: 
    "box-1 box-2 box-3 box-5"
    "box-1 box-4 box-3 box-5";
}
@media (min-width: 2000px){
  .grid-container11{
    padding-left: 5%;
    padding-right: 5%;}}

@media (min-width: 2200px){
  .grid-container11{
    padding-left: 10%;
    padding-right: 10%;}}

@media (min-width: 2400px){
  .grid-container11{
    padding-left: 15%;
    padding-right: 15%;}}

@media (min-width: 2900px){
  .grid-container11{
    padding-left: 20%;
    padding-right: 20%;}}

@media (min-width: 3400px){
  .grid-container11{
    padding-left: 25%;
    padding-right: 25%;}}

.Ml1s2, .Ml1s3, .Ml1s4, .Ml1s5{
  box-shadow: 0px 0px 3px 3px var(--borderboxsd-color);
  border-radius: 10px;
}

.Ml1s1{
  background-color: #bac8ec;
  font-size: 30px;
  color: rgb(0, 0, 0);
  overflow: scroll;
}

.Ml1s2{
  background-image: url(/pngs/Siege-of-Jerusalem.png);
  background-position: center;
  background-size: cover;
  margin: 10px;
}

.Ml1s3{
  background-image: url(/pngs/Millerite_1843_chart_2_1.webp);
  background-position: center;
  background-size: cover;
  margin: 10px;
}

.Ml1s4{
  background-image: url(/pngs/390_The_Ten_Tribes_Lombards.webp);
  background-position: center;
  background-size: cover;
  margin: 10px;
}

.Ml1s5{
  background-image: url(/pngs/Lion.webp);
  background-position: center;
  background-size: cover;
  margin: 10px;
}

.Ml1s6{
  height: 230px;
  background-image: url(/123/In\ Light\ Of\ Prophecy\ Fulfilled\ \(2\).png);
  background-position: center;
  background-size: cover;
  background-color: #ffffff;
  border-top: var(--navbthvbgc-color) solid 10px;
  border-bottom: var(--navbthvbgc-color) solid 10px;
}

@media (max-width: 1500px){
  .Ml1s6{
    height: 180px;
  }
}
@media (max-width: 1200px){
  .Ml1s6{
    height: 150px;
  }
}
@media (max-width: 900px){
  .Ml1s6{
    height: 100px;
  }
}

@media (min-width: 2000px){
  .Ml1s6{
    height: 230px;
  }
}
@media (min-width: 2500px){
  .Ml1s6{
    height: 330px;
  }
}
@media (min-width: 3000px){
  .Ml1s6{
    height: 450px;
  }
}

@media (max-width: 1600px){
.grid-container11{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 20px;
  border-top: solid 10px #fff;
  background-color: #bac8ec;

  grid-template-areas: 
    "box-1 box-2 box-3"
    "box-1 box-4 box-3";
}
.Ml1s5{
  box-shadow: 0 var(--borderboxsd-color);
  border-radius: 0px;
  margin: 0;
}}

@media (max-width: 1300px){
.grid-container11{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 20px;
  border-top: solid 10px #fff;
  background-color: #bac8ec;

  grid-template-areas: 
    "box-1 box-2 box-3"
    "box-1 box-4 box-3";
}
.Ml1s5{
  box-shadow: 0 var(--borderboxsd-color);
  border-radius: 0px;
  margin: 0;
}}

@media (max-width: 1200px){
.grid-container11{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 20px;
  border-top: solid 10px #fff;
  background-color: #bac8ec;

  grid-template-areas: 
    "box-1 box-3"
    "box-1 box-3";
}
.Ml1s5{
  box-shadow: 0 var(--borderboxsd-color);
  border-radius: 0px;
  margin: 0;
}
.Ml1s2{
  box-shadow: 0 var(--borderboxsd-color);
  border-radius: 0px;
  margin: 0;
}
.Ml1s4{
  box-shadow: 0 var(--borderboxsd-color);
  border-radius: 0px;
  margin: 0;
}}
@media (max-width: 900px){
  .grid-container11{
  display: grid;
  grid-template-columns:1fr;
  grid-template-rows: 1fr 1fr;
  padding: 20px;
  border-top: solid 10px #fff;
  background-color: #bac8ec;

  grid-template-areas: 
    "box-1 box-3"
    "box-1 box-3";
}
.Ml1s3{
  box-shadow: 0 var(--borderboxsd-color);
  border-radius: 0px;
  margin: 0;
  background-image: none;
}}
.p1, .p2, .p3, .p4{
  padding-right: 10px;
  font-size: 23px;
  color: #000000;
}

.p1{
  font-size: 24px;
  font-weight: 1000;
  text-align: center;
}

.p2{
  text-align: justify;
}

.p3{
  text-align: justify;
}

.p4{
  text-align: end;
  font-weight: bold;
  font-size: 21px;
}



.Ml2{
  display: flex;
  flex-direction: column;
  align-self: center;
  width: min(90em, 92%);
  gap: 50px;
  padding-top: 50px;
}


.grid-container1{
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto auto;
  gap: 50px;

  grid-template-areas: 
  "box1 box1 box1"
  "box2 box3 box4"
  "box5 box5 box5";
}

.studies{
    display: flex;
    flex-direction: column;
    gap: 20px;

    height: auto;
    width: auto;
    background-color: var(--Mcu2s1BG-color);
    box-shadow: 0px 0px 3px 3px var(--borderboxsd-color);
    border-radius: 8px;
    transition: 150ms ease-in-out;
}
@media (max-width: 1600px){
  .grid-container1{
  grid-template-columns: auto auto;
  grid-template-areas: 
  "box1 box1"
  "box2 box3"
  "box4 box4"
  "box5 box5";
}
}
@media (max-width: 1120px){
  .grid-container1{
  grid-template-columns: auto;
  grid-template-areas: 
  "box1"
  "box2"
  "box3"
  "box4"
  "box5";
}
}

.studies:hover{
    scale: 1.03;
}

.img1, .img2, .img3, .img4, .img5, .img6, .img7, .img8, .img9{
    background-position: center;
    background-size: cover;
    height: 290px;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0px 0px 3px 3px var(--borderboxsd-color);
}

.img1{background-image: url(/pngs/Prophetic_Atlas_Study_Picture.png); height: 220px;}

.img2{background-image: url(/pngs/630_Three_Division_of_Babylon.png); height: 234px;}

.img3{background-image: url(/pngs/Caught_Unprepared_Study_Picture.png);}

.text p{
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin: 15px;
    margin-top: 0;
}

.text{
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding-left: 20px;padding-right: 20px;

    color: #fff;
    text-align: justify;
    font-size: 18px;
}

.studies-buttons{
    display: flex;
    flex-direction: row;
    margin-top: auto;
}
@media (max-width: 650px){
    .studies-buttons{
        flex-direction: column;
    }
}

.studie-button{
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    height: auto;
    padding-top: 0;padding-bottom: 20px;
    margin-top: auto;
}

main .grid-container1 div button{
    width: 200px;
    height: 60px;
    border: solid #000000;
    border-radius: 8px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: var(--submitBG-color);
    transition: 200ms ease-in-out;
}
main .grid-container1 div button:hover{
    width: 200px;
    background-color: #163a70;
    cursor: pointer;
}

div a button{
    text-underline-offset: 200vh;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.usages-info{
  box-shadow: 0px 0px 3px 3px var(--borderboxsd-color);
  background-color: var(--Mcu2s1BG-color);
  border-radius: 8px;
  height: auto;
  overflow-y: scroll;
}

.usages-info-text{
  font-size: 25px;
  padding-left: 30px;
  padding-right: 30px;
}

.all-studies{
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 3px 3px var(--borderboxsd-color);
  background-color: var(--Mcu2s1BG-color);
  border-radius: 8px;
  height: 100px;
  width: auto;
}



.grid-container2{
  display: flex;
  flex-direction: column;

  box-shadow: 0px 0px 3px 3px var(--borderboxsd-color);
  border-radius: 8px;
  background-color: var(--Mcu2s1BG-color);
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 40px;
}
@media (max-width: 1000px){
  .grid-container2{
  padding-right: 20px;
  padding-left: 20px;
  }
}

.Item2{
  text-align: center;
  position: relative;
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 27px;
  margin-top: 50px;
  font-weight: bold;
  padding-bottom: 20px;
}
@media (max-width: 1000px){
  .Item2{
    font-size: 20px;
  }
}

.Item2::after{
  content: '';
  background: #fff;
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 10px;
}



p{
  font-size: 22px;
  color: #ffffff;
  text-align: justify;
  padding-bottom: 10px;
  padding-top: 0;
  overflow: scroll;
}
@media (max-width: 1000px){
  p{
    font-size: 18px;
  }
}

p a{
  color: #eeeeee;
  font-size: 23px;
  font-weight: bold;                 
}

h2{
  color: #fff;
  font-size: 27px;
}

h3{
  gap: 0;
  position: relative;
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 27px;
  text-align: center;
  padding-top: 20px;
  margin-top: 50px;
  font-weight: bold;
}

h4{
  font-size: 22px;
  color: #ffffff;
  text-align: center;
}




.g-container1{
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto auto;

  grid-template-areas: 
  "box-1 box-2"
  "box-1 box-3"
  "box-1 box-4"
  "box-1 box-5"
  "box-1 box-6";
  
  justify-items: center;
  align-items: center;
}

.gc-img1{
  height: 450px;
  width: 450px;
  background-image: url(/123/In\ Light\ Of\ Prophecy\ Fulfilled\ \(1\).png);
  background-position: center;
  background-size: cover;
  margin: 30px;
}

@media (max-width: 1350px){
  .g-container1{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;

  grid-template-areas:
  "box-2 box-2"
  "box-3 box-3"
  "box-4 box-4"
  "box-5 box-5"
  "box-1 box-6";
}
.gc-img1{
  height: 250px;
  width: 250px;
  margin: 10px;
}
}
@media (max-width: 700px){
  .g-container1{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto auto;

  grid-template-areas:
  "box-1"
  "box-2"
  "box-3"
  "box-4"
  "box-5"
  "box-6";
}
.gc-img1{
  background-image: none;
  width: 0;
  height: 0;
}}

.g-container2{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container3{
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: baseline;
}

.g-container4{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 30px auto auto;

  grid-template-areas: 
  "box-2 box-2 box-2"
  "box-3 box-4 box-5"
  "box-6 box-7 box-8"
  "box-1 box-1 box-1";
  
  justify-items: center;
  gap: 30px;
}
@media (max-width: 1150px){
  .g-container4{
  grid-template-columns: 1fr;
  grid-template-rows: auto 30px auto 30px auto 30px auto;

  grid-template-areas: 
  "box-2"
  "box-3"
  "box-6"
  "box-4"
  "box-7"
  "box-5"
  "box-8"
  "box-1";}
}

.gc-img2{
  height: 400px;
  width: 800px;
  box-shadow: black 0 0 5px 3px;
  border-radius: 10px;
  background: url(pngs/Luther_at_the_Diet_of_Worms.jpg);
  background-position: center;
  background-size: cover;
}
@media (max-width: 1200px){
  .gc-img2{
  height: 300px;
  width: 650px;
}}

@media (max-width: 950px){
  .gc-img2{
  height: 250px;
  width: 450px;
}}
@media (max-width: 650px){
  .gc-img2{
  height: 200px;
  width: 100%;
}}

.g-container5{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container6{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container7{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container8{
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto auto;
  grid-template-areas:
  "box-2 box-1"
  "box-2 box-3";

  justify-items: center;
  align-items: center;
  gap: 40px;
}

.gc-img3{
  height: 440px;
  width: 350px;
  background-image: url(pngs/Meeting_of_doctors_at_the_university_of_Paris.jpg) ;
  background-position: center;
  background-size: cover;
  box-shadow: black 0 0 5px 3px;
  border-radius: 10px;
}

@media (max-width: 1550px){
  .g-container8{
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
  "box-1 box-1"
  "box-2 box-3";
  }
  
}

@media (max-width: 1200px){
  .g-container8{
  grid-template-columns: 1fr;
  grid-template-rows: 0.2fr 1fr 0.5fr;
  grid-template-areas:
  "box-1"
  "box-3"
  "box-2";
  }
  .gc-img3{
  height: 440px;
  width: 350px; 
  }
}
@media (max-width: 500px){
  .gc-img3{
  height: 400px;
  width: 250px;
  }
}

.g-container9{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: 
  "box-6 box-6"
  "box-2 box-4";

  justify-items: center;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1500px){
  .g-container9{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto; 
  grid-template-areas: 
  "box-6 box-6"
  "box-4 box-4"
  "box-2 box-2";
  }
}

.gc-img5{
  height: 335px;
  width: 725px;
  background-image: url(pngs/250_Seven_Trumpets_V._2.png) ;
  background-position: center;
  background-size: cover;
  box-shadow: black 0 0 5px 3px;
  border-radius: 40px;
}
@media (max-width: 1100px){
  .gc-img5{
  height: 280px;
  width: 600px;
  border-radius: 32px;
  }
}
@media (max-width: 850px){
  .gc-img5{
  height: 186px;
  width: 400px;
  border-radius: 20px;
  }
}
@media (max-width: 550px){
  .gc-img5{
  height: 140px;
  width: 300px;
  border-radius: 16px;
  }
}
@media (max-width: 450px){
  .gc-img5{
  height: 115px;
  width: 250px;
  border-radius: 14px;
  }
}


.gc-img13{
  padding-bottom: 200px;
}


.g-container10{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container11{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container12{
  display: grid;
  grid-template-rows: auto auto;
  align-items: baseline;
}


.g-container13{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr;
  grid-template-areas: 
  "box--2 box--1"
  "box--2 box--3";

  justify-items: center;
  align-items: center;
  gap: 40px;
  padding-top: 30PX;
}

.gc-img7{
  height: 90%;
  width: 100%;
  background-image: url(pngs/Daniel_refuse_kingsfood_1.jpg) ;
  background-position: center;
  background-size: cover;
  box-shadow: black 0 0 5px 3px;
  border-radius: 10px;

}

@media (max-width: 1500px){
  .g-container13{
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr;
  grid-template-areas: 
  "box--2 box--1"
  "box--2 box--3";
  }
.gc-img7{
  height: 80%;
  width: 100%;
}}

@media (max-width: 1350px){
  .g-container13{
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr;
  grid-template-areas: 
  "box--1 box--1"
  "box--2 box--3";
  }
  .gc-img7{
  height: 80%;
  width: 100%;
}}

@media (max-width: 1100px){
  .g-container13{
  grid-template-columns: 1fr;
  grid-template-rows: 100px 2fr 3fr;
  grid-template-areas: 
  "box--1"
  "box--3"
  "box--2";
  }
  .gc-img7{
  height: 90%;
  width: 80%;
}}

@media (max-width: 900px){
  .g-container13{
  grid-template-rows: 100px 2fr auto;
  }
  .gc-img7{
  height: 800px;
  width: 100%;
}}
@media (max-width: 800px){
  .g-container13{
  grid-template-rows: 100px 2fr auto;
  }
  .gc-img7{
  height: 600px;
  width: 100%;
}}
@media (max-width: 500px){
  .g-container13{
  grid-template-rows: 100px 2fr auto;
  }
  .gc-img7{
  height: 500px;
  width: 100%;
}}


.HB{
  scale: 1;
  padding: 4px;
  border-radius: 10px;
  border: solid 3px var(--border1-color);
  background-color: var(--navbthvbgc-color);
  box-shadow: var(--border1-color) 0px 0px 2px;
}

.HB{
 padding: 4px;
 border-radius: 10px;
 border-bottom: solid 3px var(--navborder-color);
 background-color: var(--navbthvbgc-color);
}
