/* Font Styling */
body {
  margin: 0;
  color: #f2e3d1;
  background-color: #00264f;
  font-family: 'Source Code Pro', monospace;
  width: 100vw;
}

h1 {
  margin: 0;
  font-weight: 300;
}

h2 {
  margin: 0;
  font-weight: 400;
}

h3 {
  margin: 0;
  text-align: right;
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: .9rem;
  padding: 1vh 0;
}

p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
}

a {
  text-decoration: none;
}

footer {
  text-align: right;
}

.head-article p {
  font-weight: 200;
  padding: 1.5vh 0;
  line-height: 1.5;
}

.head-article h4 {
  text-decoration: none;
  color: #c1b3c2;
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
}

/* Navbar */
.navbar {
  height: 5vh;
  background-color: #00264f;
  padding: 2vh 5vw;
  display: flex;
  align-items: center;
}

.brand-logo {
  color: white;
  padding: 0 1.5vw 0 0;
}

.brand-1 {
  color: #c1b3c2;
}

.brand-2 {
  color: #c93c85;
}

.hidden-logo {
  display: none;
  color: white;
}

.navbar-link-1 {
  color: #c1b3c2;
  display: none;
}

.navbar-link-2 {
  color: #c93c85;
  display: none;
}

.navbar-link-3 {
  color: #c1b3c2;
  display: none;
}

.navbar-link-4 {
  color: #c93c85;
  display: none;
}

.brand-logo:hover, .hidden-logo:hover {
  color: #c93c85;
  transition: 1s;
}

/* Article Wrapper */
.article-wrapper {
  display: grid;
  padding: 5vw 5vw;
  gap: 5vw;
}

/* Hashtag & Envelope Icons */
.fa-hashtag, .fa-envelope {
  color: #c1b3c2;
}

.fa-hashtag:hover, .fa-envelope:hover {
  color: #c93c85;
}

/* Head Article */
.head-article {
  padding: 5vw 5vw;
  display: flex;
  flex-direction: column;
}

.read-more {
  display: inline-block;
}

.hidden-content {
  display: none;
}

.main-image {
  max-width: 80vw;
}

/* Remaining Articles */
.article {
  padding: 5vw 5vw;
}

.article-image {
  max-width: 80vw;
}

/* Pseudo-Borders */
.top-left-corner-border, .top-right-corner-border, .bottom-left-corner-border .bottom-right-corner-border {
  position: relative;
}

/* Top Left Corner Border */
/* Vertical Line */
.top-left-corner-border:after {
  content: '';
  position: absolute;
  background-color: #c1b3c2;
  width: 4px;
  height: 60%;
  top: -5vw;
  left: -5vw;
}

/* Horizontal Line */
.top-left-corner-border:before {
  content: '';
  position: absolute;
  background-color: #c1b3c2;
  width: 20%;
  height: 4px;
  top: -5vw;
  left: -5vw;
}

/* Top Right Corner Border */
/* Vertical Line */
.top-right-corner-border:after {
  content: '';
  position: absolute;
  background-color: #c93c85;
  width: 4px;
  height: 60%;
  top: -5vw;
  right: -5vw;
}

/* Horizontal Line */
.top-right-corner-border:before {
  content: '';
  position: absolute;
  background-color: #c93c85;
  width: 20%;
  height: 4px;
  top: -5vw;
  right: -5vw;
}

/* Bottom Right Corner Border */
/* Vertical Line */
.bottom-right-corner-border:after {
  content: '';
  position: absolute;
  background-color: #c93c85;
  width: 4px;
  height: 50%;
  bottom: -5vw;
  right: -5vw;
}

/* Horizontal Line */
.bottom-right-corner-border:before {
  content: '';
  position: absolute;
  background-color: #c93c85;
  width: 20%;
  height: 4px;
  bottom: -5vw;
  right: -5vw;
}

/* Bottom Left Corner Border */
/* Vertical Line */
.bottom-left-corner-border:after {
  content: '';
  position: absolute;
  background-color: #c1b3c2;
  width: 4px;
  height: 50%;
  bottom: -5vw;
  left: -5vw;
}

/* Horizontal Line */
.bottom-left-corner-border:before {
  content: '';
  position: absolute;
  background-color: #c1b3c2;
  width: 20%;
  height: 4px;
  bottom: -5vw;
  left: -5vw;
}

