body, html {
    margin: 0;
    padding: 0;
    text-align: center !important;
    font-family: 'Roboto', sans-serif;
    height: 100%; /* Set height to 100% to cover the full viewport */
}
.footer-container {
    min-height: 40%;
    position: relative;
}
#page-title{
    color: #175A68;
    font-size: 46px;
}
h3{
    font-weight: bold;
}
.grayout {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}
.flag-button{
    font-size: 24px;
    border: 0px;
    background:none;
    border-radius: 2%;
    display: inline-block;
    width: 100%;
}
.flag-button:hover{
    background-color: #d0d0d7;
}
#page{
    padding: 25px 5% 25px 5%;
}
.left{
    text-align: left;
    font-size: 18px;
    padding: 1% 0 1% 0;
}
.box {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    opacity: 1;
    border-radius: 2%;
    background-color: #FFFFFF;
    height: auto;
    width: 60vw;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 equal-width columns */
    padding-bottom: 5%;
}
.questions{
    margin: 2% 0 2% 0;
    font-weight: bold;
}
.answers{
    margin: 0 2% 0 2%;
}
.title {
    color: #175A68;
    padding: 2% 0 5% 0;
    font-size: 30px;
    width: 100%;
}

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

#title {
    grid-column: 1 / 3; /* Span both columns */
}
.form{
    width: auto;
}
#left-box {
    width: 100%;
    height: 100%;
    grid-column: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#right-box {
    width: 100%;
    height: 100%;
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid black;
}
.main-text{
    position: relative;
    top: 0;
    font-size: 18px;
    width: 100%;
}
#au-flag, #hu-flag{
    height: auto;
    max-width: 100%;
    width: 100px;
}
.small-box{
    display: inline-block;
    width: 40%;
    height: 50%;
    margin-bottom: 5%;
}
.smaller-box{
    display: flex;
}
.right-small-box{
    width: 50%;
    margin: 0 2% 0 2%;
}
.button-color{
    background-color: #175a68 !important;
}
.container {
    display: flex;
    flex-direction: column;
    min-height: 70%;
  }
  
  .page {
    flex: 1; /* Allow main content to take up remaining space */
    padding: 20px;
  }

  #homepage-container{
    width: 100%;
    min-height: 100px;
    background-color: #727777;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20%;
    font-size: 20px;
    text-decoration: none;
    color:white;
  }
  #homepage:hover, #homepage{
    color:white;
    text-decoration:none; 
    cursor:pointer; 
    background-color: #727777;
    border:none;
  }

@media (max-width: 767px) {
    .box {
        grid-template-columns: 1fr;
    }

    #left-box, #right-box {
        grid-column: auto;
        width: auto;
    }
    #title{
        grid-column: initial;
    }
    #homepage-container{
        padding: 0;
        justify-content: center;
        align-items: center;
    }
}

.nkfia-logo{
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}