@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&display=swap');

/* Background animation */

.bg-animation {
	background: linear-gradient(-45deg,#c2dfff, #57a3d7, #5a57d7);
	background-size: 40000% 40000%;
	animation: gradient 25s ease infinite;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Global */

html {
    font-size: 20px;
    line-height: 1.5;
}

@media only screen and (min-width: 1900px) {
    html {
        font-size: 25px;
    }
}

body {
    overflow-x: hidden;
    color: #231f20;
    background: #c2dfff;
    font-family: Georgia, serif;
    min-width: 320px;
}

@media print {
    body {
        color: #000;
        background: #fff;
    }
}

a {
    color: inherit;
    text-decoration: underline;
    -webkit-text-decoration-skip: auto;
    text-decoration-skip: auto;
    -webkit-text-decoration-color: rgba(46,44,9,.5);
    text-decoration-color: rgba(46,44,9,.5);
}

a:active, a:focus, a:hover {
    color:#57a3d7;
    -webkit-text-decoration-color: #57a3d7;
    text-decoration-color: #57a3d7;
}

@media print {
    a {
        color: #000;
    }
}

.container {
    max-width: 1100px;
    position: relative;
    padding-top: .5rem;
    padding-bottom: 0;
    width: auto;
    margin: 0 auto;
}

@media screen and (min-width: 813px) {
    .container {
        margin-left: .5rem;
        margin-right: .5rem;
    }
}

@media only screen and (min-width: 1100px) {
    .container {
        margin: 1rem auto;
    }
}

@media only screen and (min-width: 1900px) {
    .container {
        max-width: 1375px;
    }
}

/* Header logo */

.logo {
    margin: .1rem 0 .5rem;
    text-align: center;
}

@media screen and (min-width: 1100px) {
    .logo {
        margin: 0 0 1.4rem 0;
    }
}

@media screen and (max-width: 1100px) {
    .logo {
        margin: 0 0 1rem 0;
    }
}

@media print {
    .logo {
        display: none;
    }
}

.logo-svg {
    display: inline-block;
    margin-bottom: .5rem;
    padding: .4rem .35rem .3rem .35rem;
    line-height: 1;
}

.logo-symbol {
    width: 5rem;
    height: 4.4rem;
}

.logo-title {
    width: 100%;
    height: 1.8rem;
    margin-top: .5rem;
    position: relative;
}
  
.logo-title > div {
    font-size: 1.2rem;
    font-family: 'Bitter', serif;
    color: #231f20;
    opacity: 0;
    height: 2rem;
}

@media screen and (max-width: 460px) {
    .logo-title > div {
        font-size: 1rem;
    }
}

.logo-title > div:nth-child(1) {
    animation: fade 12s infinite;
}

.logo-title > div:nth-child(2){
    animation: fade 12s infinite;
    animation-delay: 4s;
}

.logo-title > div:nth-child(3) {
    animation: fade 12s infinite;
    animation-delay: 8s;
  }

@keyframes fade {
    0% {opacity: 0; height: auto;}
    16% {opacity: 1;}
    33% {opacity: 0; height: 0px;}
    100% {opacity: 0; height: 0px;}
}

/* Navigation */

.nav {
    margin-bottom: 1.5rem;
}

@media print {
    .nav {
        display: none;
    }
}

.nav-list{
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nav-itm {
    text-align: center;
    margin: 0 .2rem 0 0;
    padding: 0;
}

.nav-itm:last-child {
    margin-right: 0;
}

.nav-lnk{
    display: block;
    font-weight: 400;
    padding: .5rem 1.25rem;
    border-radius: 4px 4px 0 0;
    border: 1px solid #004d66;
    border-bottom: 0;
    margin-bottom: -1px;
    transition: .15s;
    text-decoration: none;
}

@media only screen and (max-width: 1100px){
    .nav-lnk {
        font-size: 1rem;
        padding: .3rem .9rem;
    }
}

@media only screen and (max-width: 1000px){
    .nav-lnk {
        font-size: 1rem;
        padding: .23rem .8rem;
    }
}

@media only screen and (max-width: 960px){
    .nav-lnk {
        font-size: .9rem;
        padding: .25rem .7rem;
    }
}

@media only screen and (max-width: 880px){
    .nav-lnk {
        font-size: .78rem;
        padding: .25rem .75rem;
    }
}

@media only screen and (max-width: 770px){
    .nav-lnk {
        font-size: .75rem;
        padding: .2rem .6rem;
    }
}

@media only screen and (max-width: 700px){
    .nav-lnk {
        font-size: .7rem;
        padding: .2rem .5rem;
    }
}

/* @media only screen and (max-width: 630px){
    .nav-lnk {
        font-size: .72rem;
        padding: .17rem .45rem;
    }
}

@media only screen and (max-width: 560px){
    .nav-lnk {
        padding-left: .4rem;
        padding-right: .4rem;
    }
} */

.nav-lnk:active, .nav-lnk:focus, .nav-lnk:hover {
    text-decoration: none;
}

.nav-itm-active .nav-lnk {
    border-bottom: 1px solid #fff;
}

.nav-site {
    margin-bottom: 0;
    border-bottom: 0;
    position: relative;
}

.nav-site .nav-lnk {
    text-decoration :none;
    background: #fff;
}

.nav-site .nav-itm-active .nav-lnk {
    color: #ffffff;
    background-color: #003366;
    border-color: #003366;
    border-bottom: 1px solid #003366;
}

.toggle-link { 
    display: none; 
    text-align: right; 
    padding: 0 1em 0; 
    text-align: center; 
    padding: 10px 15px; 
    color: #fff; 
    background-color: #003366; 
    text-decoration: none; 
    float: right; 
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 500;
}

@media (max-width: 645px){
	
	.nav-list { 
        display: none; 
    }
    
    .toggle-link { 
        display: block; 
        position: absolute;
        top: 0;
        right: 0;
    }

    .open { 
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 .25rem rgba(0,0,0,.1);
        box-shadow: 0 0 .25rem rgba(0,0,0,.3);
        display: block;
        list-style: none outside none;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 2.15rem;
        top: 0;
        width: 7.5rem;
        z-index: 500; 
    }

    .open .nav-itm {
        margin: 0;
        padding: 0;
    }
    
	.open .nav-itm .nav-lnk{
        display: block;
        font-weight: 400;
        font-size: .9rem;
        padding: .6rem 1.25rem;
        margin-bottom: -1px;
        text-decoration: none;
        border: 0;
        border-radius: 0;
    }

	.open .nav-itm .nav-lnk:hover{
        background-color: #c2dfff;
        color: #231f20;
        border: 0;
        border-radius: 0;
    }	
}

.cf:after {
    content: "";
    display: table;
}

/* Content container */

.content-container {
    background: #fff;
    -webkit-box-shadow: 0 0 .25rem rgba(0,0,0,.1);
    box-shadow: 0 0 2rem rgba(0,0,0,.3);
    padding-bottom: 2rem;
    margin: 0 .5rem;
    margin-bottom: 2rem;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: 5px solid #033662;
}

@media only screen and (max-width: 820px) {
    .content-container {        
        overflow: hidden;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
}

@media print {
    .content-container {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

/* Single content */

.content-head {
    position: relative;
    background: #226eba;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

@media only screen and (min-width: 1100px) {
    .content-head {
        padding: 2rem 1.5rem 1.5rem;
    }
}

@media print {
    .content-head {
        padding: 0;
        box-shadow: none;
    }
}

.content-head .icon {
    width: 6rem;
    height: 6rem;
}

.content-head h2 {
    color: #ffffff;
    font-family: 'Bitter', serif;
    letter-spacing: .2rem;
    margin: 1rem 0;
}

.content-head img {
    width: 300px;
    height: auto;
}


img.circle {
    border: 5px solid #003366;
    border-radius: 50%;
}

.content-main {
    margin: 1.5rem 2.3rem 1.5rem;
}

.content-main p.text {
    text-indent: 2rem;
    line-height: 1.7rem;
    text-align: justify;
}

.content-head .content-flex {
    display: flex;
}

.content-flex .content-flexitem-1-3 {
    flex: 1;
}

.content-flex .content-flexitem-2-3 {
  flex: 2;
  padding-left: 1rem; 
  padding-right: 1rem; 
}

.content-flexitem-1-3 {
    padding-right: 1rem;
}

@media only screen and (max-width: 990px) {
    div[class^="content-flexitem-"] {
        width: 100%;
        padding: 0 !important;
    }

    .content-flex  {
      flex-direction: column;
    }  
}

.content-flexitem-2-3 p {
    color: #cceeff;
    line-height: 1.85rem;
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 550px) {
    p {
        font-size: .85rem;
    }
}

.content-flexitem-2-3 p.sign {
    color: #231f20;
    font-weight: 600;    
    text-align: right;
    padding-right: 2rem;
    margin-top: 1rem;
}

/* Footer */

.bottom {
    display: block;
    text-align: center;
}

@media only screen and (max-width: 480px) {
    .bottom {
        padding: 0;
    }

    .bottom p {
        font-size: .7rem;
    }
}

.bottom p {
    font-size: .8rem;
}

.bottom a:hover {
    color: #003366;
    text-decoration: none;
}

.bi {
    display: inline-block;
    width: 1rem;
    }

    .navbar-search {
    display: block;
    }

    .sidebar .nav-link {
    font-weight: 600;
    }

    .sidebar .nav-link.active {
    color: #1c375f;
    }

    .sidebar .nav-link:hover {
    color: #609dc5;
    }

    .sidebar-heading {
    font-size: .75rem;
    }

    .navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgb(40, 50, 78);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
    }

    .navbar .form-control {
    padding: .75rem 1rem;
    }

/* Custom styles for fixed height cards */
.photo-container {
    position: relative;
    height: 300px; /* Set your desired fixed height */
    overflow: hidden;
}

.photo-container img {
    object-fit: cover;
    height: 100%; /* Make sure the image takes the full height of the container */
    width: 100%; /* Make sure the image takes the full width of the container */
}

.photo-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Initially hide the buttons */
    transition: opacity 0.3s ease-in-out;
}

.photo-buttons:hover {
    opacity: 1; /* Show the buttons on hover */
}

.photo-buttons a {
    margin: 5px 0;
}

.limited-image {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
}

.content-head p {
    text-align: justify;
    text-justify: inter-word;
    font-family: Georgia, serif;
    font-weight: 300;
}

.darkblue {
    background-color: #003366;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.toggle-link { 
    display: none; 
    text-align: right; 
    padding: 0 1em 0; 
    text-align: center; 
    padding: 10px 15px; 
    color: #fff; 
    background-color: #003366; 
    text-decoration: none; 
    float: right; 
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 500;
}

@media (max-width: 645px){
	
	.nav-list { 
        display: none; 
    }
    
    .toggle-link { 
        display: block; 
        position: absolute;
        top: 0;
        right: 0;
    }

    .open { 
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 .25rem rgba(0,0,0,.1);
        box-shadow: 0 0 .25rem rgba(0,0,0,.3);
        display: block;
        list-style: none outside none;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 2.15rem;
        top: 0;
        width: 7.5rem;
        z-index: 500; 
    }

    .open .nav-itm {
        margin: 0;
        padding: 0;
    }
    
	.open .nav-itm .nav-link{
        display: block;
        font-weight: 400;
        font-size: .9rem;
        padding: .6rem 1.25rem;
        margin-bottom: -1px;
        text-decoration: none;
        border: 0;
        border-radius: 0;
    }

	.open .nav-itm .nav-link:hover{
        background-color: #c2dfff;
        color: #231f20;
        border: 0;
        border-radius: 0;
    }	
}

h2.post-title {
    margin-bottom: 0;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Bitter', serif;
    color: #003366;
    text-decoration: none !important;
}

.post-intro {
    font-size: 0.8rem;
}

.post-details {
    color: #696969;
}

.post-more, .send-message {
    background-color: #003366;
    color: #ffffff;
    border-radius: 6px;
    font-family: 'Bitter', serif;
    padding: .6em 1em;
    text-decoration: none;
    text-transform: uppercase;
}

.post-more:hover, .send-message:hover {
    background-color: #226eba;
    color: #ffffff;
}

.card-img {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio (height:width) */
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    height: 100%; /* Make sure the image takes the full height of the container */
    width: 100%; /* Make sure the image takes the full width of the container */
}

.newsletter {
    background-color: #99bbff;
    padding: 1.5rem;
    display: block;
    text-align: center;  
}

.newsletter h3 {
    font-size: 1.3rem;
    font-family: 'Bitter', serif;
    font-weight: 700;
    letter-spacing: .1rem;
    color: #231f20;
    text-align: center;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 480px) {
    .newsletter h3 {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 420px) {
    .newsletter h3 {
        font-size: 1.05rem;
    }
}

@media only screen and (max-width: 380px) {
    .newsletter h3 {
        font-size: .91rem;
        letter-spacing: 0;
    }
}

.newsletter p {
    text-align: center;
}

.newsletter form {
    display: block;
    margin-top: 0em;
}

.newsletter input[type=email] {
    padding-left: .5em;
    border: 2px solid #003366;
    font-family: 'Bitter', serif;
}

.newsletter button.submit {
    border: 2px solid #003366;
    color: #ffffff;
    background-color: #003366;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: 'Bitter', serif;
    border-radius: 0 4px 4px 0;
    border-left: 0;
}

.newsletter button.submit:hover {
    background-color: #226eba;
}

@media only screen and (max-width: 470px) {
    .newsletter {
        padding: .85rem;
    }
}


.socials-instagram {
    background-color: #003366;
}

.socials-youtube {
    background-color: #ffffff;
}

.socials-instagram h3 {
    font-size: 1.3rem;
    font-family: 'Bitter', serif;
    font-weight: 700;
    letter-spacing: .1rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.socials-instagram h3 a {
    color: #57a3d7;
    text-decoration: none;
}

.socials-instagram h3 a:hover {
    color: #ffffff;
}

.socials-youtube h3 {
    font-size: 1.3rem;
    font-family: 'Bitter', serif;
    font-weight: 700;
    letter-spacing: .1rem;
    color: #003366;
    text-align: center;
    margin-bottom: 1rem;
}

.socials-youtube h3 a {
    color: #ff0000;
    text-decoration: none;
}

.socials-youtube h3 a:hover {
    color: #003366;
}

.contact input[type=email], .contact textarea  {
    padding-left: .5em;
    border: 2px solid #003366;
    font-family: 'Bitter', serif;
}

.contact-label {
    border: 2px solid #003366;
    color: #ffffff;
    background-color: #003366;
    text-align: center;
    text-decoration: none;
    font-family: 'Bitter', serif;
    border-radius: 4px 0 0 4px;
}
 