html{
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(89, 165, 184);
    background-image: url(images/background.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow-y: auto;
    overflow-x: hidden;

  }

img {
    vertical-align: middle;
    height: auto;
    width: 100%;
    max-width: 50px;
    background-color: white;
    border-radius: 50%;
    object-fit: scale-down;
}

* {
    box-sizing: border-box;
  }
  a.active{
    font-size: 18px;
  }
  .wrapper{
    margin-top: 5px; 
    display: flex; 
    flex-direction: row; 
    max-height: 700px;
    overflow: hidden; 
}

  .left {
    background-color: rgb(13, 145, 168, .8); 
    float: left;
    padding: 15px 5px;
    width: 20%;
    color: white;
    font-weight: bold;
  }
  
  .main {
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    width: 55%;
    overflow-y: hidden;

  }

  .maincontent
  {
    background-color:rgb(13, 145, 168,.8); 
    padding: 15px;
    color: white;
    font-weight: bold;
    text-align: justify;
    width: 100%;
    height: 50%;
  }

  .right {
    background-color:rgb(13, 145, 168, .8); 
    padding: 15px 5px;
    float: left;
    width: 23%;
    color: white;
    font-weight: bold;
    font-size: 16px;
  }

  .advisories
  {
    margin:10px;

  }
  
  footer{
    width: 100%; 
    text-align: center;
    background-color:rgb(13, 145, 168); 
    border-top: solid 2px white;
    bottom: 0;
    text-align:center; 
    padding:10px;
    position: relative;
    color: white;
    float: left;
    z-index: 99;
 } 

.ctacontainer
{
  float: left;
  width: 20%;
}

.copyright{
  width:80%;
  position: absolute;
  text-align: right;
  float: left;
  bottom: 0;
  right: 0;
  padding-right: 20px;
}

  .cta h3{
    width: fit-content;
  }
  .cta{
    float: left;
    width: fit-content;
    padding-left: 10px;
  }

  .schoollogo{
    width: 100%;
    float: left;

  }
  
  @media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .wrapper{
      margin-top: 5px; 
      display: flex; 
      flex-direction: column; 
      max-height: 10000px; 
  }
    .left, .main, .right {
      width: 100%;
      margin-top: 10px;
      margin-left: 0;
    }

    .right{
      position: relative;
    }

    .schoollogo{
      width: 100%;
      float: left;

    }

    .cta{
      width: 100%;
      float: left;
    }

    .cta h3{
      font-size: .8em;
      width: 100%;
      float: left;
      margin-left: 10px;
    }

    .ctacontainer{
      float: left;
      width: 100%;

    }
    .copyright{
      float: left;
      width: 100%;
      font-size: .8em;
      padding: 0;
      text-align: center;
      position: relative;
      }
  }