@font-face {
    font-family: megatrans;
    src: url(./megatrans.otf);
}

body {
    font-family: megatrans, 'Montserrat';
    margin: 0px;
}

button {
    background-color: #6179ff;
    border-color: #6179ff;
    color: black;
    border-radius: 16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-style: solid;
    font-family: megatrans;
    font-weight: bold;
    font-size: 14px;
    width: fit-content;
    transition-duration: 0.4s;
}

button:hover {
    color: white;
    background-color: black;
    border-color: #6179ff;
}

.navbar {
    background-image: linear-gradient(to right, rgba(97, 121, 255, 0.8), rgba(56, 155, 56, 0.8));
    backdrop-filter: blur(8px);
    color: #fff;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100vw;
}

#icon {
    float: left;
    width: 40px;
    height: auto;
    padding: 5px;
}

#title {
    float: left;
    font-weight: bold;
}

.navbar a {
    float: right;
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 4vw;
    margin-right: 8px;
}

.navbar a:hover {
    background: #ddd;
    color: black;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #727272;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(44, 44, 44);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(71, 71, 71);
}

@media only screen and (min-width: 400px) {
    .navbar a {
        font-size: 16px;
    }
}

@media only screen and (max-width: 400px) {
    #icon {
        width: 10%;
    }
}