/* pre-built */
/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/


/* personalized */
:root {
    --navbar-and-footer-background-color: #175986;
    --navbar-and-footer-text-color: #ffffff;
    --navbar-and-footer-text-color-secondary: #8adcff;
}

footer {
    background-color: var(--navbar-and-footer-background-color);
    color: var(--navbar-and-footer-text-color);
}

ul {
    padding-left: 0rem;
}

li {
    padding-top: 15px;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}


.column-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.footer-container {
    display: flex;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    margin-right: 100px;
    padding-bottom: 20px;
}

.footer-info {
    display: flex;
    width: 40%;
    flex-direction: column;
}

.footer-copyrightinfo {
    display: block;
    text-align: center;
    margin-bottom: -20px;
    padding-top: 20px;
}

.footer-icon {
    color: var(--navbar-and-footer-text-color-secondary);
}

.footer-text {
    color: var(--navbar-and-footer-text-color);
}

@media screen and (max-width: 600px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        display: flex;
        margin-right: 0px;
        padding-bottom: 20px;
    }

    .footer-info {
        display: flex;
        width: 100%;
        text-align: center;
    }
}

/* FADE IN OVERLAY IMAGE */
.card-overlay {
    position: relative;
}

.image-overlay {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.card-overlay:hover .overlay {
    opacity: 1;
}

.navbar {
    background-color: var(--navbar-and-footer-background-color);
    min-height: 8vh;
}

.navbar a {
    color: var(--navbar-and-footer-text-color);
}

.navbar a:hover {
    color: var(--navbar-and-footer-text-color-secondary);
}

.navbar a:focus {
    color: var(--navbar-and-footer-text-color-secondary);
}

.navbar .navbar-toggler {
    color: var(--navbar-and-footer-text-color);
    border: transparent;
}

.feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    font-size: 1.5rem;
}

/* LOADING ANIMATION */
#loading_animation {
    animation: is-rotating 1s infinite;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid #d7d7d7;
    border-top-color: #51d4db;
    position: fixed;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}

@keyframes is-rotating {
    to {
        transform: rotate(1turn);
    }
}


/* ADJUSTMENTS FOR LANDSCAPE MODE */
/*@media screen and (max-width: 768px) and (orientation: landscape) {
    header {
        height: 150vh !important;*/ /* Sobrescreve as anteriores */
    /*}

    section {
        margin-top: 10px;*/ /* Add space after header */
    /*}

    h1 {
        font-size: 2rem;*/ /* Adjust title size */
    /*}

    h4 {
        font-size: 1rem;*/ /* Adjust subtitle size */
    /*}
}*/