@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

html {
    font-size: 16px;
}
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.topnav {
    display: flex;
    justify-content: space-between; 
    background-color: #333;
    align-items: center;
}

.topnav a {
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-right p {
    margin: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 50px;
    padding-right: 16px;
    text-decoration: none;
    color: #f2f2f2;
    flex-shrink: 1; 
    text-align: justify;
}

.donut-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #44A5BE;
    border-radius: 50%;
    min-width: 40px;
    min-height: 40px;
}
.ring-cutout {
    width: 90%;
    height: 90%;
    background-color: white;
    position: absolute;
    top: 2px;
    right: 2px;
    border-radius: 50%;
    pointer-events: none
}
.arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    top: 45%;
    right: 12%;
    border-width: 2.5px 0 2.5px 30px;
    border-color: transparent transparent transparent black;
    box-sizing: content-box;  

}
.arrow-short {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    top: 46.5%;
    right: 18%;
    border-width: 2px 0 2px 25px;
    border-color: transparent transparent transparent black;
}
.pointing-N {
    transform: rotate(90deg);
}
.pointing-NW {
    transform: rotate(45deg);
}
.pointing-W {
    transform: rotate(0);
}
.pointing-SW {
    transform: rotate(-45deg);
}

.image-hover-highlight {
    -webkit-transition: all 0.50s;
    transition: all 0.50s;
    border: 2px solid transparent;
    &:hover {
        border: 2px solid gray;
        filter: brightness(130%);
        -webkit-filter: brightness(130%);
        -moz-filter: brightness(130%);
        -o-filter: brightness(130%);
        -ms-filter: brightness(130%);
        -webkit-transition: all 0.50s;
        transition: all 0.50s;
    }
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

h1 {
    font-size: 2rem;
    margin-top: 0.5rem;
}

p {
    font-size: 1.2rem;
    text-align: justify;
}
a {
    font-size: 1.2rem;
}

.btn {
    font-size: 1.2rem;
}

.intro-text {
    padding-left:1rem;
    padding-right: 1rem;
}

.container-fluid {
    padding-left:0;
    padding-right: 0m;
}

/* Massonry */
.masonry-container {
    column-gap: 16px; /* Space between columns */
}

.grid-item {
    display: flex;
    justify-content: center; /* Centers the image horizontally */
    align-items: center; /* Centers the image vertically */
    height: auto; /* Optional: You can set a fixed height if desired */
    margin-bottom: 16px; /* Gap between items */
}

  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 1;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-title {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    color: #333;
}

.modal-backdrop {
    z-index: 1040;
}
  
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 1rem;
    border: 1px solid #888;
    width: 100%;
    border-bottom: 1px solid #dee2e6;
}

.modal-description {
    border-top: 1px solid #dee2e6;
    text-align: justify;
    margin-top: 1rem;
    padding-top: 0.75rem;
}

  
/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {  
    h1 {font-size:2rem;} /*1rem = 16px*/
    h2 {font-size:1.9rem;}
    p {font-size: 1.4rem;}
    a {font-size: 1.4rem;}
    .btn {font-size: 1.4rem;}
    .modal-dialog {max-width: 85%;}
    .masonry-container {column-count: 1;}
  }
   
  /* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
  @media (min-width: 768px) {  
    h1 {font-size:2rem;} /*1rem = 16px*/
    h2 {font-size:1.9rem;}
    p {font-size: 1.4rem;}
    a {font-size: 1.4rem;}
    .btn {font-size: 1.4rem;}
    .modal-dialog {max-width: 80%;}
    .masonry-container {column-count: 2;}
  }
   
  /* Large devices (desktops, 992px and up) */
  @media (min-width: 992px) { 
    h1 {font-size:3rem;} /*1rem = 16px*/
    h2 {font-size:2.75rem;}
    p {font-size: 1.7rem;}
    a {font-size: 1.7rem;}
    .btn {font-size: 1.7rem;}
    .modal-dialog {max-width: 75%;}
    .masonry-container {column-count: 3;}
  }
   
  /* Extra large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {  
    h1 {font-size:3rem;} /*1rem = 16px*/
    h2 {font-size:2.75rem;}
    p {font-size: 1.7rem;}  
    a {font-size: 1.7rem;}
    .btn {font-size: 1.7rem;}
    .modal-dialog {max-width: 60%;}
    .masonry-container {column-count: 4;}
  }
   
  /*
  ::::::::::::::::::::::::::::::::::::::::::::::::::::
  Custom media queries
  */
   
  /* Set width to make card deck cards 100% width */
  @media (min-width: 950px) and (max-width:1100px) { 
    h1 {font-size:3.5rem;} 
    h2 {font-size:2.75rem;}
    p {font-size: 2.4rem;}
    a {font-size: 2.4rem;}
    .modal-dialog {max-width: 75%;}
    .btn {font-size: 2.4rem;}
  }