@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');
:root {
    --bg-color: #f2ebdf;
    --fg-color: #450505;
    --accent-color:#6e0000;
    --dark-accent: #5d0b0b;
    --font-color: #a12222;
    --blue--accent: #110e45;
    --bg-section: #c4bbab;
    --cyan--accent: #33fff8;
}

body {
    font-family: "Cardo", serif;
    font-size: 1.5em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: var(--bg-color);
}

#header {
    font-family: "Cardo", serif;
    font-size: 1.5em;
    background-color: var(--dark-accent);
    color: var(--accent-color);
    height: 14vh;
    padding: 0;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 18% 65% 15%;
    grid-template-rows: 100%;
}


label {
    color: var(--font-color);
    font-size: 1.5em;
    margin: 0;
}

select {
    font-family: "Cardo", serif;
    font-size: 1.5em;
    background-color: var(--blue--accent);
    color: var(--bg-color);
    height: 100%;
    border-bottom: 8px solid #241f75;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 16px;
    text-align: center;
    display: flex;
}

option {
    color: var(--bg-color);
}

h1 {
    font-size: 2em;
    text-align: center;
    display: block;
    color: white;
    place-self: center;
}

#menu1 {
    color: var(--bg-color) !important;
}

#logo {
    width: 14vh;
    border-radius: 16px;
    margin-right: 1%;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html, body {
  height: 100%;
}

body {
  display: table;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);  /* Background color */
  color: #f2f2f2;  /* Text color */
  line-height: 1.6;
  position: relative;
  font-family: sans-serif;
}

.lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 90vw;
  display: flex;
  justify-content: space-between; /* Distribute lines evenly */
    z-index: -100;
}

.line {
  position: relative;
  width: 6px;
  height: 100%;
  /*background: #ffffff;  /* Line color */
  overflow: hidden;
}

.line::after {
    content: '';
    display: block;
    position: absolute;
    height: 15vh;
    width: 100%;
    top: -50%;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
    animation: drop 7s 0s infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

/* Different colors for each line's pseudo-element */
.line:nth-child(1)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 0.5s;
}

.line:nth-child(2)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 1s;
}

.line:nth-child(3)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 1.5s;
}

.line:nth-child(4)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 2s;
}

.line:nth-child(5)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 2.5s;
}

.line:nth-child(6)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 3s;
}

.line:nth-child(7)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 3.5s;
}

.line:nth-child(8)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 4s;
}

.line:nth-child(9)::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
    animation-delay: 4.5s;
}

.line:nth-child(10)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #000000 75%, #000000 100%);
  animation-delay: 5s;
}

@keyframes drop {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

p {
    font-family: "Cardo", serif;
    font-size: 1.8em;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    color: var(--font-color);
    text-align: center;
}

h2 {
    font-family: "Cardo", serif;
    font-size: 1.8em;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    color: var(--font-color);
    text-align: center;
}

#mainsection {
    margin-top: 4vh;
    height: fit-content;
}

.seperator {
    height: 12px;
    background-color: var(--dark-accent);
    width: 100%;
    overflow-x: hidden;
    margin-top: 1vh;
    margin-bottom: 1vh;
}


#articles {
    background-color: var(--bg-section);
    width: 100vw;
    overflow-x: hidden;
    min-height: 70%;
    height: fit-content;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: 45%;
    font-family: "Cardo", serif;
    font-size: 1.5em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    padding: 2vw;
}

.articlelink {
    width: 100%;
    height: 100%;
    background-color: var(--dark-accent);
    color: var(--bg-color);
    display: flex;
    border-radius: 16px;
}


.articlelink > img {
    width: 8vw;
    height: 8vw;
    place-self: center;
    margin-left: 5%;
}

.articlelink > a {
    margin-left: 5%;
}

a {
    font-size: 1.70em;
    text-align: center;
    color: var(--bg-color);
}

#latest {
    width: 100%;
    height: 100%;
    color: var(--bg-color);
    text-align: center;
    font-family: "Cardo", serif;
    font-size: 1.8em;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    place-self: center;
    margin-left: 19vw;
}

#mainpage {
    display: grid;
    grid-template-columns: 50% 49%;
    grid-template-rows: 100%;
    grid-row-gap: 1vw;
    grid-column-gap: 1vw;
}

.chunk {
    background-color: var(--dark-accent);
    place-content: center;
    display: block;
    width: 100%;
    border-radius: 16px;
}

.chunk > h2 {
    color: var(--bg-color) !important;
}

#aboutlogo {
    width: 15%;
    place-self: center;
    display: flex;
    margin: auto;
}

.whoarewe {
    background-color: var(--dark-accent);
}

.whoarewe > h2 {
    color: var(--bg-color) !important;
}

#whoarewelist {
    display: grid;
    background-color: var(--bg-section);
    grid-template-rows: 50% 50%;
    grid-template-columns: 30% 30% 30%;
    grid-column-gap: 1%;
    grid-row-gap: 1%;
    height: 30vh;
}

#articlesnew {
    width: 100%;
    overflow-x: hidden;
    min-height: 70%;
    height: fit-content;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: 45%;
    font-family: "Cardo", serif;
    font-size: 1.5em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    padding: 2vw;
}