* {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}

.header {
    height: 70px;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(50px);
    position: sticky;
    top: 0;
    z-index: 4;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.searchbar {
    width: 100%;
    max-width: 500px;
    height: 40px;
    background-color: transparent;
    border: 2px solid rgb(38, 38, 38);
    border-radius: 35px;
    padding-left: 15px;
    padding-right: 5px;
    transition: 1s ease;
    transition-property: width, border, padding;
    display: flex;
    align-items: center;
    justify-content: stretch;
    position: relative;
}

.searchbar:has(.search-input:focus) {
    border: 2px solid rgb(90, 90, 90);
    outline: none;
}

.search {
    color: black;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    background-color: white;
    padding: 4px;
    border-radius: 50px;
    width: 40px;
}

.search-input {
    width: 100%;
    outline: none;
    border: none;
    height: 100%;
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
}

html {
    overflow-y: scroll;
}

.search-button {
    background-color: transparent;
    border: none;
    padding: 0;
    height: 32px;
    user-select: none;
}

.autocomplete {
    width: 100%;
    height: max-content;
    position: absolute;
    top: 50px;
    left: 0px;
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 10px 0px;
    box-shadow: 3px 3px 10px 2px rgba(0, 0, 0, 0.25);
}

.autocomplete-item {
    height: 32px;
    color: white;
    font-weight: 400;
    padding: 0px 17px;
    line-height: 32px;
    font-size: 16px;
    cursor: default;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item:hover {
    background-color: #494949;
}

strong {
    font-weight: 800;
}

.autocomplete-active {
    background-color: #494949;
}

.start {
    display: flex;
    min-width: 200px;
    align-items: flex-end;
    justify-content: start;
    gap: 5px;
    transition: 1s ease;
}

.center {
    flex: 0 1 732px;
    display: flex;
    justify-content: center;
}

.end {
    display: flex;
    min-width: 200px;
    justify-content: end;
    align-items: center;
    gap: 40px;
    transition: 1s ease;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo-dafric {
    font-weight: 600;
    font-size: 30px;
    margin: 0;
    transition: inherit;
}

.logo-movies {
    margin: 0;
    margin-bottom: 4px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: black;
    border-radius: 5px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(9,92,121,1) 0%, rgba(0,219,255,1) 100%);
    transition: inherit;
}

.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
}

.profilePic {
    border-radius: 50%;
}

.username {
    margin: 0;
    margin-left: 10px;
}

.guide {
    scale: 1.3;
    cursor: pointer;
    user-select: none;
    border-radius: 5px;
    padding: 3px;
    color: white;
    transition: 0.5s ease;
    background-color: transparent
}

.guide:hover {
    background-color: white;
    color: black;
}

@media (max-width: 520px) {

    .header {
        padding: 0px 20px;
    }

    .start {
        min-width: 110px;
    }
    .end {
        min-width: 110px;
        gap: 40px;
    }

    .logo-dafric {
        font-size: 20px;
    }

    .logo-movies {
        font-size: 10px;
        padding: 2px;
        margin-bottom: 3px;
        border-radius: 2.5px;
    }

    .logo{
        gap: 3px;
    }

    .guide {
        scale: 1.2;
    }

    .username {
        display: none;
    }
}

@media (max-width: 590px) {
    .searchbar {
        width: 48px;
        padding-left: 5px;
    }
}