body {
    width: 800px;
    margin: auto;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
}

h1 {
    margin-bottom: 5px;
    font-size: 3rem;
}

h1 a.home-link {
    text-decoration: none;
    color: inherit;
}

nav {
    margin-bottom: 15px;
    display: flex;
    justify-content: center; 
    gap: 20px;
    padding: 10px;
    align-items: center; 
}

nav a, .drop-button {
    font-size: 1.2rem;
    margin: 0 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    background: none;
    border: none;
}

.drop-button {
    font-family: inherit;
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
    padding: 16px px0;
    text-align: center;
    color: black;
}

.drop-button:hover,
.dropdown:hover .drop-button {
    color: red; 
}

.dropdown {
    position: relative;
    display: inline-block; 
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 6px;
    z-index: 1;
    width: 100%; 
    padding: 11px 0 0;
}

.dropdown-content a {
    color: black;
    padding: 10px 0;
    text-decoration: none;
    display: block;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    border-top: 1px dotted black;
    margin: 0;
    box-sizing: border-box;
}

.dropdown-content a:first-child {
    padding-top: 7px; 
}

.dropdown-content a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content.show {
  display: block;
}

nav a:hover {
    color: red;
}

iframe {
    width: 100%;
    height: 560px;
    border: none;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    overflow: hidden;
}

footer {
    padding: 5px;
    font-size: 0.9rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    color: #333;
}

footer img {
    display: block;
    margin: 0 auto
}

footer p {
    margin-top: 4px;
    margin-bottom: 4px;
}

#webmaster {
    transition: transform 1s ease;
}

#webmaster:hover {
    transform: rotate(360deg);
}

#guestbook {
    transition: transform 0.3s ease;
}

#guestbook:hover {
    transform: scale(1.2);
}

#home {
    transition: transform 0.3s ease;
}

#home:hover {
    transform: scale(1.2);
}