* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

iframe{
    width: 100%;
    min-height: 600px;
}

@media screen and (width < 600px) {
    iframe{
        min-height: 200px;
    }
}


/* News Styles */
.news {
    width: 90%;
    max-width: 1000px;

    margin: auto;
    margin-top: 10rem;

    display: flex;
    flex-direction: column;
}

.news h1 {
    width: 80%;
    margin: auto;
    font-size: 2rem;
}

.news span {
    width: 80%;
    margin: auto;
    padding: 1rem 0;
}

.news img {
    margin: 2rem 0;
    border: #000000 solid .12rem;
}

.news p {
    width: 90%;
    margin: auto;
    padding: 1rem 0;
    
    text-align: justify;
    font-size: 1.2rem;
    line-height: 2rem;
}

@media screen and (width < 600px) {
    .news {
        width: 100%;
    }

    .news h1 {
        width: 90%;
        font-size: 1.5rem;
    }

    .news span {
        width: 90%;
    }

    .news img {
        width: 100%;
    }

    .news p {
        width: 90%;
        font-size: 1rem;
    }
}


/* Gallery Styles */
.gallery {
    width: 90%;
    margin: auto;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;

    border-top: #c9c9c9 .1rem solid;
    padding-top: 2rem;
}

.gallery>a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: #000000 solid .12rem;
    transition: transform .3s;
}

.gallery>a:hover>img{
    opacity: .8;
}

.gallery .wide {
	grid-column: span 2;
}

.gallery .tall {
	grid-row: span 2;
}

.gallery .big {
	grid-column: span 2;
	grid-row: span 2;
}

@media screen and (width < 600px) {

    .gallery .wide {
        grid-column: initial;
    }

    .gallery .tall {
        grid-row: initial;
    }

    .gallery .big {
        grid-column: initial;
        grid-row: initial;
    }
}


.text {
    width: 90%;
    margin: auto;
    margin-top: 2rem;
    font-size: 2rem;
    border-top: #c9c9c9 .1rem solid;
    padding-top: 2rem;
}

/* News Grid Styles */
.grid-wrapper {
    width: 90%;

    margin: auto;
    margin-top: 3rem;

    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-flow: dense;
}

.grid-wrapper>a {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.grid-wrapper>a>img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
}

.grid-wrapper>a:hover>img {
    opacity: .8;
}

.grid-wrapper>a>.heading {
    width: 100%;
    bottom: 0;
    left: 0;
    transition: opacity .3s;
}

.grid-wrapper>a:hover>.heading>p {
    text-decoration: underline;
    color: #0077ff;
}

.grid-wrapper>a p {
    color: #000;
    padding: .2rem 0;
}

.grid-wrapper>a p.date {
    padding-bottom: 1rem;
}

.grid-wrapper>a p.date {
    opacity: .6;
}

.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;

    flex-direction: row;
}

@media screen and (width < 600px) {

    .grid-wrapper .wide {
        grid-column: initial;
    }

    .grid-wrapper .tall {
        grid-row: initial;
    }

    .grid-wrapper .big {
        grid-column: initial;
        grid-row: initial;
    }
}