.main {
    height: 100vh;
    width: 85vw;
    margin: auto;
}

.navbar {
    width: 100%;
    height: 9vh;
    background-color: brown;
}

.homebutton {
    background-image: url('img/logo.png');
    background-size: cover;
    height: 100%;
    aspect-ratio: 1.5 / 1;
}
.homebutton:hover {
    background-image: url('img/logo-hover.png'); 
}

.insidetab {
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    float: left;
}
.tabs {
    margin-right: 5px;
}
.assignments {
    background-image: url('img/assignments.png');
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.assignments:hover {
    background-image: url('img/assignments-hover.png'); 
}
.files {
    background-image: url('img/files.png'); 
}
.files:hover {
    background-image: url('img/files-hover.png'); 
}
.rewards {
    background-image: url('img/rewards.png'); 
}
.rewards:hover {
    background-image: url('img/rewards-hover.png'); 
}
.sharing {
    background-image: url('img/sharing.png'); 
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.sharing:hover {
    background-image: url('img/sharing-hover.png'); 
}
.notifications {
    background-image: url('img/notifications.png'); 
    height: 9vh;
    min-height: 1px;
}
.notifications:hover {
    background-image: url('img/notifications-hover.png'); 
}
.apps {
    background-image: url('img/apps.png'); 
    height: 9vh;
    min-height: 1px;
}
.apps:hover {
    background-image: url('img/apps-hover.png'); 
}
.avatar {
    height: 100%;
}
.username {
    color: black;
    background: white;
    font-size: 2vh;
    text-align: center;
}

.searchdiv {
    display: inline-block;
    height: 100%;
    width: 40%;
}
.searchform {
    background-color: #4654e1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.searchinput {
    all: unset;
    font: 16px system-ui;
    color: #fff;
    height: 100%;
    width: 100%;
    padding: 6px 10px;
}
::placeholder {
    color: #fff;
    opacity: 0.7; 
  }
.searchbutton {
    all: unset;
    cursor: pointer;
    width: 44px;
    height: 44px;
}
  
svg {
    color: #fff;
    fill: currentColor;
    width: 24px;
    height: 24px;
    padding: 10px;
}

/* Dropdown Button */
.dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: #2980B9;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    margin-top: 9vh;
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {display:block;}