:root {
    --white: #f0f0f0; 
    --dark-blue: #2B3F55; 
    --turqoise: #109ead; 
    --dark-purple: #562075; 
    --light-yellow: #e0dca4; 
}

* {
    font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
}
   

header {
    background-image: linear-gradient(to right, var(--turqoise), var(--dark-purple));
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

button {
    border: none;
}

.titleAndName {
    margin-left: 60px; 
    padding: 12px 0px 12px 0px; 
    display: flex; 
    flex-direction: column; 
}

.title {
    font-size: 24px; 
    font-weight: lighter; 
    color: var(--white); 
    margin-bottom: 2px; 
}

.title span {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.name {
    font-size: 12px;
    color: var(--white)
}

.info {
    display: flex; 
    margin-right: 60px; 
}

.info li {
    margin-left: 24px; 
    list-style-type: none; 
    font-size: 16px; 
    font-weight: bold; 
}

.info li a {
    color: var(--white); 
    text-decoration: none;
}

.info li a:hover {
    color: yellow; 
}

/* Side Bar */
.sidebar {
    width: 18%; 
    margin-top: 30px; 
    height: 85%; 
    position: fixed; 
    left: 0; 
    display: flex; 
    justify-content: flex-start;
    flex-direction: column; 
    align-items: center;
    border-right: solid lightgray; 
}

.sidebar button {
    color: var(--dark-blue); 
    text-align: center;

}

#sort {
    font-size: 18px; 
    background-color: var(--turqoise); 
    color: var(--white); 
    font-weight: bold; 
    padding: 4px 32px; 
    border-radius: 8px;
    cursor:pointer; 
}

#newArray {
    font-size: 16px; 
    margin-top: 10px;
    background-color: white; 
    cursor: pointer;
    color: var(--dark-purple); 
}

#newArray:hover {
    font-weight: bold; 
}

.algorithms {
    margin-top: 30px; 
    display: flex; 
    flex-direction: column;
}

.algorithms button {
    margin-top: 14px; 
    font-size: 18px; 
    cursor:pointer; 
}

.algorithms button:hover {
    font-weight: bold; 
    color: var(--dark-purple); 
}

#bubble {
    font-weight: bold; 
    color: var(--dark-purple); 
}

.size {
    margin-top: 30px; 
}

.size, .speed {
    display: flex; 
    flex-direction: column; 
    font-weight: bold; 
    margin-bottom: 12px; 
    align-items: center; 
}

.size .name {
    color: var(--dark-blue); 
    font-size: 16px; 
    margin-bottom: 4px;
    
}

.size .buttons {
    justify-content: flex; 
    
}

.size .buttons button {
    font-size: 14px; 
    cursor: pointer;
}

.size .buttons button:hover {
    font-weight: bold;
}

.speed .name {
    color: var(--dark-blue); 
    font-size: 16px;   
    margin-bottom: 4px;
}

.speed .buttons button {
    font-size: 14px; 
    cursor: pointer;
}

.speed .buttons button:hover {
    font-weight: bold;
}

#medium, #moderate {
    font-weight: bold; 
}

#main {
    margin-left: 18%; 
    margin-top: 20px; 
    display: flex; 
    justify-content: center;
    align-items: flex-end; 
    width: 80%; 
    height: 600px; 
}
