/* General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}


/* #################################

           Modal Styling

   ################################# */

 

   .open-btn {
    width: 100%;
    height: 100%;
    font-size: 1rem;
    background: transparent;
    color: #000;
    border: solid 2px #fff;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 3px black;
   }



   .super {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
   
   }

   .modal-div {
    width: 40%;
    height: 20%;
}

   .modal {
    background-color: #fff;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    max-width: 900px;
    height: 100vh;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    row-gap: 2%;
    align-items: center;
    /* animation-name: animatemodal;
    animation-duration: .4s; */
   }

   

   .close-btn {
    cursor: pointer;
    font-size: 3rem;
    color: #ff0000;
    display: flex;
    justify-content: end;
    align-items: center;
    border: inherit;
    width: 100%;
    height: 4%;
   }

   .modal img {
    height: 50%;
    width: 100%;
   }

   .modal p {
    border: inherit;
    /* height: 95%; */
   }

   .modal-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:  rgba(123, 123, 123, .05);
   } 

   /* Modal Animation Section */

    @keyframes animatemodal {
      from {
        top: -300px;
        opacity: 0;
      }

      to {
        top: 50%;
        opacity: 1;
      }
   } 

   @media  (prefers-color-scheme: dark) {
    .modal {
        background-color: #4C4E52;
    }
    
}


