
  @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Indie+Flower&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Indie+Flower&family=Montserrat:wght@300&display=swap');


*{
    padding: 0;
    border: 0;
    
}
main {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    height: 85vh;
    font-family: 'Montserrat', sans-serif;
}

nav {
    height: 15vh;
    background-color: teal;
    padding-bottom: 5px;
    font-size: 200px;
    position: relative;
    font-family: 'Cinzel', serif;
    text-align: center;
    color: black;
    text-shadow: 1px 1px 2px whitesmoke;
    display: flex;
    align-items: center;
    
}
.row {
    margin-bottom: 5px;
}



.head{
    padding: 25px;
}

h1 {
    margin: 2px;
    text-align: center;
} 

.instruction {
    padding: 8px;
}


.card1 {
    width: 15vw;
    height: 85vh;
}

.card {
    width: 70vw;
    height: 85vh;
    position: relative;

}
.card3 {
    width: 15vw;
    height: 85vh;

}
.card1, .card2, .card3 {
    border-radius: 5px;
    padding-top: 10px; 
    padding-left: 10px; 
    background-color: rgba(36, 147, 147, 0.397);
    /*margin-top: 15px;*/
    
}

.card-image {
   /* object-fit: cover;*/
   
    

    padding-top: 10px;
    padding-left: 10px;
}

ul {
    
    line-height: 1.25;
    font-size:20px;
    margin-left: 15px;
    margin-top: 10px;
}

p {
    align-content: flex-end;
}

.pagination {
    align-content: center;
    background-color: teal;
    height: 50px;
    margin-left: 0;
    margin-right: 0;
    
    border-radius: 5px;
    text-align: center;
}

.card-title {
    font-size: 15pt;
}

::placeholder{
    color: grey;
    font-size: 10px;
}

.card-title{
    font-size: 20px;
}

.list{
    font-size: 15px;
}

#previousButton{
    margin-top: 9px;
    background-color: teal;
    cursor: pointer;
    text-align: center;
    margin-top: 13px;
    color: rgb(68, 68, 68);
}

#result1,
#result2,
#result3,
#result4,
#result5,
#result6,
#result7,
#result8,
#result9,
#result10{
    margin-top: 9px;
    background-color: teal;
}

#nextButton{
    background-color: teal;
    color:rgb(68, 68, 68);
}

nav div {
    width: 100%;
}


.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    width: 450px;
    padding: 1.3rem;
    min-height: 250px;
    position: absolute;
    top: 20%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
  }
  
  .modal .flex {
    

    justify-content: space-between;
  }
  
  .modal input {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
  }
  
  .modal p {
    font-size: 0.9rem;
    color: #777;
    margin: 0.4rem 0 0.2rem;
  }
  
  button {
    cursor: pointer;
    border: none;
    font-weight: 600;
  }
  
  .btn {
    display: inline-block;
   
    font-weight: 700;
    background-color: black;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
  }
  
  .btn-open {
    position: absolute;
    bottom: 150px;
  }
  
  .btn-close {
   padding: 15px;
   align-self: flex-end;
    background: #eee;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .hidden {
    display: none;
  }

  .overlay {
    background-color: gray;
    display: block !important;
    position: fixed !important;
  }

  img {
    border-width: 5px;
    border-color: black;
    border-style: solid;
  }

  .modal {

    z-index: 9999;
    position: absolute !important;
 
  }
 
  #pageRow {
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  h3 {
    text-align: center;
  }

  #lastSearchArea {
  font-size: 18pt ;

 
  }

  #search1 {
    font-size: 16pt;
  }
