* {
    padding: 0px;
    margin: 0px;
    font-family: sans-serif;
}



/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: black;
    background-color: red;
    text-align: center;
    padding: 8px 10px;
    text-decoration: none;
    font-size: 25px;
    
    position: sticky;
    top: 0;
    overflow: hidden;

}
.topnav{
    background-color: #ff0000;
    overflow: hidden;
}
/* Change the color of links on hover */
.topnav a:hover {
    background-color: red;
    color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #ff0000;
    color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}



* {box-sizing: border-box}

/* Add padding to containers */
.container {
  padding: 16px;
}

/* Full-width input fields */
input[type=text], input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* Set a style for the submit/register button */
.registerbtn {
  background-color: #0000CC;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity:1;
}

/* Add a blue text color to links */
a {
  color: dodgerblue;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
  background-color: #f1f1f1;
  text-align: center;
}

@media screen and (max-width: 822px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }


    /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
    @media screen and (max-width: 822px) {
        .topnav.responsive {
            position: relative;
        }

        .topnav.responsive a.icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

    }

}

@media screen and (min-width: 620px) {
    h1 {
        font-size: 6vw;
    }
    

}
footer {
  text-align: center;
  padding: 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: red;
  color: white;
  text-align: center;
}


footer a {
  color: blue;
  
}