/* CSS reset start  */
body {
    /*
	min-height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
    */
    
    padding: 0px;
    margin: 0px;
    cursor: default;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(181, 156, 97, 1));
    background-repeat: no-repeat;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'PoppinsRegular';

}


html {
    scroll-behavior: smooth;
}

a,
a:active,
a:link,
a:link:visited {
    color: white;
    text-decoration: none;
    display: contents;

}

body * {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;

}

/* CSS reset end  */

/*
ROOT variables
*/
:root {
    --primary-color: rgba(37, 45, 73, 1);
    --secondary-color: rgba(181, 156, 97, 1);

    --inside-strip: 80%;
}


/*end*/

/* SCROLL start */
#scrolltop {
    position: fixed;
    display: none;
    bottom: 150px;
    right: 10px;
    justify-content: center;
}

#scrolltop img {
    height: 100%;

}

/* SCROLL end */

header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    min-width: 330px;
}

#hero_pulpitus {
    display: none;
}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: var(--secondary-color);
    color: white;
    justify-content: space-around;
    font-family: 'PoppinsSemiBold';
    width: 100%;
    
}

nav img {
    max-width: 48px;

}

#nav_logo {
    align-content: center;
    justify-content: center;
    padding-left: 10px;
}

#nav_buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2vh;
    gap: 30px;
}

#nav_buttons div:nth-child(2) {
    padding: 5px;
    border-radius: 8px;
}



.ticket_button {
    padding: 5px;
    border-radius: 8px;
    font-family: 'PoppinsSemiBold';
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2vh;
    gap: 30px;
    background-color: var(--primary-color);
    color: white;
    width: max-content;
    cursor: pointer;
}



.rolunk_button {
    padding: 7px 25px;
    border-radius: 8px;
    font-family: 'PoppinsSemiBold';
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    width: max-content;
    cursor: pointer;
}

/*     hero     */

#hero {
    width: 100%;
}

#hero_wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding-top: 4vh;


}

#hero_text {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: var(--inside-strip);
    width: 244px;

}


h1 {
    font-family: 'PoppinsBold';
    color: var(--primary-color);
    letter-spacing: -0.06em;
    transform: scaleY(0.9);
    line-height: 1.1;

}

h2 {
    line-height: 1.0;
}

h2 span:nth-child(1) {
    font-family: 'PoppinsBold';
    color: var(--secondary-color);
    justify-self: end;

}

h2 span:nth-child(2) {
    font-family: 'PoppinsLight';
    color: var(--primary-color);
    justify-self: end;
}

h1 span {
    display: block;
}

h2 span {
    display: block;
}


/*     hero     */

/*  section desc  */

#desc {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    /*background-color: white;*/
    padding: 8vh 0;
}



#desc_text span {
    display: block;
}

#desc img {
    height: 70px;
    width: auto;
}

#desc_logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: var(--inside-strip);
    gap: 6vh;

}

#desc_text {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: var(--inside-strip);
    padding-bottom: 5vh;
}

#desc span:nth-of-type(1) {
    font-family: "PoppinsBold";
    font-size: 1.8em;
    padding-bottom: 5vh;
}

/*  section desc  */


/*  section info  */

#info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    width: 100%;
    color: white;
    /*gap: 3vh;*/
}

#i_button_wrapper {
    padding-top: 3vh;
}

#info_text {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 4vh 0;
    gap: 3vh;
    background-color: var(--primary-color);
    width: 100%;
    justify-content: center;
}

#info_text img {
    width: auto;
    height: 30px;
}

#counter {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    width: 100%;
    gap: 20px;
    font-weight: 800;
    font-size: 1.4em;
    text-align: center;
    padding: 2vh 0;
}

.counter_item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 3ch;
}


/*  section info  */


/*  sec program  */

h3 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    text-align: center;
    justify-content: center;
    color: var(--secondary-color);
    font-family: "PoppinsBold";
    font-size: 1.4em;
    padding: 6vh 0;
}


.p_line {
    width: 100%;
    height: 0.3px;
    background: var(--secondary-color);

}

.p_time {
    font-weight: 600;
    padding: 2vh 0;

}

.p_title {
    font-weight: 600;
    padding-bottom: 2vh;
}

.p_desc {
    padding-bottom: 2vh;
}

.p_auth {}



#program {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 3vh;
}

#program_wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    justify-content: center;
    width: var(--inside-strip);
    gap: 5vh;
}

.program_item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;

}

