@font-face {
    font-family: spenTap;
    src: url(../assets/CormorantGaramond-VariableFont_wght.ttf);
}

:root{
    --navbar-height: 72px;
}

::selection {
    color: #fff;
    background: rgba(var(--bs-accent-rgb),0.5);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    font-family: spenTap, sans-serif;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 800;
}

p, li {
    font-size: 1.5rem;
    font-weight: 400;
}


/* navbar 
-------------------------------------------------- */
.navbar {
    height: var(--navbar-height);
    padding: 0 16px;
    border-bottom: 5px solid var(--bs-accent);
    box-shadow: 0 .5rem 1rem rgba(var(--bs-accent-rgb),0.25);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dropdown-item:active, .dropdown-item:hover {
    background-color: var(--bs-accent);
}


/* common
-------------------------------------------------- */
.loading {
    padding: 3rem;
    text-align: center;
}

.grayscale {
    filter: grayscale(100%);
}

.www-link {
    color: var(--bs-accent);
    font-size: 1.15rem;
    font-weight: 400;
    text-decoration: underline dotted;
}

.www-link:hover {
    color: #FFF;
    background-color: rgba(var(--bs-accent-rgb), 0.8);
}

.www-img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--bs-border-radius);
}

.www-img-circle {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.www-icon {
    display: inline-block;
    padding: 1rem;
    color: var(--bs-primary);
    background-color: var(--bs-accent);
    border-radius: var(--bs-border-radius);
}

.www-map {
    height: 440px;
    width: 100%;
    border-radius: var(--bs-border-radius);
}

/*.leaflet-icon {*/
/*    fill: var(--bs-primary);*/
/*}*/


.hover-effect {
    overflow: hidden;
}

    .hover-effect img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        filter: grayscale(60%);
        transition: all ease 0.5s;
    }
    
    .hover-effect:hover img {
        filter: grayscale(0);
        transform: scale(1.1);
        transform-origin: center;
    }






/*.page-section {*/
/*    margin: 0;*/
/*}*/

/*.page-section a {*/
/*    color: var(--bs-primary-text-emphasis);*/
/*    font-size: 1.15rem;*/
/*    font-weight: 400;*/
/*    text-decoration: underline dotted;*/
/*}*/

/*.page-section a:hover {*/
/*    color: #FFF;*/
/*    background-color: rgba(var(--bs-accent-rgb), 0.8);*/
/*}*/

/*.page-section li {*/
/*    padding: 0.25rem;*/
/*    font-size: 1.15rem;*/
/*    font-weight: 400;*/
/*}*/

/*.page-section .profile-text {*/
/*    white-space: pre-line;*/
/*}*/

/*.page-header h1{*/
/*    font-size: 2.5rem;*/
/*    font-weight: 800;*/
/*    color: var(--bs-dark);*/
/*    text-align: left;*/
/*    text-decoration: none;*/
/*    text-shadow: 0 15px 20px #000;*/
/*}*/

/*.page-header h2 {*/
/*    font-size: 1.25rem;*/
/*    font-weight: 700;*/
/*    color: var(--bs-secondary);*/
/*    text-align: left;*/
/*    text-decoration: none;*/
/*}*/

.page-links {
    background-color: var(--bs-light);
    border-radius: var(--bs-border-radius);
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.page-links h5 {
    text-align: center;
}

.page-links a {
    color: var(--bs-secondary);
}

.page-links a:hover {
    color: #FFF;
    background-color: rgba(var(--bs-primary-rgb), 0.8);
}

.page-links li {
    padding: 0.25rem;
    font-size: 1rem;
    font-weight: 400;
}

.page-links-button {
    position: relative;
    margin-bottom: 1.5rem;
    background-color: var(--bs-secondary);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    text-align: center;
    color: #FFF;
}

.page-links-button:hover {
    background-color: var(--bs-primary);
}



/* Keyframes 
-------------------------------------------------- */


/* Error handling
-------------------------------------------------- */
.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}