/*Makes text center*/
.center {
    text-align: center;
}

.right {
    text-align: right;
}

.center1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

body {
    height: 100dvh
}

/* Style the header */
header {
    background-color: #666;
    padding:1px;
    text-align: center;
    font-size: 30px;
    color: white;
    border-radius: 12px;
  }

/* Style the footer */
footer {
    position: fixed;
    bottom: 0;
    width: 98%;
    height: 35px;
    background-color: #666;
    padding: 0px;
    text-align: center;
    color: white;
    border-radius: 12px;
  }

/* Create two columns/boxes that floats next to each other */
nav {
    float: center;
    height: 55px;
    width: auto;
    background: #ccc;
    padding: 15px;
    border-radius: 12px;
  }
  
  article {
    float: left;
    padding: 20px;
    width: 100%;
    background-color: #ffffff;
  }

/* Clear floats after the columns */
section::after {
    content: "";
    display: table;
    clear: both;
  }

  .button {
    background-color: #666;
    padding: 15px 25px;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.1s;
    cursor: pointer;
  }

  .button1 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
  }
  
  .button1:hover {
    background-color: white;
    color: black;
  }

  .button2 {
    background-color: transparent;
    color: white;
    border-radius: 12px;
  }

  .button2:hover {
    background-color: #ccc;
    color: black;
  }

  .button4 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
  }
  
  .button4:hover {
    background-color: white;
    color: black;
  }

  .button5 {
    background-color: #666;
    color: white;
    border-radius: 12px;
  }

  .button5:hover {
    background-color: #ccc;
    color: black;
  }

  .button:active {
    background-color: #ffffff;
    box-shadow: 0 3px #666;
    transform: translateY(4px);
  }

  .icon {
    width: 32px;
    height: 32px;
  }

  .relative {
    position: relative;
  }
  

  .absolute {
    position: absolute;
    top: 0;
    right: 0;
  }

@media screen and (max-width: 980px) {
  .button4{
    scale: 80%;
    float: left;
    display: none;
    }
}

@media screen and (min-width: 980px) {
  .dropbtn{
    display: none;
    }
}

@media screen and (max-width: 650px) {
  nav{
    height: 100%;
    float: left;
    }
}

.dropbtn {
  background-color: #666;
  color: white;
  padding: 17px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: white;
  color: black;
}

.dropdown {
  position: relative;
  display: inline-block;
  border-radius: 12px;
}

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

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

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

.show {display: block;}

