/* VARIABLES */
:root {
    --navbar-bg: rgb(31, 31, 31);
    --hover-color: rgb(183, 234, 189);
    --border-link: rgb(134, 192, 134);
}

/* STANDART FORMATING */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
}

a{
    font-style: none;
}

p{
    font-family: 'Ysabeau Infant';
}

h1{
    font-family: 'Bebas Neue';
}



/* FONTS */
.headline_font{
    font-family: 'Bebas Neue';
    font-size: 45px;
}

.lit_font{
    font-family: 'Bebas Neue';
}


body {
    min-height: 100vh;
    background: url(images/paper_bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.flex_container {
    width: fit-content;
    display: flex;
}

.relative_container{
    position: relative;
    width: 100%;
    height: fit-content;
    align-items: center;
    display: flex;
}


.spacer_side {
    width: 20vw;
    height: auto;
    background-color: var(--navbar-bg);
}

.spacer {
    height: 100px;
}

#spacer_side_white{
    background: none;
}


/* HEADER WITH LOGO AND NAVBAR */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    padding: 0px 5% 0px 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo {
    width: 400px;
}

/* PARENT_UL IS VISIBLE NAVBAR IN HEADER */
header .parent_ul {
    list-style: none;
}

header .parent_ul li {
    position: relative;
    float: left;
}

header .parent_ul li a {
    font-style: none;
    font-size: 18px;
    padding: 25px;
    color: rgb(255, 255, 255);
    display: block;
}

header .parent_ul a:hover {
    background: var(--hover-color);
    color: var(--navbar-bg);
}



/* DROPDOWN NAV */

header .dropdown_ul {
    position: absolute;
    left: 0;
    display: none;
    width: fit-content;
    background: rgb(88, 88, 88);
    list-style: none;
}

header .dropdown_ul li {
    width: 100%;
    border-top: 1px solid rgb(31, 31, 31);
}

header .dropdown_ul li:hover {
    background: gray;
    width: 100%;
}

/* DROPDOWN APPEARS WHEN HOVER OVER LI */

header .parent_ul li:focus-within>ul,
header .parent_ul li:hover>ul {
    display: inherit;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: none;
}

/* RESPONSIVE ELEMENT */

@media(max-width:1500px) {

    header {
        padding: 20px;
    }

    header label {
        display: initial;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgb(31, 31, 31);
        border-top: 3px solid rgb(31, 31, 31);
        display: none;
    }

    header .parent_ul li {
        width: 100%;
    }

    header .dropdown_ul {
        position: relative;
        width: 100%;
    }

    header .dropdown_ul li {
        background: rgb(109, 109, 109);

    }

    #menu-bar:checked~.navbar {
        display: initial;
    }

}


/* HEADLINE AND HEADLINE IMAGE */

.headline {
    font-family: 'Bebas Neue';
    position: absolute;
    margin-top: 20vh;
    margin-left: 10vw;
    font-size: 10vw;
    color: var(--navbar-bg);
    text-shadow: 3px 3px 6px rgb(255, 255, 255);
}

.headline_div {
    height: auto;
    display: flex;
    font-family: 'Bebas Neue';
}

.headline_image {
    position: relative;
    width: 80vw;
    min-height: 35vh;
    margin-left: 20vw;
    margin-top: 50px;
    background: url(images/protect.jpg);
    background-size: cover;
}



/* LINE DIV */

.line_div {
    width: 100%;
    height: 2px;
    background-color: rgb(39, 39, 39);
}

/* TEXT */
.text_div {
    background-color: rgb(255, 255, 255);
    width: 80vw;
    text-align: justify;
}

.text_div p {
    width: 60vw;
    text-align: justify;
    margin: 10px 0px 50px 30px;

    font-size: 20px;
    font-family: 'Ysabeau Infant';

    line-height: 160%;
}



.text_div h1 {
    margin: 20px 0 10px 30px;
    text-transform: uppercase;
    color: rgb(39, 39, 39);
}

.text_div_no_hl p {
    width: 60vw;
    text-align: justify;
    margin: 30px 0px 30px 30px;

    font-size: 20px;
    font-family: 'Ysabeau Infant';

    line-height: 160%;
}

.text_div_no_hl {
    background-color: rgb(248, 248, 248);
    width: 80vw;
    line-height: 200%;
}

/* LITERATURE DIV */

.lit_div {
    background-color: var(--navbar-bg);
    width: 80vw;
}

.lit_div p {
    width: 60vw;
    text-align: justify;
    margin: 0 0 30px 30px;
    font-size: 20px;
    color: white;
}

.lit_div h1 {
    text-transform: uppercase;
    margin: 20px 0 10px 30px;
    color: white;
}

.lit_div a {
    font-style: none;
    color: rgb(217, 255, 255);
}

/* BUTTONS WITH TEXT APPEARING */

.dropdown_button {
    width: 220px;
    height: 70px;
    background-color:var(--navbar-bg);

    margin: 5px 5vw 0px 5vw;
    text-align: center;
    font-size: 25px;
    color: white;

    border: none;
    border-radius: 3px;
    font-family: 'Bebas Neue';
}

.dropdown_div{
    padding-bottom: 50px;
}

.dropdown_div button:hover{
    font-size: 24px;
}

.button_text_div{
    display: none;
    margin: 0px 5vw 5px 5vw;
        
    width: 45vw;
    padding: 30px;

    color: var(--navbar-bg);
    text-align: justify;

    background-color: rgb(247, 247, 247);

}

.a_headline{
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    color: var(--border-link);
    margin: 3px 0;
}
