/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

@font-face {
    font-family: 'Glacial';
    src: url('../glacial-webfont.woff2') format('woff2'),
         url('../glacial-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Spartan";
    src: url("../spartan.ttf");
}

@font-face {
    font-family: 'Joliet';
    src: url('../joliet-regular-webfont.woff2') format('woff2'),
         url('../joliet-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lovelo';
    src: url('../lovelo-webfont.woff2') format('woff2'),
         url('../lovelo-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    cursor: pointer;
}

a:active {
    text-decoration: none;
}

header {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: auto;
    height: 60px;
    margin-left: 5px;
    background: white;
}

.topnav {
    display: flex;
}

.topnav a {
    font-family: 'Joliet', sans-serif;
    color: #f5f5f5;
    font-size: 20px;
    margin: 20px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ft_article {
    margin: 25px 0 15px 0;
    display: flex;
    justify-content: space-between;
    width: 68vw;
    height: 305.188px;
}

.ft_article_cont {
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category {
    display: flex;
    align-items: center;
}

.subject a {
    color: #000000;
    font-family: 'Glacial';
    font-size: 16px;
    margin-right: 5px;
}

.seperator {
    height: 18px;
    border: 1px solid #000000;
}

.issue a {
    color: #000000;
    font-family: 'Glacial', sans-serif;
    font-size: 16px;
    margin-left: 5px;
}

.title_ft {
    font-size: 4vw;
    font-family: 'Joliet', sans-serif;
    font-weight: 650;
    margin: 2vh 0 1vh 0;
}

.desc_ft {
    line-height: 100%;
    font-size: 20px;
    font-weight: 100;
    width: 25vw;
    max-width: 25vw;
    font-family: 'Glacial', sans-serif;
}

.read_article::after {
    content: ' →';
}

.read_article {
    font-size: 16px;
    color: #000000;
    font-family: 'Glacial', sans-serif;
    font-weight: 550;
}

#read_ft_article {
    margin: 5px 0 5px 0;
}

.writer {
    color: #000000;
    font-family: 'Glacial', sans-serif;
    font-size: 16px;
}

.writer_name {
    font-size: 16px;
    font-family: 'Lovelo', sans-serif;
    color: #000000;
}

.cover_img {
    border-radius: 10px;
    width: auto;
    height: 100%;
}

.horizontal_hr {
    border-style: none;
    border-top: 1px solid #000000;
    width: 69vw;
}

.more_content {
    width: 68vw;
    display: grid;
    grid-template-columns: 3fr auto 1fr;
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.articles {
    height: fit-content;
    margin-top: 15px;
    grid-area: 1 / 1 / 2 / 2;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 1vw;
    grid-row-gap: 2vh;
    margin-right: 0.59vw;
}

.article {
    width: 300px;
    max-width: 300px;
    height: 416.34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article_img {
    border-radius: 5px;
    width: 300px;
    max-width: 100%;
    height: 150.359px;
    object-fit: cover;
}

#category_article {
    margin: 8px 0 8px 0;
}

.article_title{
    margin-bottom: 10px;
    font-family: 'Joliet', sans-serif;
    letter-spacing: 2px;
    font-weight: 650;
    line-height: 100%;
}

.article_desc {
    font-family: 'Glacial', sans-serif;
    line-height: 115%;
}

.vert_seperator {
    grid-area: 1 / 2 / 2 / 3;
    height: 93.6vh;
    width: 1px;
    background-color: #000000;
}

.sidebar {
    margin: 15px 0 0 1vw;
    display: grid;
    grid-template-columns: 16vw;
    grid-template-rows: 1fr 2fr;
    grid-column-gap: 0px;
    grid-row-gap: 2vh;
}

.crossword {
    padding: 10px;
    width: inherit;
    background-color: #FAFF00;
    height: auto;
    border-radius: 5px;
    border: 1px solid #000000;
    border-bottom: 9px solid #000000;
    grid-area: 1 / 1 / 2 / 2;
}

#crossword {
    font-weight: bold;
}

.crossword_cont {
    display: flex;
    height: fit-content;
    align-items: center;
    margin: 10px 0 10px 0;
}

.crossword_title {
    width: auto;
    font-size: 30px;
    margin-left: 15px;
    font-weight: bold;
    font-family: 'Joliet', sans-serif;
    line-height: 110%;
}

.crossword_author {
    font-size: 22px;
    font-family: 'Glacial', sans-serif;
    line-height: 100%;
    margin-bottom: 5px;
}

.crossword_lead {
    font-size: 17px;
    font-family: 'Glacial', sans-serif;
    line-height: 100%;
    margin-bottom: 10px;
}

.crossword_btn {
    font-family: 'Glacial', sans-serif;
    width: 100%;
    text-align: center;
    height: 40px;
    background-color: white;
    border-radius: 100px;
    font-size: 15px;
    text-align: center;
}

.honor_container {
    background-color: beige;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgb(39, 39, 2);
    grid-area: 2 / 1 / 3 / 2;
}

.honor_img {
    height: 8vw;
    width: 8vw;
    border-radius: 10px;
}

.honor_img_left {
    grid-area: 1 / 1 / 2 / 2;
}

.honor_title {
    font-family: 'Glacial', sans-serif;
    font-weight: bold;
    font-size: 1.5vw;
}

.honor_title_left {
    grid-area: 2 / 1 / 3 / 3;
}

.honor_desc {
    font-family: 'Glacial', sans-serif;
    font-size: 0.8vw;
    margin-top: -5px;
}

.honor_desc_left {
    grid-area: 3 / 1 / 4 / 3;
}

.honor_socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    padding-left: 10px;
}

.honor_socials_left {
    grid-area: 1 / 2 / 2 / 3;
    justify-content: left;
}

.honor_socials a {
    margin: 2px;
}

.honor_socials a svg {
    height: 2vw;
    width: auto;
    margin-right: 10px;
}

.honor_socials_container_left {
    width: 100%;
    display: flex;
    justify-content: left;
}

.honor_left {
    display: grid;
    grid-template-columns: 8vw auto;
    grid-template-rows: 8vw repeat(2, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.honor_right {
    margin-top: 7rem;
    text-align: right;
    display: grid;
    grid-template-columns: auto 8vw;
    grid-template-rows: 8vw repeat(2, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.honor_img_right {
    grid-area: 1 / 2 / 2 / 3;
}

.honor_socials_right {
    grid-area: 1 / 1 / 2 / 2;
    justify-content: right;
}

.honor_title_right {
    grid-area: 2 / 1 / 3 / 3;
}

.honor_desc_right {
    grid-area: 3 / 1 / 4 / 3;
}

.honor_socials_container_right {
    width: 100%;
    display: flex;
    justify-content: right;
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70vh;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url(../homepage/newsletter.png);
}

.socials a {
    color: #ffffff;
}

.email {
    cursor: pointer;
    text-decoration: underline;
    color: #ffffff;
    background-color: transparent;
    border: none;
}

.popup {
    position: absolute;
    text-decoration: none !important;
    color: #000000;
    background-color: #ffffff;
    padding: 7px;
    border-radius: 5px;
    filter: drop-shadow(0 0 4px #00000085);
    transform: translateY(-2.5rem) translateX(-10.6rem);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
    animation-duration: 0.2s;
    animation-fill-mode: both;
}

.popup-show {
    animation-name: show;
}

.popup-stay {
    animation-name: stay;
}

.popup-gone {
    animation-name: gone;
}

@keyframes show {
    from {opacity: 0;}
    to {opacity: 100;}
}

@keyframes stay {
    from {opacity: 100;}
    to {opacity: 100;}
}

@keyframes gone {
    from {opacity: 100;}
    to {opacity: 0;}
}