html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    flex-direction: column;
    background-color: #f9f1e7;
}

h1 {
    font-size: 30px;
    line-height: 0.01;
    font-weight: normal;
    font-family: 'Cormorant SC', serif;
    padding: 10px;
}

h2 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: normal;
    font-family: 'Cormorant SC', serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    position: relative;
}

.logo-container {
    width: 50px;
    height: 100px;
    flex-shrink: 0;
}

.title-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 5px;
}

.flex-title {
    position: absolute;
    top: 10px;
    left: 215x;
}

.text1 {
    font-family: 'Courier New', serif;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 50px;
    margin: 10px 0;
    text-align: center;
}

.nav-container {
    padding: 10px;
    color: black;
    flex-shrink: 0;
    text-align: right;
}

nav a {
    color: black;
    text-decoration: none;
    margin: 0 20px;
    position: relative;
    padding-bottom: 5px;
    font-family: courier;
}

nav a::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background-color: orange;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 60px;
    background-color: darkorange;
}

.main-container {
    position: absolute;
    width: 750px;
    height: 750px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    left: 50%;
    bottom: 2.5%;
    transform: translateX(-50%);
    align-items: center;
    background-color: #fc6c85;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.3);
}

.mini-image {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 15px;
    width: 120px;
    height: 120px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: opacity 0.3s ease-in-out;
}


.mini-image:hover img {
    opacity: 0;

}


.mini-image:hover {
    background-image: url('/static/Headleft.png');
    background-size: cover;
    background-position: center;
}

.mini-image {
    background-image: url('/static/Headright.png');
    background-size: cover;
    background-position: center;
}

.footer {
    padding: 20px;
    text-align: center;
}
