* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(228, 228, 228);
    font-family: 'Playfair Display', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#header {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 110px;
    background-color: white;
    box-shadow: 0px 2px 5px rgba(41, 41, 41, 0.692);
}

#header h1 {
    font-size: 25px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: black;
    display: block;
    transition: 0.3s;
}

nav a:hover {
    color: rgb(71, 104, 114);
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    background: white;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    width: 115px;
    padding: 15px 0;
}

.dropdown-menu.active {
    max-height: 200px;
    opacity: 1;
}

#dropdownBtn {
    cursor: pointer;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    background-color: rgba(161, 227, 247, 0.575);
    transition: 0.3s;
}

#dropdownBtn:hover, #dropdownBtn.active {
    background-color: rgb(124, 217, 245);
    transform: scale(1.05);
}

#title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 500px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/images/header.jpg);
    background-size: cover;
    background-position: 0px -300px;
}

#title h2 {
    margin-top: 5%;
    color: white;
    font-size: 50px;
}

#title p {
    color: white;
    font-size: 25px;
}

#main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main h2 {
    margin-bottom: 1%;
    font-size: 30px;
}

#main h2:nth-child(4) {
    margin-top: 2%;
}

#main p {
    font-size: 20px;
}

#main a {
    color: rgba(54, 123, 145, 0.603);
    text-decoration: none;
    transition: 0.3s;
}

#main a:hover {
    color: rgba(54, 122, 145, 0.979);
}

#footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100px;
    background-color: rgb(43, 43, 43);
}

#footer p, #footer a {
    color: rgb(95, 95, 95);
}

#footer a {
    text-decoration: none;
    transition: 0.3s;
}

#footer a:hover {
    color: rgb(112, 112, 112);
}