body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("../img/5.gif");
    color: rgb(240, 248, 255);
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
img {
    width: 40%;
} 
nav {
    display: flex;
    justify-content: center;
    margin: 20px;
    padding: 0 20px;
    width: fit-content;
    gap: 20px;
    border-radius: 20px;
    background-color: blueviolet;
}
section {
    padding: 0 20px;
    border-radius: 20px;
    background-color: blueviolet;
}
h1 {
    font-size: 48px;
}
h3 {
    font-size: 24px;
    width: fit-content;
}
.btn {
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    color: white;
    background-color: blue;
    transition: 0.25s ease-in-out;
}
.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px blue;
    background-color: green;
}
section {
    height: 75px;
    padding: 0 20px;
    border-radius: 20px;
    background-color: blue;
    transition: 0.25s ease-in-out;
}
ul {
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease-in-out;
}
section:has(> h3:hover),
section:has(> ul:hover) {
    height: 150px;
    background-color: green;
}
h3:hover + ul, ul:hover {
    opacity: 1;
    visibility: visible;
}