@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

#home_header {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 35px 0px 255px 0px;
    background-color: #ff776b;
    background-image: url(images/wave.svg);
    background-position-y: top;
    background-repeat: no-repeat;
    background-size: cover;

    animation: slideIn ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

#home_header h1 {
    color: rgb(244, 244, 244);
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: -1;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

#homepage_main {
    background-color: #fa7b8c;
    padding: 5vh 0px 5vh 0px;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    margin: 55px 0px 55px 0px;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

#profil_kep {
    max-width: 30vw;
    max-height: 45vh;
    width: 100%;                /*REPLACE THIS IMAGE*/
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 3px solid white;
}

#bemutatkozo_szoveg {
    font-weight: 400;
    font-size: 24px;
    line-height: 37px;
    text-align: justify;
    padding: 55px;
}

#main_image_titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#titles {
    color: white;
}

#titles h1 {
    font-size: 50px;
    font-weight: bold;
}

#titles h5 {
    font-size: 25px;
    font-weight: bold;
}

#collapse_label {
    visibility: hidden;
    display: block;
    cursor: pointer;
    background: url('images/menu.png') no-repeat left center;
    background-size: contain;
    padding: 10px 0 10px 55px;
}

#menu_list a {
    color: white;
}

@media (max-width: 995px) {
    
    #menu_list {
        max-height: 0;
        width: 250px;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 10px;
        z-index: 10000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    #menu_list a {
        color: #ff776b;
    }

    #menu_list a:hover {
        font-weight: bold;
        background-color: rgb(232, 232, 232);
    }

    #collapse_label {
        visibility: visible;
    }

    input[type="checkbox"]:checked + #collapse_label {
        background: url('images/close.png') no-repeat left center;
        background-size: contain;
    }

    input[type="checkbox"]:checked ~ #menu_list {
        max-height: 500px;
    }
}

input#menu {
    display: none;
}

#menuHely a {
    padding: 15px;
    font-size: 20px;
}

#menuHely {
    font-size: 15px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    margin-bottom: 45px;
    padding-right: 125px;
    display: flex;
    flex-direction: row;
    justify-content: center;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

#labjegyzet {
    text-align: center;
    font-style: italic;
    padding: 355px 0px 35px 0px;
    background-image: url(images/wave_also.svg);
    background-repeat: no-repeat;
    background-position-y: top;
    background-color: #ff776b;
    background-size: cover;
    font-family: 'Times New Roman', Times, serif;
    color: white;
}

#labjegyzet a {
    color: wheat;
    text-decoration: none;
}

#labjegyzet a:hover {
    text-decoration: underline;
    font-weight: bold;
}

@keyframes fadeInAnimation {
    0% { transform: translate(0,  -15px); opacity: 0;}
    100%  { transform: translate(0, 0px); opacity: 1; }
}

@keyframes slideIn {
    0% { transform: translate(0,  -115px);}
    100%  { transform: translate(0, 0px);}
}