#p_reszveteli {
    color: white;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    justify-content: center;
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
    padding: 3vh 0;
    font-size: 1.3em;

}


/*  sec program  */

#mid_button_wrapper {
    padding-bottom: 5vh;
}

/*  sec misc  */
#misc {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
}

#m_text {
    width: var(--inside-strip);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    padding: 3vh 0;
    gap: 3vh;

}

.m_line {
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}



/*  sec misc  */

/*  sec extra  */

#extra {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 3vh 0;
}

#e_wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: white;
    border-radius: 60px;
    width: var(--inside-strip);
    gap: 3vh;
    padding: 3vh 100%;
    box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.25);
}


/*  sec extra  */

/* pager  */

#pager_w{
    
}
/* pager  */

/*  sec rolunk  */

#rolunk {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    gap: 2vh;
}

#rolunk * {
    width: 80%;
}

#rolunk .rolunk_button {
    width: max-content;

}

#rolunk>h3 {
    color: white;
    font-size: 1.7em;
}

#rolunk_button_wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding: 4vh 0;
}

#r_title {
    font-size: 1.3em;
    padding-bottom: 2vh;
}

/*  sec rolunk  */

/*  footer  */

footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    gap: 1vh;
}

.f_line {
    width: 80%;
    height: 2px;
    background: white;
}

#f_elso_sor,
#f_masodik_sor {
    padding: 1vh 0;
}

#f_elso_sor {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    gap: 1vh;
}

/*  footer  */



/* Csúszka start */



/* Firefox (külön szintaxis) */
* {
    scrollbar-width: thin;
    /* "auto" vagy "thin" */
    scrollbar-color: var(--secondary-color) rgba(11, 120, 114, 0);
    /* [thumb] [track] */
}

/* Csúszka end */

/* SCROLL start */
#scrolltop {
    position: fixed;
    display: none;
    bottom: 150px;
    right: 10px;
    justify-content: center;
}

#scrolltop img {
    height: 100%;

}

/* SCROLL end */


/*------------FONTFACES------------------------------------------------------------------*/

@font-face {
    font-family: "PoppinsBold";
    src: url("/fonts/Poppins-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "PoppinsSemiBold";
    src: url("/fonts/Poppins-SemiBold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "PoppinsRegular";
    src: url("/fonts/Poppins-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "PoppinsLight";
    src: url("/fonts/Poppins-Light.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "PoppinsThin";
    src: url("/fonts/Poppins-Thin.ttf") format("truetype");
    font-display: swap;
}

/* MEDIA QUERIES */



@media only screen and (min-width: 650px) {
    #info_text {
        flex-direction: row;
        gap: 6vh;
    }

    #e_wrapper {
        flex-direction: row;
        align-items: flex-start;
        padding: 4vh 60%;
        /*width: 30vh;*/
        gap: 60px;
        border-radius: 80px;
    }

    #p_reszveteli {
        width: 250px;
        border-radius: 30px;
    }

    #m_text {
        width: 60%;
    }

    #counter {
        width: 340px;
        border-radius: 30px;
    }

    #info {
        gap: 3vh;
    }

}

@media only screen and (min-width: 800px) {

    footer {

        flex-direction: row;
        width: var(--inside-strip);
        padding: 4vh 0;
        justify-content: space-between;

    }

    #f_elso_sor {
        align-items: flex-start;
        width: 40%;
    }

    #f_masodik_sor {
        align-items: flex-end;
        text-align: right;
        width: 40%;
    }

    .f_line {
        height: 40px;
        width: 2px;

    }

    #m_text {
        width: 40%;
    }

    #rolunk * {
        width: 60%;
    }

    #info_text {
        flex-direction: row;
        gap: 15vh;
    }

    #hero {
        background-image: url(/img/konf-hero-bg.webp);
        background-repeat: no-repeat;
        background-size: cover;
        height: 300px;
    }

    #hero_pulpitus {
        display: flex;
    }

    #hero_pulpitus img {
        width: 300px;
    }

    #hero_wrapper {
        flex-direction: row;
        justify-content: space-evenly;
        height: 300px;
        padding-top: 0;
                align-items: end;
    }

    #hero_text {
            padding-bottom: 100px;
            width: 300px;
    }

    h1{
        font-size: 2em;
    }
    h2{
        font-size: 1.7em;
    }
    
}

@media only screen and (min-width: 1024px) {
    footer {
        width: 70%;
    }

    #program_wrapper {
        width: 70%;
    }

    #hero_wrapper{
        justify-content: center;
        gap: 15vh;
    }


}