body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.background_1 {
   background-image:linear-gradient(
        to bottom,
        rgb(203, 193, 160),
        rgb(228, 219, 186)
    );
}

.background_2 {
    background-image:linear-gradient(
        to bottom,
        rgb(228, 219, 186),
        white
    );
}

.background_3 {
    background-color: white;
    background-image: url("../img/bemutatkozo.png");
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 100% 75%;

}

@media (max-width: 780px) {
    .background_3 {
        background-size: 100% 65%;
    }
}

.background_4 {
    background-color:rgb(203, 193, 160);
}

/* CONTAINER */
.container {
    max-width: 1700px;
    margin: auto;
    padding: 2.5rem 10%;
}

@media (max-width: 955px) {
    .container {
        padding: 2.5rem 5%;
    }
}

h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: rgb(0 106 117);
}

/* HERO */

.hero {
    height: 70vh;
    background: url("/img/cover1.webp") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    padding-left: 45%;
    color: white;
    text-align:start;
    width: 90%;
}

.hero h1 {
    font-size: 2.7rem;
    margin: 0;
}

.hero p {
    font-weight: 300;
}

@media (max-width: 765px) {
    .hero-content{
        padding-left: 40%;
    }
    .hero h1{
        font-size: 2.5rem;
    }
}

@media (max-width: 580px) {
    .hero-content{
        padding-left: 35%;
    }

    .hero h1{
        font-size: 2rem;
    }
}

/* ANIMATION: szöveg beúszik */
.hero-content h1,
.hero-content p {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease-out forwards;
}

.hero-content h1 {
    animation-delay: 0.4s;
}

.hero-content p {
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Intro blokk */
.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro img {
    width: 100%;
    border: 10px solid white;
    border-radius: 50px;
}

.intro > div {
    width: 100%;
    padding: 5px;
}

.intro p {
    color: white;
    margin-bottom: .5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
} 

.intro h2 {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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


/* Kedvcsináló block */
.adventure-block {
    align-items: center;
    text-align: center;
}

.cover-todo {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: flex-start;
    gap: 4vh;
}

.cover-todo2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    justify-content: center;
    gap: 3vh;
    
    padding-left: 17vh;
    padding-right: 17vh;
}

.cover-todo h2, .cover-todo2 h2 {
    color: rgb(0 106 117);
}

.cover-todo > div, .cover-todo2 > div {
    padding: 50px;
}

@media (max-width: 1445px) {
    .cover-todo {
        gap: 0px;
    }

    .cover-todo2 {
        gap: 0px;
    }
}

@media (max-width: 1410px) {
    .cover-todo2 {
        padding-left: 3rem;
        padding-right: 3rem;
        display: flex;
        justify-content: center;
    }

    .cover-todo > div {
        padding: 30px;
    }
}

@media (max-width: 1080px) {
    .cover-todo > div, .cover-todo2 > div {
        padding: 20px;
    }
}

@media (max-width: 720px) {
    .cover-todo {
        grid-template-columns: 1fr;
        padding-right: 3rem;
        padding-left: 3rem;
    }

    .cover-todo2 {
        display: grid;
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
}

@media (max-width: 530px) {
    .cover-todo, .cover-todo2 {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/* Közelő Programok */
/* program.css-ben */

/* Bemutatkozó */

.bemutatkozo {
    margin-top: 12rem;
    color: white;
}

@media (max-width: 1080px) {
    .bemutatkozo {
        margin-top: 8rem;
    }
}

@media (max-width: 700px) {
    .bemutatkozo {
        margin-top: 5rem;
    }
}

.lilla, .alex {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    outline: 2px solid rgb(0, 4, 255); /* DEBUG */
}

.bemutatkozo img {
    width: 100%;
    outline: 2px solid rgb(255, 0, 119); /* DEBUG */
}

.lilla > div, .alex > div {
    width: 100%;
    padding: 5px;
    outline: 2px solid orange; /* DEBUG */
}

/* Jelentkezés */
.jelentkezes h2 {
    color: white;
    text-align: start;
}

.p-apply {
    color: white;
    margin-bottom: 1rem;
}

.apply_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 1080px) {
    .apply_box {
        grid-template-columns: 1fr;
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media (max-width: 730px) {
    .apply_box {
        grid-template-columns: 1fr;
        padding: 0px;
    }
}

.apply_box_left, .apply_box_right {
    display: grid;
    grid-template-columns: 1fr 4fr;
    max-width: 640px;

    background-color: white;
    border-radius: 20px;
    margin-top: 1rem;
}

.apply_box_left > div, .apply_box_right > div {
    padding: 0.5rem;
}

.apply_box h3 {
    color: rgb(0, 106, 117);
    margin-bottom: 1rem;
}

.apply_box p {
    color: #666;
    margin-bottom: 1rem;
}

.apply_box i{
    display: flex;
    justify-content: center;
    text-align: center;

    font-size: 4rem;
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 50px;
    background-color: rgb(0 106 117);
    color: white;
}

.apply_button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:1rem;
    padding:0.5rem;
    
    width: 50%;

    color:white;
    border-radius:10px;

    background-image:linear-gradient(
        to right,
        rgb(0, 106, 117),
        rgb(57, 184, 198)
    );

    text-decoration:none;

    transition:all .25s ease;
}

.apply_button:hover{
    transform:scale(.97);

    background-image:linear-gradient(
        to right,
        rgb(0, 73, 82),
        rgb(0, 106, 117)
    );
}
