h1, nav, main, p{
    text-align: center;
}

nav ul li{
 list-style-type: none;
 display: inline;
 padding-left: 20px;
}


li{
  padding-bottom: 10px;
}

footer{
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
    padding-top: 0.25%;
    padding-bottom: 0.25%;
    clear: both;
    border: 2px dotted;
}


/* The navigation menu formatting. */
.topnav{
    background-color: rgba(255, 233, 248, 0.9);
    overflow: hidden;
    border: 1px dotted black;
    border-radius: 3px;
    margin: 5px;
}

.topnav a{
    float: left;
    display: block;
    color: #FFCFF0;
    text-align: center;
    align-items:center; 
    padding: 14px 16px;
    text-decoration: none;
    color: black;
    font-size: 17px;
    font-family: 'Coming Soon'; cursive;
}

.topnav a:hover{
    background-color: #ddd;
    color: black;
}

.topnav a.active{
    background-color: rgba(208, 216, 255, 1);
    color: black;
}

.topnav-centered a{
    float:none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.topnav-right{
    float: right;
}

.topnav.icon{
    display: none;
    text-align: center;
}


.dropdown{
    float:left;
    overflow: hidden;
    font-family: 'Coming Soon'; cursive;
}

.dropdown .dropbtn{
    font-size: 17px;
    border: none;
    outline: none;
    color: black;
    padding: 14px 16px;
    background-color: inherit;
    font-family: 'Coming Soon'; cursive;
    margin: 0;
}

.dropdown-content{
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160 px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a{
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover{
    background-color: #ddd;
    color: black;
}

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

.dropdown:hover .dropbtn{
    background-color: #3e8e41;
}

@media screen and (max-width: 600px){
    .topnav a:not(:first-child).dropdown .dropbtn{
        display: none;
    }
    .topnav a.icon{
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px){
    .topnav a, .topnav-right{
        float: none;
        display: block;
    }
    
    .topnav-centered a{
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
    }
    
    .topnav.responsive{
        position: relative
    }
    
    .topnav.responsive a.icon{
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .topnav.responsive a{
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown{
        float:none;
    }

    .topnav.responsive .dropdown-content{
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn{
        display: block;
        width: 100%;
        text-align: left;
    }
}