@font-face { font-family: Outfit; src: url(../fonts/Outfit-VariableFont_wght.ttf); } 
html, body{
    margin: 0;
    padding: 0; 
    background-color: rgb(238, 235, 234);
    font-family: Outfit;
}
a {text-decoration: none; }
.header{
    position: fixed;
    top: 0;
    width: 100%;
    height: 6vh;
    background-color: #00EB3C;
    background-image: url('pattern.png');
    background-repeat: repeat;
    background-size: 500px 500px;
    display: flex;
    align-items: center;

    z-index: 9999;
    -webkit-animation: backgroundAnimation 30s linear 0s normal none infinite;
    -moz-animation: backgroundAnimation 30s linear 0s normal none infinite;
    -o-animation: backgroundAnimation 30s linear 0s normal none infinite;
    animation: backgroundAnimation 30s linear 0s normal none infinite;
}
.header-text{
    margin-left: 1vw;
    font-size: 5vh;
    font-weight: bolder;
    font-family: Outfit;
    color: black;
}
@-webkit-keyframes backgroundAnimation {
	from {background-position:0 0;}
	to {background-position: 500px 0;}
}
@-moz-keyframes backgroundAnimation {
	from {background-position:0 0;}
	to {background-position: 500px 0;}
}
@-o-keyframes backgroundAnimation {
	from {background-position:0 0;}
	to {background-position: 500px 0;}
}
@keyframes backgroundAnimation {
	from {background-position:0 0;}
	to {background-position: 500px 0;}
}
.flex-container{
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    flex: 1;
}
.article-container{
    width: 70%;
}
.links-container{
    width: 20%;
}
.column{
    flex-direction: column;
}
.column-title{
    text-align: center;
    font-weight: bold;
    font-size: 1.5vw;
    padding-top: 3vh;
    padding-bottom: 3vh;
}
.square{
    width: 100%;
    height: 40vh;
    background-color: lightgray;
}
.secondary-article{
    background-size: 100%, 100%;
    background-position-x: center;
    background-position-y: 20%;
    width: 100%;
    height: 20vh;
    margin-bottom: 10vh;
    display: flex;
    border-radius: 10px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 1vw;
    font-size: 1.5vw;
    font-family: inherit;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px black, 2px 2px 8px black, 2px 2px 8px black;
    transition: background-size 0.5s ease;
}
.padding{
    width: 100%;
    height: 10vh;
}
.padding-small{
    width: 100%;
    height: 5vh;
}
.article-image{
    display: block;
    margin-top: 4vh;
    margin-bottom: 0vh;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    height: 60vh;
    object-fit: cover;
}
.main-article{
    width: 100%;
    height: 70vh;
    background-image: url(background.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    box-shadow: 45vw -1px 102px 0px rgba(0,0,0,0.75) inset;
}
.article-title{
    text-align: center;
    font-size: 2.4em;
    font-family: inherit;
    font-weight: bolder;
}
.article-paragraph-grid{
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
}
.article-paragraph{
    width: 65%;
    font-size: 1.8em;
    font-family: inherit;
    font-weight: normal;
    white-space: pre-line;
    text-align: justify;
    text-justify: inter-character;
}
p{
    margin: 0 !important;
    font-size: 0.8em;
    font-weight: normal;
}
.banner{
    width: 100%;
    height: 10vh;
    background-image: url('pattern.png');
    background-repeat: repeat;
    /*background: linear-gradient(45deg, #00EBDB, #00EB3C);*/
    background-size: 500px 500px;
    display: flex;
    align-items: center;
    justify-content: center;

    -webkit-animation: backgroundAnimation 30s linear 0s normal none infinite;
    -moz-animation: backgroundAnimation 30s linear 0s normal none infinite;
    -o-animation: backgroundAnimation 30s linear 0s normal none infinite;
    animation: backgroundAnimation 30s linear 0s normal none infinite;
    color: black;
    font-family: inherit;
    display: flex;
    text-align: center;
    font-weight: bolder;
    user-select: none;
    font-size: 1.3em;
}
@media only screen and (orientation: landscape) {
    .article-title{
        position: relative;
        left: 25%;
        width: 50%;
    }
}
@media only screen and (orientation: portrait) {
    .flex-container{
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        flex: 1;
    }
    .article-container{
        width: 100%;
    }
    .links-container{
        padding-left: 10vw;
        width: 80vw;
    }
    .column{
        flex-direction: column;
    }
    .header-text{
        margin-left: 2vw;
        font-size: 4vh;
    }
    .main-article-title{
        width: 60%;
        font-size: 6vh;
        padding-left: 2vw;
    }
    .article-image{
        width: 100%;
        height: 40vh;
        object-fit: cover;
    }
    .article-title{
        margin-left: 10%;
        margin-right: 10%;
        width: 80%;
        font-size: 1.8em;
    }
    .article-paragraph{
        width: 80%;
        font-size: 1.6em;
        text-align: left;
        text-justify: none;
    }
    .main-article-subtitle{
        width: 70%;
        font-size: 2.5vh;
        padding-left: 2vw;
    }
    .column{
        width: 100%;
    }
    .column-title{
        font-size: 3vh;
    }
    .article-grid{
        width: 90vw;
        padding: 5vw;
        padding-top: 2vh;
    }
    .secondary-article{
        width: 100%;
        margin-bottom: 2vh;
        padding: 2vw;
        font-size: 3vh;
        text-overflow: ellipsis;
    }
    .banner{
        font-size: 1em;
    }
}
@media only screen and (orientation: portrait) and  (max-width: 300px) {
    .article-title{
        font-size: 1.6em;
    }
}
