@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    background-color: #18191a;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #242526;
}

nav .logo {
    text-decoration: none;
    color: #fff;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .logo .imgBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

nav .logo .imgBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
    border-radius: 0%;
}

.search-form {
    display: flex;
    gap: 20px;
}

input {
    background-color: #3a3b3c;
    border: none;
    outline: none;
    width: 200px;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
}

.search-btn {
    background-color: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-btn .imgBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.search-btn .imgBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
    border-radius: 0%;
}

.search-btn:hover {
    cursor: pointer;
    background-color: #0069d9;
}

nav li {
    list-style: none;
}

nav .navbar {
    position: relative;
    display: flex;
}

nav .navbar li {
    list-style: none;
    margin-left: 30px;
}

nav .navbar li a {
    text-decoration: none;
    padding: 10px 20px;
    transition: 0.3s;
    font-size: 0.9em;
    text-transform: uppercase;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .navbar li a .imgBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

nav .navbar li a .imgBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
    border-radius: 0%;
}

nav .navbar li a:hover {
    background-color: #007bff;
    border-radius: 20px;
}

nav .navbar .menu {
    display: none;
}

.custom-select {
    position: relative;
}

.custom-select select {
    display: none;
}

.select-selected {
    border: 1px solid #fff;
    background-color: #3a3b3c;
}
  
  /* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}
  
/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}
  
/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: #fff;
    padding: 3px 10px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    border-radius: 0px;
}
  
/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #3a3b3c;
    color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    height: 200px;
    overflow-y: scroll;
}
  
/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}
  
.select-items div:hover, .same-as-selected {
    border: 1px solid #fff;
    color: #fff;
}

@media screen and (max-width: 768px) {
    nav  {
        padding: 20px 60px;
    }

    input {
        display: none;
    }

    ul li {
        position: absolute;
    }

    ul li:not(.menu) {
        right: 40px;
    }

    nav .navbar li a:hover {
        padding: 10px;
        background-color: #141417;
        border: none;
    }

    ul li:nth-child(1) {
        top: 40px;
        right: 0px;
        z-index: 10000;
    }

    ul li:nth-child(2) {
        top: 70px;
        right: 0px;
        z-index: 10000;
    }

    ul li:nth-child(3) {
        top: 100px;
        right: 0px;
        z-index: 10000;
    }

    nav .navbar .menu {
        display: flex;
        position: relative;
        width: 20px;
        height: 20px;
        filter: invert(1);
    }

    .menu-icon img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hidden {
        display: none;
    }

    nav .navbar .square-menu {
        position: absolute;
        top: 29px;
        right: 4px;
        background-color: #141417;
        width: 15px;
        height: 15px;
        z-index: 4000;
        transform: rotate(45deg);
    }

    .menu-opciones {
        position: absolute;
        top: 35px;
        right: 0;
        background-color: #141417;
        width: 100px;
        height: 100px;
        z-index: 4000;
    }
}