html {
    scroll-behavior: smooth;
}

* {
    font-size: 20px;
    font-family: 'Lato';
}

body {
    background-color: #FCF9F5;
    color: #333333;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
.quote i {
    font-family: 'Cormoran';
}

h1 {
    font-size: 2rem;
    color: #E6D5B8;
}

h1,
h2 {
    text-shadow: 2px 8px 8px #000000;
}

h3 {
    color: #0A4666;
    margin: 40px 0;
}

.down {
    display: none;
}


.quote i::before {
    content: "”";
    position: relative;
    font-size: 1.5rem;
    left: -20px;
    top: -10px;
}

.quote i::after {
    content: "”";
    position: relative;
    font-size: 1.5rem;
    right: -20px;
    bottom: -50px;
}

.btn-elegant {
    background-color: #0A4666;
    border-color: #0A4666;
    color: white;
}

.btn-elegant:hover {
    border: 3px solid goldenrod;
    color: goldenrod;
}

.card-elegant {
    background-color: #F8F9FA;
    /* border: 3px solid goldenrod; */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

p {
    line-height: 2;
    font-size: 16px;
    letter-spacing: 0.1em;
}

a {
    color: #0A4666;
}

.cover-img {
    width: 100%;
    height: 50vh;
    background-image: url('images/opener.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-img-overlay {
    height: inherit;
}

/*navbar*/
nav {
    background-color: #0A4666;
}

.bottomnav .nav-link {
    color: #E6D5B8;
    font-size: 16px;
}

.bottomnav .nav-link:hover {
    color: goldenrod;
}

footer {
    background-color: #0A4666;
    text-align: left;
    color: #E6D5B8;
    padding: 3px;
    padding-top: 20px;
    border-top: 9px solid goldenrod;
    font-size: 14px;
    line-height: 2;
}

footer a {
    color: #E6D5B8;
    text-decoration: none;
}

footer a:hover {
    color: goldenrod;
}

.smallcontact span, .smallcontact a {
    font-size: 12px;
}

.copy-small {
    font-size: 12px;
}

.content {
    display: flex;
    flex-direction: column;  /* Stack the items vertically */
    justify-content: center; /* Center content vertically */
    height: 100%;            /* Ensure the container takes the full height of its parent */
}


@media screen and (min-width: 768px) {

    .cover-img {
        height: 100vh;
    }

    h1 {
        font-size: 4rem;
    }

    h4 {
        font-size: 3rem;
    }

    .quote i {
        font-size: 1.5rem;
    }

    .quote i::before {
        font-size: 3rem;
    }

    .quote i::after {
        font-size: 3rem;
    }

    p {
        font-size: 20px;
    }

    .down {
        display: block;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2rem;
        color: white;
        animation: fadeIn 3s ease-in-out;
    }
}

@media screen and (max-width: 767px) {
    .contactline::after {
        content: "";
        display: block;
        height: 0;
    }

}

.fakeimg {
    height: 200px;
    background: #aaa;
}

.p01 {
    padding: 10px;
}

.offcanvas-header {
    background-color: #0A4666;
    color: white;
}

.content-item {
    padding: 10px;
    text-decoration: none;
    color: black;
    display: block;
}

.content-item:hover {
    text-decoration: none;
    background-color: #eee;
    color: black;
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.row {
    margin-bottom: 20px
}


/*float anim*/
@keyframes float-l {
    from {
        transform: translate(-100%);
    }

    to {
        left: 100%;
    }
}

.float-l {
    animation: float-l 1s linear 0s 1 normal forwards;
}

@keyframes float-r {
    from {
        transform: translate(100%);
    }

    to {
        left: -100%;
    }
}

.float-r {
    animation: float-r 1s linear 0s 1 normal forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadein-slow {
    animation: fadeIn 2s ease-in-out;
}

.justify {
    text-align: justify;
}

/*hiding*/
.mobile {
    display: none;
}

@media screen and (max-width: 500px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
        width: 70%;
        margin: auto;
    }
}

#title {
    color: white;
    text-align: center;
    font-size: larger;
}

/*showup*/
@keyframes showup {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.arrowdown{
    font-size: 2rem;
    color: white;
    animation: bounce 1.5s infinite;
}

.showup {
    animation: showup 1s ease-in-out;
}

/*masonry*/

img {
    width: 100%;
    pointer-events: none;
    user-select: none;

}

video {
    pointer-events: none;
    user-select: none;
}

.masonry {
    column-count: 4;
    column-gap: 16px;
}

.masonry .mItem {
    display: inline-block;
    margin-bottom: 16px;
    width: 100%;
}

@media (max-width: 1199px) {
    .masonry {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .masonry {
        column-count: 3;
    }
}

@media (max-width: 767px) {
    .masonry {
        column-count: 2;
    }
}