/* Media Queries */
/* Media Query Tablet */
@media (min-width: 668px) and (max-width: 1024px) {

  /* Navbar */
  .navbar {
    justify-content: space-around;
  }

  .brand-logo, .brand-1, .brand-2, .hidden-link {
    display: none;
  }

  .hidden-logo, .navbar-link-1, .navbar-link-2, .navbar-link-3, .navbar-link-4 {
    display: inline-flex;
  }

  .navbar-link-1, .navbar-link-2, .navbar-link-3, .navbar-link-4 {
    font-size: .9rem;
  }

  /* Article Wrapper */
  .article-wrapper {
    grid-template-columns: 1fr 1fr;
    padding: 5vw;
    gap: 2.5vw;
  }

  /* Head Article */
  .head-article {
    grid-column: 1 / span 2;
    padding: 2.5vw 2.5vw;
    flex-direction: column;
    max-width: 85vw;
  }

  .head-content-2 {
    padding: 1vw 1vw;
  }

  .head-content-2 footer {
    position: relative;
    margin-top: auto;
  }

  .main-image {
    max-width: 55vw;
    object-fit: cover;
    padding: 0 1vw 0 0;
  }

  .head-content {
    display: flex;
    flex-direction: row;
  }

  .head-content-2 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .head-article footer {
    align-self: flex-end;
  }

  .read-more {
    display: none;
  }

  .hidden-content {
    display: inline-block;
    font-size: 1rem;
  }

  /* Remaining Articles */
  .article {
    padding: 2.5vw 2.5vw;
    grid-column: span 1;
    max-width: 38.75vw;
  }

  .article-image {
    max-width: 38.75vw;
  }

  /* Top Left Corner Border */
  /* Vertical Line */
  .top-left-corner-border:after {
    top: -2.5vw;
    left: -2.5vw;
  }

  /* Horizontal Line */
  .top-left-corner-border:before {
    top: -2.5vw;
    left: -2.5vw;
  }

  /* Top Right Corner Border */
  /* Vertical Line */
  .top-right-corner-border:after {
    top: -2.5vw;
    right: -2.5vw;
  }

  /* Horizontal Line */
  .top-right-corner-border:before {
    top: -2.5vw;
    right: -2.5vw;
  }

  /* Bottom Right Corner Border */
  /* Vertical Line */
  .bottom-right-corner-border:after {
    bottom: -2.5vw;
    right: -2.5vw;
  }

  /* Horizontal Line */
  .bottom-right-corner-border:before {
    bottom: -2.5vw;
    right: -2.5vw;
  }

  /* Bottom Left Corner Border */
  /* Vertical Line */
  .bottom-left-corner-border:after {
    bottom: -2.5vw;
    left: -2.5vw;
  }

  /* Horizontal Line */
  .bottom-left-corner-border:before {
    bottom: -2.5vw;
    left: -2.5vw;
  }
}

/* Media Query Desktop */
@media (min-width: 1025px) {

  /* Navbar */
  .brand-logo {
    padding: 0 1vw 0 0;
  }

  .navbar-link-1, .navbar-link-2, .navbar-link-3, .navbar-link-4 {
    display: inline-flex;
    margin-left: auto;
    transition: 3s;
    font-size: .9rem;
  }

  .article-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2.5vw;
    gap: 2.5vw;
  }

  .navbar-link-1:hover, .navbar-link-2:hover, .navbar-link-3:hover, .navbar-link-4:hover {
    opacity: 0.05;
  }

  /* Head Article */
  .head-content {
    display: flex;
    flex-direction: row;
  }

  .head-content-2 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1vw 1vw;
  }

  .head-content-2 footer {
    position: relative;
    margin-top: auto;
  }

  .head-article {
    grid-column: 1 / span 3;
    max-width: 90vw;
    padding: 2.5vw;
  }

  .main-image {
    max-width: 55vw;
    object-fit: cover;
  }

  .read-more {
    display: none;
  }

  .hidden-content {
    display: inline-block;
    font-size: 1.1rem;
  }

  .head-article h2 {
    font-size: 2rem;
  }

  /* Remaining Articles */
  .article {
    grid-column: span 1;
    max-width: 25vw;
    padding: 2.5vw;
  }

  .article-image {
    max-width: 25vw;
  }

  /* Article Hover Effects */
  article:hover .article-image, article:hover .main-image {
    transition: 7s;
    opacity: 0.05;
  }

  article:hover .hidden-content, article:hover h2, article:hover h3, article:hover h4, article:hover footer {
    transition: 3s;
    opacity: 0.05;
  }

  /* Top Left Corner Border */
  /* Vertical Line */
  .top-left-corner-border:after {
    top: -2.5vw;
    left: -2.5vw;
  }

  /* Horizontal Line */
  .top-left-corner-border:before {
    top: -2.5vw;
    left: -2.5vw;
  }

  /* Top Right Corner Border */
  /* Vertical Line */
  .top-right-corner-border:after {
    top: -2.5vw;
    right: -2.5vw;
  }

  /* Horizontal Line */
  .top-right-corner-border:before {
    top: -2.5vw;
    right: -2.5vw;
  }

  /* Bottom Right Corner Border */
  /* Vertical Line */
  .bottom-right-corner-border:after {
    bottom: -2.5vw;
    right: -2.5vw;
  }

  /* Horizontal Line */
  .bottom-right-corner-border:before {
    bottom: -2.5vw;
    right: -2.5vw;
  }

  /* Bottom Left Corner Border */
  /* Vertical Line */
  .bottom-left-corner-border:after {
    bottom: -2.5vw;
    left: -2.5vw;
  }

  /* Horizontal Line */
  .bottom-left-corner-border:before {
    bottom: -2.5vw;
    left: -2.5vw;
  }
}
