:root{

    --main-primary: #7ac7d1;
    --main-primary-dark: #426d72 ;
    --main-secondary:#f7941e;
    --main-background: #F5F5F5;
    --main-max-width:1366px;
    --main-font-family: 'Poppins','Roboto', sans-serif;
    --main-nav-font-size: 20px;
    --main-nav-mobile-font-size: 12px;
    --main-general-font-size: 16px;

}
*{
    margin: 0px;
    padding:0px;
}
html, body {
    width: 100%;
    height: 100%;
    font-family: var(--main-font-family);
    font-size: var(--main-general-font-size);
}

h1{
    font-family: var(--main-font-family);
    font-size: 28px;
}
a{
    color: var(--main-secondary);
    text-decoration:none;
}
a:focus,
a:hover{
    color: var(--main-primary);

    text-decoration: underline currentColor ;
}
footer a{
    color: var(--main-primary-dark);
}
footer a:hover{
    color: black;
}

.download_button{
    border: var(--main-primary-dark) solid 1px;
    border-radius: 12px;
    padding: 4px;
    margin:  4px auto;
    width: 120px;
    background-image: linear-gradient(to bottom, var(--main-primary) 0%, var(--main-primary-dark) 100%);
}
.download_button a{
    color: white;
}
.download_button a:hover{
    color: black;
}

article#main_content {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    background: var(--main-primary);
}

header {
    background: var(--main-background);
}

header .logo img{
    height: 5rem;
    padding: 10px 10px;
}
header input[type=image]{
    height: 3em;
    padding: 3em 0px 0px;

}
.right_side{
    text-align: right;
}

nav{

    height: 54px;

    margin-top: -1px;


}
header nav{
    background-image: linear-gradient(to bottom, var(--main-background) 0%, #CCCCCC 100%);
}

main {
    background: var(--main-background);;
    color: #444;
    max-width: var(--main-max-width);
    height: 100%;
    width: auto;
    width: -moz-available;          /* WebKit-based browsers will ignore this. */
    /* width: -webkit-fill-available;   Mozilla-based browsers will ignore this.
    width: fill-available;*/
    margin: auto;
    padding: 4rem 2rem 0rm;
}

footer {
    background: var(--main-secondary);
    padding: 1rem;
}
footer .social_icons{
    width: 50px;
    height: 50px;
    padding: 4px;
}
.fa-facebook{
    color:#1877f2;
}
.fa-twitter{
    color:#1d9bf0;
}


footer .flex_row{
    position: relative;
}
footer .copyright{
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
}
footer .copyright div{
    flex: 100% 1 1;
}
.flex_row{
    display: flex;
    max-width: var(--main-max-width);
    width: 100%;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.grid_row{
    display: grid;
}
.flex_row .flex_columns_2{
    flex: 50%;
}

.flex_row .flex_columns_8{
    flex: auto 1 1;
    max-width: 150px;
    flex-basis: 170.75px;
}
.flex_row .flex_columns_10{
    flex: auto 1 1;
    max-width: 165px;
    flex-basis: 220px;
}

.flex_row .flex_big{
    flex: 4 0 0;
}
.flex_row .flex_medium{
    flex: 3 0 0;
}
main .flex_row > section{
    margin: 10px 10px;
    padding: 2em;
}

nav .content{
    height: 45px;
    text-align: center;
    position: relative;


}
nav .content:hover{

}
nav .content a:hover{
    color: black;
    background:url(../images/layout/taborange.png) center no-repeat;

}
nav .content a {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: var(--main-nav-font-size);
    background: url(../images/layout/tabblue.png) center no-repeat;
}
nav .content a.current_page{
    color: black;
    background:url(../images/layout/taborange.png) center no-repeat;

}
@media (min-width: 601px) and (max-width: 900px) {
    .flex_row .flex_columns_8{
        flex-basis: auto;
    }
}
@media (max-width: 600px) {

    nav .content a,
    nav .content a.current_page,
    nav .content a:hover{
        background-image: none;
        font-size: var(--main-nav-mobile-font-size);
    }
    .flex_row .flex_columns_8{
        flex-basis: auto;
    }
    nav{
        height: 25px;
    }
    header .logo img{
        height: 4em;
    }
    footer{
        font-size: small;
        padding: 0.5em;
    }
    footer .social_icons{
        width: 25px;
        height: 25px;
    }

    main{
        padding: 3rem .5rem 0;
    }
    main .flex_row > section{
        margin: 10px 0;
    }
    .flex_row .flex_big{
        flex: 100%;
    }
    .flex_row .flex_medium{
        flex: 100%;
    }
}