* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; 
    background: dodgerblue;
    overflow: hidden;
}

.main-container {
    display: flex;
    height: 85vh; 
}

.letters {
    width: min-content;

    background: #6669f1;
    color: white;
    overflow-y: hidden;
    padding: 10px;
    margin-right: 4px;
    border-radius: 5px;
}

.letters ul {
    list-style: none;
    padding: 0;
    width: 100%;
    margin-bottom: 10px;

}

.letters ul li {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border: 1px solid;
    margin-bottom: 15px;
    border-radius: 5px;
    background: white;
    color: blue;
}

.letters ul li:hover {
    background:dodgerblue;
    color: white;
}

#letter-list .active {
    background: #3b48e0;
    color: white;
}

.container {
    width: 50vw;  
    background: white;
    border-radius: 7px;
    padding: 2px 2px 20px 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container header {
    font-size: 28px;
    font-weight: bolder;
    text-align: center;
    padding-top: 20px;
}

.container .search {
    position: relative;
    margin: 35px 0 18px;
}

.container .info-text {
    font-size: 13px;
    text-align: justify;
    color: #9a9a9a;
    margin: -3px 0 -10px;
}

.info-text span {
    font-weight: 500;
}

.container ul {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.container.active ul {
    height: 75vh;
    opacity: 1;
    overflow: hidden;
}

.container.active .info-text {
    display: none;
}

.container ul li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 17px;
    border-bottom: 1px solid #ccc;
    justify-content: space-between;
}

.container li .details {
    border-left: 3px solid #4d59fb;
    padding-left: 10px;
    padding-right: 5px;
    border-radius: 4px 0 0 4px;
}

.container li .details p {
    font-size: 17px;
    font-weight: 600;
}

.container li .details span {
    font-size: 15px;
    color: #7e7e7e;
    line-height: 150%;
}

.container li .details b {
   font-weight: 800;
}

select {
   width: 98%;
   height: auto;
   max-height: 8vh;
   padding: 10px;
   font-size: 16px;
   border: 1px solid #ccc;
   border-radius: 5px;
   outline: none;
}

.content {
    padding-right: 20px;
}

footer {
    position: fixed;  
    bottom: 0;
    left: 0;
    width: 100%;  
    background: #f7f8f8;
    padding: 5px;
    font-size: 1em;
    border-top: 2px solid #ccc;
    text-align: right;  
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); 
    margin-bottom: 0; 
  }


  footer a {
    color: black;
    text-decoration: none;  
    padding-right: 35px;
  }
  
  footer a:hover {
    text-decoration: underline; 
  }
  

  @media (min-width:830px) {
    .container header {
        font-size:2em;
    }


}

@media (max-width:609px) {
    .container header {
        font-size: 1.5em;
    }

    select option {
        font-size: 0.9em;
     }
}

@media (max-width:400px) {
    .container header {
        font-size: 1em;
    }

    select option {
        font-size: 0.9em;
     }

}