/*
Main CSS for cyberboyltu.tech
© CyberBoyLTU 2021 all rights reserved
*/

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}
body div{
    width: calc(100% - 20px);
    margin: 10px;
    float: left;
}

p{
    padding: 0 10px;
    color: black;
}
h1, h2, h3 {
    color: #023fd8;
    padding: 0 10px;
}

header{
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    border-bottom: solid #023fd8 0.1px;
    z-index: 100;
}
header h2 {
    padding: 0 9px;
    color: #023fd8;
}
header img{
    height: 65px;
    display: block;
    float: left;
}
header div{
    height: 65px;
    width: 100%;
    display: block;
    margin: 0;
    position: fixed;
    top: 0;
    background-color: #ffffff;
}
header button{
    height: 65px;
    float: right;
    display: block;
    border: 0;
    background-color: #ffffff;
    color: #023fd8;
    font-size: 18px;
    cursor: pointer;
    border-bottom: solid white 4px;
}
header button:hover {
    border-bottom: solid #023fd8 4px;
}
header button.selected {
    font-weight: bold;
}
header .CyberMenu {
    width: auto;
    display: block;
}
header .CyberMenuSelected {
    width: auto;
    display: block;
    font-weight: bold;
}
header .CyberMenuLogo {
    display: none;
    cursor: pointer;
}

footer {
    width: 100%;
    background-color: #0270d8;
    color: white;
    display: inline-flex;
}
footer p {
    margin: 9px;
    color: white;
    text-align: right;
}
footer a {
    color: white;
    font-size: 16px;
    text-align: left;
    margin: 20px;
}
footer a:link {
  text-decoration: none;
}
footer a:visited {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer a:active {
  text-decoration: underline;
}

.Columns2 {
    float: left;
    width: calc(50% - 40px);
}

.SocialMediaImage {
    float: left;
    width: 25%;
    max-width: 100px;
    margin: 10px 20px;
    cursor: pointer;
}

.MainPostImg {
    width: 40%;
    float: left;
}
.MainPostImg img {
    width: 100%;
    float: left;
    cursor: pointer;
}

.MainPostText {
    width: calc(60% - 40px);
    min-width: 40%;
    float: left;
    text-align: left;
}
.MainPostTextRightSide {
    margin: 10px;
    text-align: right;
}

.PrivacyPolicy {
    position: fixed;
    width: calc(100% - 40px);
    margin: 20px;
    background-color: #0270d8;
    border: 3px solid #023fd8;
    bottom: 0;
}
.PrivacyPolicy h3, .PrivacyPolicy p, .PrivacyPolicy a {
    color: white;
}
.PrivacyPolicy button {
    float: right;
    border: 0;
    padding: 10px;
    margin: 6px;
    background-color: #023fd8;
    color: white;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    border: 4px solid #023fd8;
    border-radius: 20px;
}
.PrivacyPolicy button:hover {
    background-color: #0270d8;
}

.citation {
    width: calc(100% - 40px);
    margin: 20px;
}
.citation p{
    color: black;
    font-size: 18px;
    font-weight: bold;
    float: left;
}

.SDGs-Grid {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
}
.SDGs {
    display: inline-grid;
}
.SDGs div{
    margin: 10px;
}
.SGDsIMG {
    grid-row: 2;
    width: 120px;
    float: left;
    align-self: center;
}
.SGDsIMG img {
    width: 100%;
    float: left;

}
.SGDsText{
    grid-row: 2;
    width: 100%;
    float: left;
    text-align: left;
}

/* Settings for small screens */
@media only screen and (max-width: 800px) {
    p {
        text-align: justify;
    }
    
    header .CyberMenu, header .CyberMenuSelected {
        width: 100%;
        display: none;
    }
    header .CyberMenuLogo {
        display: block;
        cursor: pointer;
    }

    .Columns2 {
        float: left;
        width: calc(100% - 20px);
    }

    .SocialMediaImage {
        float: right;
        margin-left: 0;
        margin: 20px 10px;
    }

    footer p {
        text-align: left;
    }

    .MainPostImg {
        width: calc(100% - 20px);
    }
    .MainPostText {
        width: calc(100% - 20px);
    }

    .citation {
        width: 100%;
        margin: 0px;
    }

    .SDGs-Grid {
        grid-template-columns: 100%;
        margin: 10px;
    }
    .SGDsIMG, .SGDsText {
        grid-row: 1;
    }
    .SDGs div{
        margin: 0px;
    }
}

/* Settings for medium screens */
@media only screen and (min-width: 800px) and (max-width: 1200px) {
    .SDGs-Grid {
        grid-template-columns: 50% 50%;
    }
}