/* Base Styles */
html {
  font-size: 16px;
}

title {
  display: none;
}

#page-container {
  position: relative;
  min-height: 100vh;
}

.clickable-heading{
  cursor: pointer;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333; /* Default text color */
    background-color: #f4f4f4; /* Default background */
  }

.body h1 {
  font-size: 2rem;
}

.body h2 {
  font-size: 1.5rem;
}

.body h3 {
  font-size: 1.3em;
}

#content {
  padding-bottom: 1px;
}

.background-content {
  z-index: 1;
  position:relative;
}

/* Modal Styles */

.modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(176, 176, 176, 0.05);
    }

.modalx {
    display: none;
    z-index: 1;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: auto;
    background-color: rgba(176, 176, 176, 0.95);
  }

  .modal h1{
    text-align: center;
    color:black;
    font-size: 2em;
  }

  .modal h2{
    color:black;
    font-size: 1.5em;
  }


  .modal-content {
    background-color: rgba(176, 176, 176, 0.95);
    border-radius: 0.3em;
    margin-top: 18% auto; /* 15% from the top and centered */
    width: 30%;
    padding: 20px;
    border: 3px solid #03292b;
    position: relative;
    top: 40px;
  }

  /* Top Navbar */
  .top-navbar {
    background-color: #e9ecef;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 10px;
    padding-left: 30px;
    padding-bottom: 10px;
    padding-right: 30px;
    height: fit-content;
  }
  
  .top-navbar .logo-title {
    display: flex;
    align-items: center;
    width: 20%;
  }
  
  .top-navbar .logo-title img {
    margin-right: 10px;
    width: 8rem;
  }
  
  .top-navbar .headers {
    width: 60%;
  }

  .top-navbar h1 {
    text-align:center;
    font-size: 5rem;
    font-weight: 200;
    margin-top: 1.5rem;
    margin-bottom: 0.0rem;
    padding-bottom: 0.3rem;
  }

  .top-navbar h2 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 200;
    margin-top:0;
  }

  .top-navbar .buttons {
    width: 20%;
    display: flex;
  }
  
  .top-navbar .buttons button {
    margin-left: 10px;
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #007bff;
    cursor: pointer;
  }
  
  .top-navbar .buttons button:first-child {
    background-color: #007bff;
    color: white;
  }
  
  .top-navbar .buttons button:last-child {
    background-color: transparent;
    color: #007bff;
  }



  .modal-title {
    text-align: center;
  } 

  a {
    color: #007bff; /* Default link color */
    text-decoration: none;
  }
  

  a:hover {
    text-decoration: underline;
  }
  
  
  /* Second Navbar (Dropdowns) */
  .second-navbar {

    background-color: #d1d1d1;
    background-color: #02394a;
    color: white;
    padding: 10px 20px;
    display:  flex;
    justify-content: flex-end;


  }
  
  .second-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .second-navbar li {
    position: relative;
  }
  
  .second-navbar a {
    color: white;
    display: block;
    padding: 8px 15px;
    font-size: larger;
  }
  
  .second-navbar .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 4;
  }
  
  .second-navbar .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .second-navbar li:hover .dropdown-content {
    display: block;
  }

#footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 100px;
}

.footer-navbar {

    background-color: #d1d1d1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-left: 30px;
    padding-bottom: 10px;
    padding-right: 30px;
    height: 6.25rem;
  }

.footer-navbar .ident {
  width:25%;
  font-size: 2vw;
  overflow: hidden;
}

.footer-navbar .tfi {
  width:25%;
  font-size: 1.2rem;
}

.footer-navbar .links {
  width:25%;
  font-size: 1.2rem;
}

.textasset {
  color:#333;
  text-align: left;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  padding-bottom: 7rem;
}
  
.textasset h1 {
  text-align: center;
   font-size: 2rem;
   font-weight: 600;
   margin-top:1rem;
}

.tacontainer {
  color:#333;
  width: 95%;
  margin-left: 2.5%;
  margin-right: 2.5%;
  padding-bottom: 1rem;
  text-align:left;
}

.cookie-bar {
  background-color: black;
  color: white;
  position: fixed;
  bottom:0.625rem;
  left:0;
  width:90%;
  height: auto;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 1%;
  padding-bottom: 1%;
  z-index: 3;
}

.cookie-bar .cookie-bar-text {
  padding-top: 0.5rem;
  padding-bottom:0.5rem;
}

.cookie-bar .cb-container{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.cookie-bar button {
  background-color: white;
  color: black;
  margin-left: 0.625rem;
  padding: 0.5rem 0.9375rem;
  border-radius: 0.125rem;
  border: 0.0625rem solid #070707;
  cursor: pointer;
}


@media screen and (max-width: 576px) {
    .modal-content {
      width: 95%;
      margin: 5% auto;
    }
    
    .cookie-bar {
      font-size: x-large;
    }
    .cookie-bar .cb-container{
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      flex-wrap: wrap;
    }
    .cookie-bar button {
      font-size: x-large;
      background-color: white;
      color: black;
      width: 90%;
      align-self: center;
      margin-top: 2rem;
      /*margin-left: 0.625rem;*/
      margin-right: 0.625rem;
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
      border-radius: 0.125rem;
      border: 0.0625rem solid #070707;
      cursor: pointer;
    }
    .cookie-bar .cookie-policy-link {
      align-self: center;
      margin-top: 2rem;
    }

    .textasset {
      color:#333;
      text-align: left;
      width: 95%;
      margin-left: 2.5%;
      margin-right: 2.5%;
      padding-bottom: 7rem;
    }
      
    .textasset h1 {
      text-align: center;
      font-size: 2rem;
      font-weight: 600;
      margin-top:1rem;
    }


  }

  @media screen and (min-width: 577px) and (max-width: 992px){
    .modal-content {
      width: 70%;
      margin: 12% auto;
    }

    .cookie-bar {
      font-size: x-large;
    }
    .cookie-bar .cb-container{
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      flex-wrap: wrap;
    }
    .cookie-bar button {
      font-size: x-large;
      background-color: white;
      color: black;
      width: 90%;
      align-self: center;
      margin-top: 2rem;
      /*margin-left: 0.625rem;*/
      margin-right: 0.625rem;
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
      border-radius: 0.125rem;
      border: 0.0625rem solid #070707;
      cursor: pointer;
    }
    .cookie-bar .cookie-policy-link {
      align-self: center;
      margin-top: 2rem;
    }

  }

  @media screen and (min-width: 993px) and (max-width: 1400px) {
    .modal-content {
      width: 60%;
      margin: 15% auto;
    }
  }


  @media screen and (min-width: 1401px) {
    .modal-content {
      width: 50%;
      margin: 18% auto;
    }
  }
