:root{
    --white: #f9f9f9;
    --header_background: #D0D0D0;
    --header_fontcolor: black;
    --grey: #85888C;
    --header-flag-height: 20px;
    --header-flag-width: 30px;
    --header-flag-padding-top: 5px;
}


/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 1600px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}


/* Header */
.header{
    background-color: var(--header_background);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: sticky;
    text-decoration: none;
    top: 0;
    width: 100%;
}

.header_flag {
    height: var(--header-flag-height);
    width: var(--header-flag-width);
    padding-top: var(--header-flag-padding-top)  ;
    }

.ua_flag {
    height: var(--header-flag-height);
    width: var(--header-flag-width)  ;
    padding-top: var(--header-flag-padding-top)  ;
    margin-left: 20px;
}

.header_arrow {
    max-height: 10px;
    width: 20px;
    margin-bottom: 5px;
}


/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--header_background);
    overflow: hidden;
}

.menu a{
    display: block;
    padding: 30px;
    text-decoration: none;
    color: var(--header_fontcolor);
    font-size: 24px;
}

.flag_subst  {
 min-height: 100;
 font-size: 60px;
}

.selected_menu_item {
    background-color: #ADD8E6;

}

.menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 10px 10px;
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

.language_switch{
        vertical-align: top;
        margin-bottom: 140px;
        margin-left: 20px;
        color: var(--header_fontcolor);
}




/*==================================================*/

.main_text {
    margin: 30px;
    padding: 0;
    color: #000000;
    box-sizing: border-box;
    background-color:rgb(252, 251, 249);
}


.donor_name {
    margin: 0;
    margin-right: 20px;
    margin-left: 40px;
    padding: 0;
    line-height: 1.2;
    font-size: 22px;
    font-weight: 500;
    max-width: 320px;
    width: 100%;
}

.donor_photo {
  height: 100%;
  width: 80%;
  padding-top: 100px;
}

.donor_photo  img{
    width: 300px;
}



.normal_text {
    width: 80%;
    line-height: 34px;
    font-size: 24px;
    font-weight: normal;
    margin: 0 auto 30px;
    padding: 0;
}

.normal_h1 {
    margin: 0 auto 30px;
    width: 80%;
}

.normal_h2 {
    margin: 0 auto 30px;
    width: 80%;
}



.accent {
    font-size: xx-large;
    text-decoration: none;
}
.accent:hover {
    opacity: 0.6;
    cursor: pointer;
}
.link {
    text-decoration: none;

}
.link:hover {
    opacity: 0.6;
    cursor: pointer;
}


.donate_form {
    display: flex;
    justify-content: center;
    margin: 30px auto;
}

.donation_link {
    max-width: 300px;
    min-width: 300px;
    padding: 15px;
    font-size:22px;
    line-height: 25px;
    text-align: center;
    background-color: rgb(51, 71, 88);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 700;
}

.donation_link:hover {
    opacity: 0.8;
    cursor: pointer;
}
.home {
    color: black;
    width: 30px;
    height: 30px;
    margin-right: 60px;
}
.donations {
    margin: 30px auto;
    max-width: 600px;
    padding: 0;
    text-align: center;
}


.contact {
    max-width: 500px;
    margin: 30px auto;
    text-align: center;

}

.contact-text {
    font-size: x-large;
}

.sponsors {

    justify-content: center;
    flex-wrap: wrap;
    margin: 90px auto;
    list-style: none;
    padding: 0;
    /* padding-left: 160px; */
    max-width: 1100px;
    width: 100%;

}

.sponsor {
    font-size: 25px;
    line-height: 30px;
    font-weight: 500;
}

.left_column {
    margin: 20px;

}

.label_poll {
    position: relative;
    left: 20px;
}

.poll_input {
    position: relative;
    left: 20px;
}

.poll_vote_button {
    font-size: xx-large;
    text-align: center;
    bottom: 20px;
}

/* desktop */
@media (min-width: 768px) {
    :root {
        --header-flag-height: 60px;
        --header-flag-width: 90px;
    }

    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);

    }

    .hamb{
        display: none;
    }

    .language_switch{
        float:right;
        /*margin-bottom: 40px;*/
        margin-right: 20px;
        color: var(--header_fontcolor);
    }

    .two-columns {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        margin: 0 auto;
    }

    .left_column {
        margin: 0;
        margin-right: 20px;
        padding: 0;
        line-height: 1.2;
        font-size: 22px;
        font-weight: 500;
        color: #074da8;
        max-width: 175px;
        width: 100%;
    }

    .right_column {
        width: 70%;
        line-height: 34px;
        font-size: 24px;
        font-weight: normal;
        margin: 0 auto 30px;
        padding: 0;
    }

    .right_column_thin {
        width: 50%;
        line-height: 34px;
        font-size: 24px;
        font-weight: normal;
        margin: 0 auto 30px;
        padding: 0;
    }
    .header_arrow {
        width: 100px;
        margin-bottom: 20px;
        max-height:  20px;
    }

}

