html, body {
 
    font-family: 'Open Sans', sans-serif;

    height: 100%;
    margin: 0;
    padding: 0;
    touch-action: pan-x pan-y;
    overflow-x: hidden; /* Prevent horizontal overflow */


}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

p {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    white-space: normal; 
   
}



/*h1{
    color:rgba(0, 0, 0, .87);
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 

}*/

h1 {
    color: rgba(0, 0, 0, .87);
    margin: 0;
    padding: 0;
    /* Removed white-space, overflow, and text-overflow properties to allow wrapping */
}

.container {
    display: flex;
    align-items: center; 
    justify-content: center;
    padding-top: 100px;

}

.left-column, .right-column {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.right-column {
    align-items: left;
}

.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.centered-items {
    align-self: center; 
    /*white-space: nowrap; */
    text-align: right;
    padding-bottom: 100px;
}

.centered-items-center {
    align-self: center; 
    /*white-space: nowrap; */
    text-align: center;
    padding-bottom: 100px;
}

.left-items {
    align-self: left; 
    /*white-space: nowrap; */
    text-align: left;
}


img {
    max-width: 500px;
    height: auto;
}

main {
    padding-top: 80px;
}


/* Media query for small screens */
@media (max-width: 1024px) {
    .container {
        flex-direction: column-reverse;
        padding-top: 0px;
        padding-bottom: 50px;

    }

    .centered-items {
        text-align: center;
    }
    .left-items{
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100% !important

    }

    img {
        max-width: 70%;
    }
    .left-column, .right-column {
        align-items: center;
    }

}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
 
 .modal img {
    border-radius: 10px;  /* Adjust the radius to your preference */
}

.modal .container {
    display: flex;
    align-items: center; 
    justify-content: center;
    padding-top: 0px;

}

input, button, select, option, textarea {
    font-size: 100%;
}