/*CSS-Pete*/


body {
  background-color: gold;
}
      .grid-container {
        display: grid;
        grid-template-columns: auto auto auto;
        background-color:#2196F3;
        padding: 10px;
      }
      .grid-item {
        background-color: rgba(255, 255, 255, 0.65);
        text-align: center;
      }

   

.fill{
  height: 3.7rem;
  width: auto;
}

#icon-1 {
  height: auto;
  width: 45%;
}
.time {
	font-size: .75em;
    color: blue;
 font-weight: bold;
  width: calc(100%);
  height: auto;
  display: flex;
  flex-wrap: wrap;
  place-content: center;
}

.txt-1{
  font-size: .95em;
}


@media (min-width: 500px) {
  .hidden {
    display: none !important;
  }
}

/* ============================================
          Iframe code for calendar 
===============================================*/
.iframe-container {
    /* Start completely collapsed and hidden */
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden; 
    
    margin-left: auto; 
    margin-right: auto;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 0 solid #ccc;
    border-bottom: 0 solid #ccc;
    width: 520px;
    background-color: #f9f9f9;
    
    /* Smooth opacity fade managed cleanly by a 1.5s transition */
    transition: opacity 1500ms ease, visibility 1500ms ease;
}

/* PHASE 1: Expand physical footprint instantly in background so we can scroll into it smoothly */
.iframe-container.layout-expanded {
    max-height: 700px; 
    padding-top: 5px;
    padding-bottom: 10px;
    margin-top: 10px;
    border-top-width: 1px;
    border-bottom-width: 1px;
}

/* PHASE 2: Trigger the slow fade in */
.iframe-container.fade-in {
    opacity: 1;
    visibility: visible;
}

h1 {
  /* Minimum: 2rem, Preferred: 5vw (5% of window width), Maximum: 4rem */
  font-size: clamp(2rem, 5vw, 4rem); 
}

/* Style for the show div */
#show {
    height:15px;
    width:100%;
}
 
/* Style for the show button */
#showBtn {
    display: block;
    width: 50%;                 
    margin:auto;
    color: red;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/* Style for the close button */
.close-btn {
    display: block;
    text-align: right;
    margin-bottom: 5px;
    margin-right: 5px;
    color: red;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    font-size: .80em; /* 1 * 16 = 16px */
}
#closeBtnBottom {
    display: block;
    text-align: bottom;
    margin-bottom: 5px;
    color: red;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/* Iframe card code*/
.calendar-card {
    width: 100%;
    max-width: 750px;
    margin: 10px auto;
    border: 2px solid #2c3e50;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
}

/* The viewport window where the third-party site loads */
.iframe-viewport {
    width: 100%;
    height: 585px; 
    display: block;
}

