/* CSS files add styling rules to your content */

body {
  font-family: Times New Roman;
  /*font-family: helvetica, arial, sans-serif;*/
  margin: 2.5em;
  margin-left: 3em;
  margin-right: 3em;
  line-height: 1.6;
  font-size: 12pt;
}

.header {
  font-family: Times New Roman;
  color: olivedrab;
  margin: 0;
  font-weight: normal;
  font-size: 22px;
  line-height: 2;
}

.header a,
.header a:active {
  color: olivedrab;
  text-decoration: none;
  margin: 0;
  padding: 0;
  transition: 0.8s;
}

.header a:hover {
  color: grey;
}

h2 {
  color: olivedrab;
  margin: 0;
  font-weight: normal;
  font-size: 20pt;
}

#main {
  width: 100%;
}

#nav {
  width: 150px;
  float: left;
}

#visualMain #nav {
  width: 120px;
  float: left;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

footer {
  font-size: 12pt;
}


#nav a, footer a {
  text-decoration: none;
  color: grey;
  transition: 0.8s;
}

#nav a:hover, footer a:hover {
  color: gainsboro;
  text-decoration: none;
  cursor: pointer;
}

#nav a:active {
  color: olivedrab;
}

#page {
  width: auto;
}

  .rainText {
    padding-left: 15px;
  }

/* stream grid */

#blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  align-items: flex-end;
  justify-content: flex-end;
}

#blocks p {
  color: olivedrab;
  transition: 0.8s;
}

.block {
  border: 0.5px solid olivedrab;
  height: 200px;
  position: relative;
}

.block .box {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.box {
  color: olivedrab;
  text-align: center;
}

#blocks a:hover p {
  color: grey;
}

/* ONE GRID */

#oneBlocks {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
  align-items: flex-end;
  justify-content: flex-end;
}

.oneBlock p {
  color: olivedrab;
  transition: 0.8s;
}

.oneBlock {
  min-height: 100px;
  position: relative;  
}

.oneBlock iframe
{
    border: 0.5px solid olivedrab;
}

.textOneBlock {
  border: 0;
  min-height: 100px;
  max-width: 500px;
  line-height: 1.6;
  position: relative;
  color: black;
}

.oneBlock .oneBox {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.oneBox {
  color: olivedrab;
  text-align: center;
}

#oneBlocks a:hover p {
  color: grey;
}

/* THREE GRID */

#threeBlocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px 0px;
  align-items: flex-end;
  justify-content: flex-end;
}

#threeBlocks p {
  color: olivedrab;
  transition: 0.8s;
}

#threeBlocks figure {
  width: 60%;
}

#threeBlocks img,
#threeBlocks video {
  width: 100%;
}

#threeBlocks figcaption {
  color: grey;
  font-size: 10pt;
  text-align: center;
  padding: 0px;
  padding-top: 10px;
  margin: 0px;
}

.threeBlock {
  min-height: 250px;
  position: relative;
}

.threeBlock .threeBox {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.threeBox {
  color: olivedrab;
  text-align: center;
}

#threeBlocks a:hover p {
  color: grey;
}

/* other screens */

@media (min-width: 1900px) {
  body {
    font-family: Times New Roman;
    /*font-family: helvetica, arial, sans-serif;*/
    margin: 2.5em;
    margin-left: 3em;
    margin-right: 3em;
    line-height: 1.6;
    font-size: 15pt;
  }

  #nav {
    width: 170px;
    float: left;
  }
  
  #visualMain #nav {
    width: 190px;
  }

  .header {
    font-size: 25px;
  }

  #blocks {
    grid-template-columns: repeat(8, 1fr);
  }

  .block {
    height: 200px;
  }

  #threeBlocks {
    grid-template-columns: repeat(4, 1fr);
    gap: 70px 10px;
  }

  .threeBlock {
    min-height: 300px;
    width: 70%;
  }

  #threeBlocks figure {
    width: 70%;
  }
}

@media (max-width: 800px) {
  #main {
    width: 100%;
  }

  #nav,
  #visualMain #nav {
    width: 80px;
    float: left;
  }

  #page {
    width: auto;
    padding-top: 15px;
  }
  
  .rainText {
    padding-left: 0px;
  }

  #blocks,
  #threeBlocks {
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
  }

  #threeBlocks figure {
    width: 70%;
  }

  #nav,
  #visualMain #nav {
    margin-bottom: 60px;
    float: none;
    width: 100%;
  }

  li {
    float: left;
    padding-right: 15px;
  }

  li a {
    display: block;
  }
}

@media only screen and (max-device-width: 566px) {
  #main {
    width: 100%;
  }

  #nav,
  #visualMain #nav {
    width: 100px;
    float: left;
  }

  #page {
    width: auto;

  }

  #blocks,
  #threeBlocks {
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
  }

  #threeBlocks figure {
    width: 70%;
  }

  .block {
    height: 100px;
  }

  #nav,
  #visualMain #nav {
    padding-bottom: 15px;
    float: none;
    width: 100%;
  }
  
    .rainText {
    padding-left: 0px;
  }

  li {
    float: left;
    padding-right: 15px;
  }

  li a {
    display: block;
  }
}









