@import url('public-sans.css');

html,
body {
    margin: 0;
    background: #ffffff;
    font-family: 'PublicSans-Regular';
    display: flex; /* Use Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Ensure the body takes up the full viewport height */
    overflow: auto; /* Prevent scrollbars */
    color: black;
}

h1 span {
    font-family: 'PublicSans-Bold';
    background-color: #fffff;
    padding: 0%;
    font-size: 5rem;
    
}

.container {
    display: grid;
    margin:auto;
    justify-content: center;
    align-items: center;
    row-gap: 2rem;
}

.menu.title {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    line-height: 0.3;
    
}

button {
    border: none; /* Remove default border */
    background: none; /* Remove default background */
    padding: 0; /* Remove default padding */
    cursor: pointer; /* Ensure button is still clickable */
}

.button.klausyti.background {
    display: grid;
    background-color: #E2CBF0;
    padding: 0.5rem; /* Reduce padding */
    padding-right: 5%;
    overflow: visible; /* Allow overflow */
    width: 21rem;
    border-radius: 12px;
}

.button.skaityti.background {
    display: grid;
    background-color: #E2CBF0;
    padding: 0.5rem; /* Reduce padding */
    padding-right: 5%;
    overflow: visible; /* Allow overflow */
    width: 21rem;
    border-radius: 12px;
}

.icon.klausyti {
    
    grid-column: 1;
    grid-row: 1;
    height: 2rem;
}
.icon.skaityti {
    
    grid-column: 1;
    grid-row: 1;
    height: 2rem;
}
.button.text.klausyti {
    font-weight: bold;
    font-family: 'PublicSans-Regular';
    font-size: 3em;
    grid-column: 2;
    grid-row: 1;
    width: 10rem;
    text-align: left;
    color: inherit; /* Ensure text color inherits from parent */
    text-decoration: none; /* Remove underline */
    color: black;
}
.button.text.skaityti {
    font-weight: bold;
    font-family: 'PublicSans-Regular';
    font-size: 3em;
    grid-column: 2;
    grid-row: 1;
    width: 10rem;
    text-align: left;
    color: inherit; /* Ensure text color inherits from parent */
    text-decoration: none; /* Remove underline */
    color: black;
}
img {
    max-width: 7rem;
    position: relative;
    top:-3rem;
       
}
.img1 {
    max-width: 8rem;
    position: relative;
    top:-3rem;
       
}

.img2 {
    max-width: 23rem;
    position: relative;
    top:-3rem;   
}

form {
    margin-bottom: -3rem;
}