
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 1em;
    background-color: #e6f2fa;
    color: #333;
    font-family: Arial,sans-serif;
}

header {
    background-color: #418dff;
    color: white;
    padding-bottom: 2em;
    box-shadow:0 10px 10px rgba(0, 0, 0, 0.246);
}

.kezdolap .top-bar{
    padding-bottom: 0.7em;
}

header .top-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 1em;
    background-color: #276cfe;
    font-size: 1.5em;
}

header .home-label {
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline;
    margin-left: 10px;
    padding: 4px 8px;
}

header nav ul li.active {
    padding: 0.75em;
    background-color: #1f54ea;
    box-shadow:0 2px 4px rgba(0,0,0,0.1);
    border-radius: 5px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

header h1 {
    text-align: center;
    margin: 0.5em 0;
    font-size: 3em;
}

header .tagline {
    text-align: center;
    font-size: 2em;
    color: #e0e0e0;
}

main {
    padding: 2em 0em;
    padding-bottom: 0%;
}

.section-heading {
    text-align: center;
    font-size: 3em;
    margin-top: 1em;
    margin-bottom: 2em;
    font-weight: bold;
}

.preview {
    display: flex;
    flex-direction: column;
    gap: 6em;
    align-items: center;
    margin-bottom: 4rem;
}

.country-box {
    margin: 0 auto;
    display: flex;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0em 0em 0em 1em;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 2000px;
    border-radius: 25px;
    box-shadow:0 10px 10px rgba(0, 0, 0, 0.404);
}

.country-box h2 {
    color: #3974eb;
}

.country-box.reverse {
    flex-direction: row-reverse;
    padding: 0em 1em 0em 0em;
}
.country-box .image{
    width: 100%;
    height: 100%;
    padding: 0em 0em 0em 2em;
}

.country-box .image img {
    width: 100%;
    height: auto;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    vertical-align: bottom;
    object-fit: cover;
}

.country-box.reverse .image{
    padding: 0em 2em 0em 0em;
}

.country-box.reverse .image img{
    width: 100%;
    height: auto;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    vertical-align: bottom;
}

.country-box .text {
    max-width: 60%;
    font-size: 1.5em;
    padding: 0 1em;
}

.country-box .text .link{
    padding-top: 0.5em;
    padding-bottom: 1em;
}

.country-box .text .link a{
    color: white;
    background-color: #3974eb;
    padding: 16px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1em;
}

.country-box .text .link a:hover{
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.306);
    padding: 18px 26px;
}

.form-section {
    text-align: center;
    font-size: 1.2em;
    background-color: #001c2a;
    color: white;
    padding: 3em 0em 2em 0em;
    width: 100%;
    margin-top: 8em;
}

.form-section h2 {
    color: white;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.form-section form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.form-row {
    margin-bottom: 1.5rem;
}

input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
}

textarea {
    height: 120px;
}

.radio-group {
    display: flex;
    justify-content:space-evenly;
}

.buttons button {
    margin-right: 2em;
    margin-left: 2em;
    padding: 0.75rem 2rem;
    background-color: #3974eb;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.solid{
    border:1px solid #20313c;
    margin: 0%;
    width: 100%;
}
footer {
    background-color: #0a1c25;
    color: white;
    text-align: center;
    padding: 1em;
    margin: 0;
}


.banner{
    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 50em;
}

.olaszorszag .banner{
    background-image:url(Webfejlesztés_képek/Olaszország\ banner\ kép\ 2.jpg);
}

.gorogorszag .banner{
    background-image: url(Webfejlesztés_képek/Gorogorszagbanner.jpg);
}

.banner .text{
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2em;
    color:white;
    font-weight: bold;
}

.banner .text .tagline{
    color: white;
}

.banner .top-bar{
    background: rgba(0, 0, 0, 0.246);
}


.section-heading.title{
    color: #1f54ea;
    font-weight: bold;
    font-size: 3em;
    margin-bottom: 1%;
}

.country-box.sight{
    border: none;
    box-shadow: none;
    font-size: 1.25em;
    text-align: justify;
    background-color: transparent;
}

