
nav#nav a:nth-child(2):after {
    width: 100%; /* Expand underline to full width */
}


#leiras {
    width: 90%;
}

#leiras h1 {
    color: #019ACA;
    text-transform: uppercase;
    font-size: 2.5rem;
}


#leiras p {
    color: #067497;
    font-weight: bold;
    text-align: justify;
    font-size: 1.5rem;
}



@media screen and (orientation:portrait) {
    #leiras h1 {

        font-size: 2rem;
        margin-bottom: 0;
    }
    
    
    #leiras p {

        font-size: 1.2rem;
    }
    



}




#kalkulator {
    width: 100%;
    background: rgb(0,194,255);
    background: linear-gradient(90deg, rgba(0,194,255,1) 0%, rgba(0,97,128,1) 100%);
    display: grid;
    grid-template-columns: 35% 65%;

}


#left {
    width: 100%;
    padding-left: 2rem;
}

#left h1 {
    color: white;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 0;
}


form label {
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    line-height: 165%;
    font-size: 1.5rem;
}


form svg {
    height: 1.4rem;
    fill: white;
    margin-left: 0.5rem;
    transform: translateY(0.2rem);
    cursor: pointer;
}


input[type="checkbox"] {
    margin-left: 1rem;
    width: 1.3rem; /* Adjust width as needed */
    height: 1.3rem; /* Adjust height as needed */
    border: 0.15rem solid white; /* Change the border color and thickness */
    -webkit-appearance: none; /* Remove default appearance for WebKit browsers */
    appearance: none; /* Remove default appearance */
    cursor: pointer;
    transform: translateY(0.2rem);
    border-radius: 0.3rem;
}
/* Style for the checked state */
input[type="checkbox"]:checked {
    background-color: white; /* Change the background color when checked */
}



button, #arajanlat {
    color: white;
    text-transform: uppercase;
    font-size: 1.7rem;
    background-color: transparent;
    transition: 0.3s ease-in;
    border: 0.2rem solid white;
    border-radius: 3rem;
    font-weight: bold;
    margin-top: 1.5rem;
    padding: 0.4rem 1.2rem;
    cursor: pointer;
    text-decoration: none;
}


@media screen and (orientation:portrait) {
    button, #arajanlat {

        font-size: 1.4rem;

    }
    
}


button:hover, #arajanlat:hover {
    transition: 0.3s ease-in;
    color: #019ACA;
    
    background-color: white;
}


#arajanlat {
    margin-top: 10rem !important;
}

.oldal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}



.oldal img {
    width: 60%;
}


.leiras {
    width: calc(100% - 4rem);
    background-color: white;
    border-radius: 1.5rem;
    color: #067497;
    margin: 1.5rem 0;
    padding: 0.5rem 1rem 1.5rem 1rem;

}


.leiras p {
    font-size: 1.2rem;
}



.leiras a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.3rem;
    background-color: transparent;
    transition: 0.3s ease-in;
    border: 0.2rem solid #067497;
    border-radius: 3rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    color: #067497;
}



.leiras a:hover {
    transition: 0.3s ease-in;
    color: white;
    
    background-color: #067497;
}



.oldal {
    display: none;
}

.oldal:nth-child(1) {
    display: flex;
}


@media screen and (orientation:landscape) {
    #kalkulator_mobil {
        display: none;
    }
}



@media screen and (orientation:portrait) {
    #kalkulator {
        display: none;
    }





#kalkulator_mobil {
    width: 100%;
    background: rgb(0,194,255);
    background: linear-gradient(90deg, rgba(0,194,255,1) 0%, rgba(0,97,128,1) 100%);
}

form {
    width: 90%;
}


form label {
    line-height: 200%;

    font-size: 1.2rem;
}


form svg {
    width: 1.7rem;
    height: 1.7rem;

    margin-left: 1rem;
}


#kalkulator_mobil h1 {
    color: white;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-left: 1rem;
}



input[type="checkbox"] {

    transform: translateY(0.35rem);
}



.oldal_mobil {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}


.leiras {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.oldal_mobil img {
    width: 80%;
}


.leiras a {

    font-size: 1.1rem;

}

.oldal_mobil {
    transform: scaleY(100%);
    transition: 0.3s ease-in;
    transform-origin: top;
    max-height: 1000rem;
}

.oldal_mobil.inactive {
    transform: scale(0);
    transition: 0.3s ease-in;
    max-height: 0;
}


#arajanlat, button {
    margin-left: 1rem;
}

}



#ar, #ar2 {
    color: white;
    margin-left: 1rem;
    text-transform: uppercase;
    width: calc(100% - 1rem);
}




#faq {
    margin-top: 2rem;
    width: 90%;
}


.qa {
    width: calc(100% - 3rem);
    background-color: #F0F0F0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.q, .a {
    color: #00C2FF;
    font-weight: bold;
    font-size: 1.5rem;
}


.a {
    transition: 0.3s ease-in;
    max-height: 300vh;
    overflow-y: hidden;
    font-weight: 500;
}


.qa.inactive .a {
    max-height: 0;
    transition: 0.3s ease-in;
}


.q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
}


.q svg {
    height: 1.5rem;
    fill: #00C2FF;
    transition: 0.3s ease-in;
    transform: rotate(90deg);
}

.qa.inactive .q svg{
    transition: 0.3s ease-in;
    transform: rotate(0deg);

}




