html{
    background: #31353A;
    color: #DDD32F;
    background-color: #31353A;
    font-size: 1.4em;
    background-image: url("backGP.png");
    line-height: 150%;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Barlow', sans-serif;
}

header{
    background: #1779D5;
    margin-top: none;
    margin-bottom: none;
    height: 100%;
    text-align: center;
}

header img{
    margin: 0;
    padding: 5px 0 2px 0;
    width: 45%;
}

ul{
    list-style-type: none;
}

nav {
    /*float: right;*/
    width: 100%;
    text-align: center;
    display: flex;
    text-shadow: -1px 1px #31353A;
}

nav a {
    float: left;
    text-decoration: none;
    width: 16.66%;
    font-size: 1.6vw;
    font-weight: bold;
    padding: 3px 0;
    transition: 0.35s;
}

nav a:hover {
    background-color: #3BA99C;
    border-radius: 12px 12px 0 0;
}

#current{
    background-color:#31353A;
    background-image: url("backGP.png");
    border-radius: 12px 12px 0 0;
}

#overlay{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: rgba(49,53,58,0.8);
    cursor: pointer;
}

#bigPic{
    position: absolute;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#heroPic {
    padding: 2% 0 0 0;
}

#heroPic2 {
    padding: 2% 0 3% 0;
}

a {
    color: #DDD32F;
    text-decoration: none;
    transition: 0.35s;
}

#col1 a, #col2 a, #col3 a, #oneCol a, footer a{
    text-decoration: underline;
}

#col1 a:hover, #col2 a:hover, #col3 a:hover, #oneCol a:hover, footer a:hover{
    color: #3BA99C;
    text-decoration: underline;
    cursor: pointer;
}

#col1{
    float: left;
    width: 27.7%;
    margin-left: 0.9%;
    border: 2px solid #1779D5;
    border-radius: 10px;
    padding: 1.5% 2%;
    background: rgba(0,0,0,0.25);
}

#col2{
    float: left;
    width: 27.7%;
    margin-left: 0.9%;
    margin-right: 0.9%;
    border: 2px solid #1779D5;
    border-radius: 10px;
    padding: 1.5% 2%;
    background: rgba(0,0,0,0.25);
}

#col3{
    float: left;
    width: 27.7%;
    margin-right: 0.9%;
    border: 2px solid #1779D5;
    border-radius: 10px;
    padding: 1.5% 2%;
    background: rgba(0,0,0,0.25);
}

#oneCol{
    float: none;
    width: 91.8%;
    border: 2px solid #1779D5;
    border-radius: 10px;
    padding: 1.5% 3%;
    margin-left: 1%;
    background: rgba(0,0,0,0.25);
}

b{
    color: #3BA99C;
    font-style: italic;
}

#l{
    float: left;
    width: 47%;
    margin-left: 2%;
    margin-top: 2%; 
    border-radius: 10px;
}

#r{
    float: left;
    width: 47%;
    margin-left: 2%;
    margin-top: 2%;
    border-radius: 10px;
}

.header{
    font-size: 2em;
}

.instr{
    font-size: 2em;
    text-align: center;
}

.downLink{
    font-size: 1.3em;
    padding-left: 5%;
    text-decoration: underline;
}

.downLink a:hover{
    color: #3BA99C;
    text-decoration: underline;
    cursor: pointer;
}

footer{
    clear: left;
    display: block;
    width: 100%;
    background: #1779D5;
    padding: 1.5% 5% 5%;
    font-size: 0.8em;
    line-height: normal;
}

#leftFoot {
    float: left;
    width: 28%;
    padding: 0 5.5%;
}

#midFoot {
    float: left;
    width: 27%;
    padding: 0;
}

#rightFoot {
    float: none;
    width: 25%;
    /*padding: 0 12.5%;*/
}

#leftFoot ul {
    margin: 0;
    padding: 0;
}

/*Start mobile design at 1660px width*/
@media screen and (max-width: 890px){
    html{
        background: #31353A;
        color: #DDD32F;
        font-size: 1em;
    }
    
    header img{
        width: 70%;
        padding 10px 0;
    }
    
    nav {
        width: 100%;
        text-align: center;
    }

    nav a{
        float: left;
        text-decoration: none;
        width: 16.66%;
        font-size: 2.6vw;
        font-weight: bold;
        padding: 3px 0;
    }
    
    #col1, #col2, #col3 {
        float: none;
        width: 88.7%;
        border: 2px solid #1779D5;
        border-radius: 10px;
        padding: 2.5% 4%;
        margin-left: 1.5%;
    }

    #bigPic {
        height: auto;
        width: 100%;
    }
    
    footer {
        padding: 1% 3% 8%;
    }
    
    #leftFoot, #rightFoot {
        width: 20%;
        font-size: 0.9em;
    }
    
    #midFoot{
        width: 24%;
        font-size: 0.9em;
    }
    
    #leftFoot br, #midFoot br, #rightFoot br{
        line-height: 0.5em;
    }
}