.country-box.sight h2{
    text-align: left;
    color: #2d93ff;
}

table{
    margin-left: 10%;
}
table, th, td{
    border: 1px solid black;
    border-collapse: collapse;
    padding: 0.25em;
    text-align: left;
    font-size: 1.1em;
}

.country-box.sight .image img{
    border-radius: 0%;
}

figcaption{
    text-align: center;
}

.olaszorszag .image img:hover{
    width: 105%;
    height: 105%;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.5);
}

.gorogorszag .image img:hover{
    width: 105%;
    height: 105%;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.5);
}

.soon{
    margin-top: 10em;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}
.carousel.slide{
    max-width: 2000px;
    border-radius: 2em;
    width: 50%;
}

.carousel img{
    margin:auto;
    border-radius: 2em;
    
}

nav#jumptocontent a {
    position: absolute;
    left: -9999px;
}
nav#jumptocontent a:focus {
    position: static;
}

@media (max-width: 1536px) {
    .country-box {
        padding-top: 2em;
        flex-direction: column;
        align-items: center;
        padding-left: 0%;
    }

    .country-box.reverse {
        padding-top: 2em;
        flex-direction: column;
        padding-right: 0%;
    }

    .country-box .image {
        padding: 0;
        padding-top: 1em;
    }

    .country-box .image img {
        width: 100%;
        height: auto;
        border-radius: 25px;
        vertical-align: bottom;
    }

    .country-box.reverse .image {
        padding: 0;
        padding-top: 1em;
    }

    .country-box.reverse .image img {
        width: 100%;
        height: auto;
        border-radius: 25px;
        vertical-align: bottom;
    }

    .country-box .text {
        max-width: 100%;
        text-align:center;
    }

    .country-box .text p{
        max-width: 100%;
        text-align:justify;
    }

    .form-section form {
        width: 90%;
    }

    .soon{
        margin-top: 5em;
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        width: 100%;
    }
    .carousel.slide{
        width: 100%;
    }
    .carousel-inner{
        width: 100%;
    }
    .carousel.slide .carousel-item{
        width: 100%;
        height: fit-content;
        max-height: fit-content;
        object-fit: contain;
    }
    .carousel.slide .carousel-item img{
        width: 100%;
        height: auto;
        border-radius: 2em;
    }

    .table{
        width: 100%;
        margin: 0 auto;
    }

    .table th, .table td{
        padding: 0.5em;
        font-size: 1em;
    }
    .table th{
        font-size: 1.2em;
    }
    .table tr{
        font-size: 1em;
    }
    
    .focim{
        font-size: 2em;
        margin-top: 1em;
    }

    .banner .tagline{
        font-size: 1.5em;
        color: black;
    }

    .country-box.sight{
        font-size: 1em;
    }

    .country-box.sight .text{
        text-align: justify;
    }
    .country-box.sight h2{
        font-size: 1.5em;
        text-align: center;
    }

    .country-box.sight .videoclass{
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 0;
        margin: 0 auto;
    }

    .country-box.sight .videoclass video{
        width: 100%;
        height: auto;
    }

    .country-box.sight .image img{
        width: 100%;
        height: auto;
        border-radius: 0%;
    }
    .country-box.sight figcaption{
        font-size: 1em;
    }
    .country-box.sight table{
        width: 100%;
        margin: 0 auto;
    }
    .country-box.sight table, th, td{
        padding: 0.5em;
        font-size: 1em;
    }
    .country-box.sight table th{
        font-size: 1.2em;
    }
    .country-box.sight table tr{
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    header .top-bar {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        display: block;
        margin: 0.5em 0;
    }

    header h1 {
        font-size: 2.5em;
    }

    header .tagline {
        font-size: 1.5em;
    }

    .banner .text .focim {
        font-size: 1.5em;
    }

    .banner .text .tagline {
        font-size: 1.2em;
        margin-bottom: 8em;
        
    }

    .section-heading {
        font-size: 2.5em;
    }

    .country-box {
        flex-direction: column;
    }

    .country-box.reverse {
        flex-direction: column;
    }
}