body { 
    font-family: 'Barlow', sans-serif;
    width: 100%;
    padding: 0;
}
body, html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;   
    overflow-x: clip;
}


#banner {
    background: url('../img/banner.jpg');
    background-position: center;
    background-size: cover;
    height: 15vmax; width: 101vmax;
    position: relative; left: -2vmax; top: -1vmin;
    overflow: hidden !important; 
  }
  
  @media (min-width: 480px) {
      #background { height: 200px; }
  }
  
  @media (min-width: 768px) {
      #background { height: 150px; }
  }
  
  @media (min-width: 992px) {
      #background { height: 100px; }
  }

/* Intro CSS */

@media screen and (min-width: 600px) {
.intro-container {
    display: grid;
    grid-template-columns: auto auto;
    /*background-color: #2196F3; */
    width: 98%;
    padding: 1%;
    gap: 0.5%;
    height: 30vh;
  }

  .post-container {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    /* background-color: #2196F3; */
    width: 98%;
    /*padding: 1%; */
    gap: 0.5%;
    overflow: visible !important;
    padding-left: 1vmax;
  }

  .post-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    text-align: center;
    width: inherit;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: 90vh;
}
.intro-video {
    position: relative;
    top: 10vh;
    width: 100% !important;
    height: 80%;
    padding: 2vw;
}
}

@media screen and (max-width: 600px) {
    .intro-container {
        display: grid;
        grid-template-columns: auto;
        /*background-color: #2196F3; */
        width: 98%;
        gap: 0.5%;
      }
    
    .intro-video {
        display: none;
    }

    .post-container {
        display: inline-grid;
        grid-template-columns: auto;
        /* background-color: #2196F3; */
        width: 98%;
        /*padding: 1%; */
        gap: 0.5%;
        overflow: visible !important;
        padding-left: 1vmax;
      }

    .post-item {
        background-color: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.8);
        text-align: center;
        width: inherit;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        height: auto;
        width: 80%;
    }
    
}

.intro-item {
    display: block;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    width: inherit;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.intro-txt {
    padding: 20vh 0;
}

.intro-video {
    position: relative;
    top: 10vh;
}

/* Posts CSS */

.lat-vid, .lat-art {
    text-transform: capitalize;
    text-align: center;
}

.view-it {
    border-radius: 4px;
    background-color: purple;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 1em;
}

.view-it:hover {
    font-size: 20px;
    transition: 0.3s;
}


.post-item:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.49);
}

.lat-art-link {
    text-decoration: none;
    color: black;
}

/* Blog Head */

.blog-head {
    width: 100%;
}

/* FOOTER CRAP */

.footer {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    /*background-color: #2196F3; */
    width: 100%;
    position: absolute;
    left:0;
  }
  
.footer-item {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    width: inherit;
}

.footer-item-1 {
    background-color: rgba(40, 102, 110, 0.5);
    transition: 1s;
}

.footer-item-1:hover {
    background-color: rgba(40, 102, 110, 1);
    transition: 1s;
}

.footer-item-2 {
    background-color: rgba(53, 20, 49, 0.5);
    transition: 1s;
}

.footer-item-2:hover {
    background-color: rgba(53, 20, 49, 1);
    color:white;
    transition: 1s;
}

.footer-item-3 {
    background-color: rgba(40, 102, 110, 0.5);
    transition: 1s;
}

.footer-item-3:hover {
    background-color: rgba(40, 102, 110, 1);
    transition: 1s;
}

/* Stuff for posts */


/* Acdemic Page */

@keyframes appear {
    0% { opacity: 0;}
    100% {opacity: 1;}
}

.block {
    background-color: #A5E6BA;
    margin: 2vh 1vw;
    padding: 0.1vh 0.8vw;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.intro {
    margin: 2vh 1vw;
    padding: 0.1vh 0.5vw;
    display: block;
    overflow: visible;
}  

.hidden{
    display: none;
}

@media screen and (max-width: 600px) {
    .iframe-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 115%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    }
    
    /* Then style the iframe to fit in the container div with full height and width */
    .responsive-iframe {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
}
@media screen and (min-width: 600px) {
    .iframe-container { 
        width:405px;
        height:348;
    }
    .responsive-iframe {
        width:405px;
        height:348;
    }
}

.pr-table {
    width: 100%;
    font-size: 3vh;
}

#mapid { height: 50vh; z-index: 0; }

figure {
    display: inline-block;
    text-align: center;
    margin: 1vh; /* adjust as needed */
  }
  figure img {
    vertical-align: top;
    width: 100%;
  }

@media screen and (max-width: 600px) {
    .posts-grid {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 100%;
        gap: 5%;
        padding-bottom: 35vmin;
        /*background-color: yellowgreen;*/
      }

      #next, #previous {
          display: none;
      }
}
@media screen and (min-width: 600px) {
    .posts-grid {
        display: grid;
        grid-template-rows: auto auto auto;
        grid-template-columns: 30% 30% 30%;
        gap: 5%;
        padding-bottom: 10vmin;
        /*background-color: rebeccapurple;*/
      }
}