body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    margin-bottom: 0;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;

}

.navbar a {
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 7px; 
    margin-right: 20px;
    font-family: playfair display;
    margin-top: 5px;
    margin-left: 7px;
}

.navbar a:hover {
    background-color: rgba(206, 206, 206, 0.5);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.navbar a:last-child {
    margin-right: 0;
}

.container {
    margin-top: 0px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding-bottom: 20px;
    padding-right: 7px;
    margin-bottom: 0px;
}

.Block1 {
    position: relative;
    display: inline-block;
    width: 300px;
    margin: 10px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 25px;
    transform: translateY(370px); 
}

.Block1 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 5px solid rgba(0, 0, 0, 0.8);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    transition: transform 0.8s ease;
}

.Block1 img:hover {
    transform: scale(0.95);
    border-width: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 4.8px;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
    border-radius: 0 0 10px 10px;
    width: 300px;
    top: 302px;
    left: 0;
    text-align: center;
}

.Block1:hover .dropdown-content, 
.dropdown-content:hover {
    display: block;
    opacity: 1;
    justify-content: center;
    align-items: center;
    width: 294.5px;
    left: 8px;
}

.dropdown-content p {
    margin: 0;
    font-size: 14px;
    color: white;
    text-align: center;
}

.dropdown-content a {
    color: #00f7ff;
    text-decoration: none;
}

.dropdown-content a:hover {
    text-decoration: underline;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 1000px;
    margin-top: 0px;
}

h1.center {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    margin: 0;
    text-align: center;
    z-index: 10;
    font-size: 70px;
    text-shadow: 
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}
.end {
    width: 100%;
    height: 75px;
    margin: 0;
    margin-top: 370px;
    background-color: #e6ccb3;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}



