@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

nav{max-width: 90%; margin: auto; background-color: #333; font-size: 1.1rem; margin-top: 2rem;}
.menu-horizontal{list-style: none; display: flex; justify-content: space-around;}
.menu-horizontal > li > a{display: block; padding: 1rem 1.5rem; color: white; text-decoration: none;}
.menu-horizontal > li:hover{ background-color: rgb(213, 0, 241); transition: 500ms;}
.menu-vertical{position: absolute; display: none; list-style: none; width: 12.5rem; background-color: rgba(98, 26, 131, 0.5);}
.menu-horizontal li:hover .menu-vertical{display: block;}
.menu-vertical li:hover{background-color: rgb(179, 9, 221); transition: 500ms;}

.menu-vertical li a{display: block; color: rgb(255, 255, 255); text-decoration: none; padding: 0.8rem 0.8rem 0.8rem 0.8rem;}


