@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..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: 15px 20px; color: white; text-decoration: none;}
.menu-horizontal > li:hover{ background-color: rgb(195, 195, 195); transition: 500ms;}
.menu-vertical{position: absolute; display: none; list-style: none; width: 12.5rem; background-color: rgba(0, 0, 0, .5);}
.menu-horizontal li:hover .menu-vertical{display: block;}
.menu-vertical li:hover{background-color: black;}

.menu-vertical li a{display: block; color: white; text-decoration: none; padding: 0.8rem 0.8rem 0.8rem 1.2rem;}

#html{margin: auto; padding: 1.2remx; max-width: 40rem; background: white;}