@font-face { font-family: Outfit; src: url(../fonts/Outfit-VariableFont_wght.ttf); } 
html, body{
    margin: 0;
    padding: 0; 
    user-select: none;
    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;

    -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;}
}
.padding{
    width: 100%;
    height: 6vh;
}
.main-article{
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: 0% 50%;
    display: flex;
    align-items: center;
    box-shadow: 45vw -1px 102px 0px rgba(0,0,0,0.75) inset;
}
.main-article-title{
    overflow-wrap:normal;
    word-break: keep-all;
    width: 50%;
    font-size: 3vw;
    font-family: inherit;
    font-weight: bold;
    color: white;
    padding: 1vw;
    padding-left: 2vw;
    text-shadow: 2px 2px 8px black;
    transition: font-size 0.5s, width 0.5s;
}
.main-article-subtitle{
    overflow-wrap:normal;
    word-break: keep-all;
    width: 50%;
    font-size: 2vw;
    font-family: inherit;
    font-weight: bold;
    color: white;
    padding: 1vw;
    padding-left: 2vw;
    text-shadow: 2px 2px 8px black;
}
.article-grid{
    display: grid;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
    margin-top: 2.5vw;
    column-gap: 1.665vw;
    grid-template-columns: repeat(3, 1fr);        
    row-gap: 10vh;
}
.column{
    flex-direction: column;
}
.secondary-article{
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100%, 100%;
    background-position-x: center;
    background-position-y: 20%;
    width: 30vw;
    height: 30vh;
    display: flex;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 2vw;
    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;*/
}
.secondary-article-text{
    width: 30vw;
    display: flex;
    box-sizing: border-box;
    justify-content: left;
    padding-top: 1vw;
    padding-left: 1vw;
    font-size: 2vw;
    font-family: inherit;
    font-weight: bold;
    color: rgb(0, 0, 0);
    transition: background-size 0.5s ease;
}
.secondary-article-desc{
    width: 30vw;
    display: flex;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    justify-content: left;
    padding-top: 0.5vw;
    padding-left: 1vw;
    font-size: 1vw;
    font-family: inherit;
    font-weight: normal;
    color: black;
    transition: background-size 0.5s ease;
}
/*.secondary-article-container:hover + .secondary-article {
    transition: all 1.5s linear;
    transition: background-size 0.5s ease;
}*/
.banner{
    width: 100%;
    margin-top: 10vh;
    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) {
    .secondary-article:hover{
        background-size: 110%, 110%;
        transition: all 0.5s ease;
    }
    @media (max-aspect-ratio: 16/10) {
        .secondary-article{
            background-size: 140%, 140%;
        }
        .secondary-article:hover{
            background-size: 150%, 150%;
        }
      }
    }  */
@media only screen and (orientation: portrait) {
    .article-grid{
        display: grid;
        margin-left: 2.5vw;
        margin-right: 2.5vw;
        margin-top: 2.5vw;
        column-gap: 1.665vw;
        grid-template-columns: repeat(1, 1fr);        
        row-gap: 2vh;
    }
    .header-text{
        margin-left: 2vw;
        font-size: 4vh;
    }
    .main-article-title{
        width: 65%;
        font-size: 5vh;
        padding-left: 2vw;
    }
    .main-article-subtitle{
        width: 70%;
        font-size: 2.5vh;
        padding-left: 2vw;
    }
    .column{
        width: 100%;
    }
    .secondary-article{
        width: 100%;
        padding: 2vw;
        padding-bottom: 2vh;
        background-color: rgb(245, 241, 240);
        background-size: cover;
    }
    .secondary-article-text{
        width: 100%;
        padding-bottom: 1vh;
        padding-left: 2vw;
        padding-top: 1vh;
        font-size: 3vh;
        background-size: cover;
        background-color: rgb(245, 241, 240);
    }
    .secondary-article-desc{
        width: 100%;
        padding-left: 2vw;
        padding-bottom: 1vh;
        font-size: 2.2vh;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        background-size: cover;
        background-color: rgb(245, 241, 240);
    }
    .banner{
        margin-top: 2vh;
        font-size: 1em;
    }
}
@media only screen and (orientation: portrait) and  (max-width: 250px) {
    .main-article-title{
        font-size: 4.25vh;
    }
    .secondary-article{
        margin-bottom: 4vh;
        font-size: 2.75vh;
    }
}
