:root {
  --color: #A46A20;
}

body {
  margin: auto;
  padding: 0;
  /* background-color: #f1eadd; */
  background-color: #EDE0D4;
  font-family: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif; 
}


.container {
  width: 100%;
}

#map-container {
  width: 50%;
  height: 100vh;
  margin-right: 30px;
  display: flex;
  justify-content: right;
  align-items: center;
  margin: 0;
}

#map{
  position: relative;
  /*width: 80%;*/
  width: 550px;
  height: 90%;
  background-color: white;
  border: 2px solid black;
}

#map > div {
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

#timeline {
  width: 50%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  overflow-y: hidden;
  display: flex;
  float: left;
  margin: 0;
}

.container {
  display: flex;
  height: auto;
}

.timeline-icon-container {
  width: 400px;
  min-height: 200px;
  height: auto;
  margin: auto;
  margin-top: 20px;
  border-radius: 15px;
  border: 1px solid black;
  margin-left: 100px;
  position: relative;
  padding-right: 15px;
  left: 40px;
  /* background-color: #efe2cd; */
  background-color: #E6CCB2;
}

.timeline-icon-container:hover > div > .circle {
    transform: scale(1.5);
    transition: 1s;
}

.timeline-icon-container > div{
  padding-left: 10px;
  padding-top: 5px;
  position: absolute;
  width: 400px;
  top: 0;
}

.timeline-icon-click {
    background-color: #DDB892;
}


.timeline-icon-container > div >  h4 {
  margin-top: 0;
  padding-top: 0;
}

/*.timeline-icon-container::before {*/
  /*content: '';*/
  /*display: block;*/
  /*width: 30px;*/
  /*height: 30px;*/
  /*border-radius: 50%;*/
  /*[>background-color: #A46A20;<]*/
  /*background-color: var(--color);*/
  /*border: 5px solid white;*/
  /*outline: 1px solid black;*/
  /*position: relative;*/
  /*right: 98px;*/
  /*top: 70px;*/
  /*color: orange;*/
/*}*/

.timeline-icon-container:hover {
  /* background-color: #ecd5b0; */
  background-color: #DDB892;
  transition: background-color 1s;
  cursor: pointer;
}

.circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  right: 100px;
  background-color: var(--color);
  border: 5px solid white;
  outline: 1px solid black;
  right: 467px;
  top: 70px;
}

.circle:hover {
  transform: scale(1.5);
  transition: 1s;
  border-radius: 50%;
  position: absolute;
  right: 100px;
  background-color: var(--color);
  border: 5px solid white;
  outline: 1px solid black;
  right: 467px;
  top: 70px;
}

/*.timeline-icon-container:hover::before {*/
  /* background-color: #314602; */
  /*transform: scale(1.5);*/
  /*transition: transform 1s;*/
/*}*/

#vert-bar {
  width: 1.5px;
  height: 100vh;  
  background-color: black;
  position: relative;
  position: relative;
  left: 65px;
}

.year {
  display: inline;
  vertical-align: text-top;
  color: #364b04;
}

.map-desc {
  position: relative;
  left: 0px;
  font-size: 13px;
  margin-top: 0;
}

.map-creator {
  position: relative;
  left: 0px;
  font-size: 15px;
  margin-bottom: 5px;
}

.icon-containers {
  height: 100vh;
  overflow: scroll;
  overflow-x: hidden;
  padding-right: 200px;
  
}
.embed-container {position: relative; height: 0; max-width: 100%;} 

.embed-container iframe, .embed-container object, .embed-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} 

small{position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px;}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: #efe2cd; 
  border-style: none;
  background-color: rgba(0,0,0,0.4); 
}


.modal-content {
  background-color: #F4F0E8;
  margin: 2% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  height: 80%;
  font-family: Palatino;
}

@media screen and (max-width: 500px) , screen {
  .modal-content {
     overflow: scroll;
   }
}

.image-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.image {
  flex: 1;
  border-radius: 50%;
  max-width:100%;
  height: auto;
  width: 150px;
  object-fit: contain;
}

.img-text-container {
  flex-direction: column;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 40px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.myBtn {
  font-size: 35px;
  text-align: center; 
  border-style: none;
  background-color: #2E401C;
  position: absolute;
  right: 15px;
  top: 15px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  width: 55px;
  height: 55px;
  border-radius: 35px;
  z-index: 2;
  font-family: 'Palatino';
  color: white;
}

.processBtn {
  top: 185px;
  flex: 1;
}

.processImg {
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

.myBtn:hover {
  background-color: #A46A20;
  color: white;
  cursor: pointer;
}

#compareIcon {
  border-style: none;
  background-color: #2E401C;
  position: absolute;
  right: 15px;
  top: 100px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  width: 55px;
  height: 55px;
  border-radius: 35px;
  z-index: 2;
}

#compareIcon:hover {
  background-color: #A46A20;
}

.enter-btn {
  border-radius: 15px;
  background-color: #526229;
  text-align: center;
  font-family: Palatino;
  color: white;
  text-decoration: none;
  font-size: 3rem;
  padding: 20px;
  height: 40%;
  width: fit-content;
  margin: auto;
  margin-top: 50px;
}

.title {
  text-align: center;
  font-family: Palatino;
  color: #524110;
}

.enter-btn:hover {
  background-color: #A46A20;
  color: white;
}
 
.splash-container {
  background-image: url(./images/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  position: relative;
  overflow: hidden;
  bottom: 0;
  
}

@media screen and (max-width:800px) {
  .splash-container {
    background-image: url(./images/background_mobile.png);
    background-attachment:fixed;
    background-position:center bottom;
  }

  .enter-btn{
    font-size: 2rem;
    padding: 20px;
  }
}

.btn-class {
  display: grid; 
  justify-content: center;
  position: relative;
  flex-direction: column;
  margin-top: 120px;
}

.introduction-container {
  position: fixed; 
  z-index: 3; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  border-style: none;
  background-color: rgba(0,0,0,0.5); 
  display: none;
}

.introduction-container > .content {
    width: 600px;
    height: 400px;
    background-color: #abcd9b;
    margin: auto;
    transition: 3s;
    margin-top: 50px;
    padding: 10px;
    padding-left: 50px;
    position: relative;
}

.introduction-container > .content > p{
    margin-top: 30px;
    width: 200px;
    font-size: 18px;
    display: inline-block;
}


.introduction-container > .content > img{
    width: 250px;
    height: 300px;
    float: right; 
    display: inline-block;
    margin-top: 30px;
    margin-right: 80px;
    border: 1px solid black;
}

.timeline-icon-container > a{
  position: absolute;
  bottom: 10px;
  right: 10px;

}

#next-button {
    width: 100px;
    height: 50px;
    position: absolute;
    bottom: 20px;
    right: 40px;
    cursor: pointer;
    background-color: #4E5743;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 20px;
    color: white;
}

#exit-button {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10px;
    right: 30px;
    cursor: pointer;
    font-size: 40px;
    background-color: transparent;
    border: 0;
}

#back-button {
    width: 100px;
    height: 50px;
    position: absolute;
    bottom: 20px;
    left: 40px;
    cursor: pointer;
    background-color: #4E5743;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 20px;
    color: white;
}

.analysisImg {
    width: 40px;
    height: 40px;
}

.analysisBtn {
  top: 270px;
  flex: 1;
}

.compareImg {
    width: 40px;
    height: 40px;
}

#analysisModal > .modal-content > .row {
    display: flex;
    flex-direction: row;
}

#analysisModal > .modal-content > .row > .col {
    width: calc(100% / 3);
    height: 100%;
    padding: 0px 10px;
}
