﻿.home-container {
    margin: 32px 16px;
    display: flex;
    justify-content: center;
}

.home-content {
    font-family: BurfordBase, serif;
    font-size: 32px;
    line-height: 32px;
    color: #FFFFFF;
    max-width: 525px;
    width: 100%;
    padding: 8px 0;
}

.home-image-container {
    position: relative;
    width: 368px;
    text-align: center;
}
.home-image-bg {
    position: absolute;
    z-index: -1;
    top: 40%;
    width: 375px;
    height: 4px;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(166,165,160,1) 45%, rgba(166,165,160,1) 55%, rgba(255,255,255,1) 85%);
    border-radius: 100%;
    box-shadow: 0px 0px 27px -8px rgb(110 103 103 / 32%) inset;
    -webkit-box-shadow: 0px 0px 27px -8px rgb(110 103 103 / 32%) inset;
    -moz-box-shadow: 0px 0px 27px -8px rgba(110,103,103,0.32) inset;
    filter: drop-shadow(0px 4px 20px rgb(146, 145, 145));
}

.home-content-inner {
    margin-top: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.home-text {
    overflow-wrap:anywhere;
}

.home-text a {
    text-decoration: none;
}

.home-text > span {
    font-size: 28px !important;
    line-height: 28px !important;
}

@media(max-width:991px) {
    .home-content {
        font-size: 26px;
        line-height: 26px;
        max-width: 450px;
    }

    .home-text > span {
        font-size: 24px !important;
        line-height: 24px !important;
    }
}


@media(max-width:767px) {
    .home-container {
        height: 120px;
    }

    .home-content {
        font-size: 20px;
        line-height: 20px;
    }

    .home-text {
        padding: 5px 0;
    }

    .home-text > span {
        font-size: 20px !important;
        line-height: 20px !important;
    }
}



.popup-card-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.popup-card-container {
    margin: 32px;
    width: 300px;
    background: white;
    position: absolute;
    margin-left: calc(50vw - 150px);
    margin-top: calc(50vh - 135px);
}

.popup-card-img {
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 150px;
}

.popup-card-content {
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 120px;
    background-color: white;
}

.popup-close {
    position: absolute;
    top: 15%;
    left: 95%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #FFFFFF;
    width: 20%;            
    font-weight:100;
}

.popup-star {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #FFFFFF;
    width: 20%;
    font-weight: 100;
}


.popup-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: BurfordBase, serif;
    font-size: 70px;
    line-height: 40px;
    color: #FFFFFF;
    width: 85%;
    text-shadow: 0px 0px 16px #000000;
}

.popup-text {
    font-family: MuseoSlab-300, serif;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 150px;
    overflow-y: auto;
}

div.popUpOverlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 100000;
    cursor: pointer;
}

     