*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
    margin: 0;
    padding-top: 82px;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 1000;
  display: flex;
  align-items: center;
  font-family: serif, sans-serif;
  background: rgba(218, 177, 218, 0.8);
  border: 1px solid purple;
  border-radius: 5px;
  padding: 5px;
}

.header nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logoFrame {
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.logoFrame a {
  display: flex;
  align-items: center;
}
.logoFrame img {
  max-height: 20px;
  max-width: 64px;
  width: auto;
  padding: 1px;
  background-color: white;
  border: 2px solid gray;
  border-radius: 30%;
  object-fit: contain;
}

.articles {
    flex: 1;
    display: flex;
    font-family: serif, sans-serif;
    color: purple;
    justify-content: center;
    align-items: center;
    gap: 1rem;    
    height: 100%;
}

.articles a {
    font-size: 0.9rem;
    font-family: inherit;
    color: purple;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5px;
}
.articles a:hover {
    color: black;
}
.articles .material-symbols-outlined {
    line-height: 1;
    width: 20px;
    height: 20px;
    font-size: 16px;
    border: 1px solid black;
    border-radius: 50%;
    color: purple;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
}
.articles p{
  margin: 0;
  font-size: 0.7rem;
  display: none;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown {
    border: none;
    outline: none;
    position: relative;
    background-color: inherit;
    font-family: inherit;
}
#drp-icon {
    font-size: 16px;
    transition: transform 0.25s ease;
}
.dropdown:hover #drp-icon{
    transform: rotate(180deg); /* rotate when popup is open */
}
.dropdown u {
    text-decoration: none;
    font-size:18px;
}
.dropdown:hover {
    background-color: inherit;
    color: black;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;          /* right under the button */
    left: 20px;
    margin-top: -10px;    /* adjust spacing */
    background-color: rgba(244, 244, 244, 0.7);
    min-width: 128px;
    z-index: 2000;
    border-radius: 5px;
}
.dropdown-content a {
    float: none;
    color: inherit;
    font-family: serif, sans-serif;
    text-decoration: none;
    display: block;
    text-align: left;
    padding: 5px;
    margin: 5px;
}
.dropdown-content a:hover {
    background-color: rgba(218, 177, 218, 0.9);
    color: black;
}

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

#previewImage{
    width: 2rem;
    height: 2rem;
    float: right;
    border: 1px solid black;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}
#previewImage:hover{
    border: 2px solid purple;
    cursor: grab;
}
.notes {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;          /* equal spacing */
}
.notes a,
.notes span {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}
.notes .material-symbols-outlined {
  color: purple;
  background: whitesmoke;
  border: 1px solid purple;
  border-radius: 2.5px;
  font-size: 40px;
  padding: 2px;
  margin-right: 5px;
}

.notes > a p{
  display: none;
} 
.eliari {
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-right: 10px;/*for the logout button */
}
.eliari a,
.eliari button {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eliari .material-symbols-outlined {
    width: 1rem;
    height: 1rem;
    font-size: 12px;
    border: 1px solid black;
    border-radius: 50%;
    color: purple;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eliari .material-symbols-outlined:hover {
    border: 1px solid purple;
    color: black;
    background-color: white;
    cursor: pointer;
}
.dashboard_button {
    display: flex;
}

#icon4,
#icon5{
    width: 1.3rem;
    height: 1.3rem;
    font-size: 12px;
    border: 1px solid black;
    border-radius: 50%;
    object-fit: cover;
    color: purple;
    background-color:whitesmoke;
    display: flex;
}
 #icon4:hover,
 #icon5:hover{
    border: 1px solid purple;
    color: black;
    background-color:white;
    cursor: grab;
}
@media(max-width:480px){
    #previewImage{
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 0.5rem;
    }
    .header{
        height: 70px;
    }
}
@media(min-width:481px){
    .logoFrame img {
        max-height: 30px;
        max-width: 108px;
          padding: 2px;

    }
.articles {
        gap:2rem;
    }
.articles a {
    font-size: 18px;
    font-family: serif, sans-serif;
    color: purple;
    text-decoration: none;
}
.articles a:hover {
    color: black;
}
.articles .material-symbols-outlined {
    width: 24px;
    height: 24px;
    font-size: 16px;
    border: 1px solid black;
    border-radius: 50%;
    color: purple;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
}
.articles p{
    display: none;
}
     #drp-icon {
	font-size: 20px;
     }
    .dropdown u {
    text-decoration: none;
    font-size:16px;
}
.dropdown-content {
 position: absolute;
    min-width: 80px;
           z-index: 0.7;
    margin-bottom: 16px;
}

    .eliari input[type="search"] {
        max-width: 3rem;
    }
    .eliari .material-symbols-outlined {
        width: 24px;
        height: 24px;
        font-size: 14px;
        border: 1px solid black;
        border-radius: 50%;
    }
.eliari .material-symbols-outlined {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 50%;
}
#icon1,
#icon2,
#icon3,
#icon4,
#icon5{
    width: 1.5rem;
    height: 1.5rem;
    font-size: 14px;
}
}

@media (min-width: 769px) {
.articles {
        gap:3rem;
    }
.articles a {
    font-size: 18px;
    font-family: serif, sans-serif;
    color: purple;
    text-decoration: none;
}
.articles a:hover {
    color: black;
}
.articles .material-symbols-outlined {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.2rem;
    border: 1px solid black;
    border-radius: 50%;
    color: purple;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
}
.articles p{
    display: block;
}
     #drp-icon {
	font-size: 24px;
     }
    .dropdown u {
    text-decoration: none;
    font-size:18px;
}
.dropdown-content {
 position: absolute;
    min-width: 64px;
        z-index: 0.5;
    margin-bottom: 12px;
 }
    #previewImage{
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 1rem;
    }
    .eliari input[type="search"] {
        max-width: 3rem;
    }
    .eliari .material-symbols-outlined {
        width: 24px;
        height: 24px;
        font-size: 14px;
        border: 1px solid black;
        border-radius: 50%;
    }
.eliari .material-symbols-outlined {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 50%;
}
#icon1,
#icon2,
#icon3,
#icon4,
#icon5{
    width: 2.5rem;
    height: 2.5rem;
    font-size: 32px;
}
}