@font-face {
    font-family: 'Product Sans';
    src: url(assets/ProductSansRegular.otf);
}

@media only screen and (max-width :29112008px) {
    #drop {
        display: none;
    }

    #tool {
        display: unset;
    }

    .videos {
        width: 50%;
    }

    .subscription {
        width: 20%;
    }
}

@media only screen and (max-width :1000px) {
    #drop {
        display: block;
        text-align: end;
    }

    #tool {
        display: none;
    }

    #log {
        display: none;
    }

    .videos {
        width: 80%;
    }

    .subscription {
        width: 40%;
    }
}

@media only screen and (max-width :700px) {
    #drop {
        display: block;
        text-align: end;
    }

    #tool {
        display: none;
    }

    #log {
        display: none;
    }

    .videos {
        width: 100%;
    }

    .subscription {
        width: 90%;
    }
}

::-webkit-scrollbar {
    width: 0.5em;
}

::-webkit-scrollbar-thumb {
    background: rgb(204, 204, 3);
    border-radius: 5px;
}

html {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-size: 15px;
    margin: 0;
    color: white;
    height: 100%;
    background-color: rgb(34, 34, 34);
    font-family: 'Product Sans';
}

#transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a4e1b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 29112009;
    opacity: 1;
    transition: opacity .5s ease;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.loader {
    width: 50vw;
    height: 50vw;
    max-width: 8em;
    max-height: 8em;
    animation: gone 1.4s ease-in-out infinite;
    filter: drop-shadow(0.1em 0.1em 1em #3cb53f);
}

@keyframes gone {
    0%,100% {transform: scale(1)}
    50% {transform: scale(1.5)}
}

.menu {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 0.6em;
    backdrop-filter: blur(0.5em);
    position: fixed;
    color: white;
    top: 0;
    left: 0;
    transition: 0.3s;
    right: 0;
    text-align: center;
    user-select: none;
    z-index: 29112008;
}

.theme {
    position: absolute;
    top: 0;
    left: 0;
    width: 20vw;
    min-width: 10em;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.options {
    display: inline-block;
    margin: 1em;
}

.btn {
    all: unset;
    border-bottom: 0.1em solid rgba(0, 0, 0, 0);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.btn:hover {
    border-bottom: 0.1em solid;
}

#name {
    position: absolute;
    left: 0;
}

/*Account*/
#log {
    position: absolute;
    top: -0.5em;
    right: 1em;
    border: 0.1em solid;
    padding: 0 0.4em;
    border-radius: 0.5em;
    cursor: pointer;
    transition: 0.3s;
}

#log:hover {
    color: black;
    background-color: white;
}

#login {
    all: unset;
    color: white;
    border: 0.1em solid;
    padding: 0.2em 0;
    transition: 0.3s;
    cursor: pointer;
    width: 100%;
    border-radius: 0.5em;
    background: #000000b8;
    margin: 0.1em 0;
}

i {
    vertical-align: middle;
}

#login:hover {
    color: black;
    border: 0.1em solid white;
    background-color: white;
    padding: 0.2em;
}

.link {
    display: block;
    background-color: rgba(0, 0, 0, 0.55);
    padding: 0;
    transition: 0.3s;
}

.picture {
    position: relative;
    border-radius: 50%;
    display: inline-block;
}

#account {
    display: none;
    transition: 0.3s;
    position: absolute;
    min-width: 4em !important;
}

.show {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    transform: translate(-0.5em, 0.2em);
}

.avatar {
    border-radius: 50%;
    object-fit: cover;
    width: 1.5em;
    height: 1.5em;
    border: 0.1em solid;
    vertical-align: middle;
}

/*Account*/
.link:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

#best {
    text-align: center;
}

.bes {
    position: absolute;
    top: 3em;
    border-left: 0.2em solid rgb(255, 255, 128);
    height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.allofit {
    display: block;
    background-color: rgba(0, 0, 0, 0.55);
    transition: 0.3s;
    position: absolute;
    top: 3em;
    border-left: 0.2em solid rgb(255, 255, 128);
    height: 0;
    overflow: hidden;
}

.about {
    position: absolute;
    top: 3em;
    border-left: 0.2em solid rgb(255, 255, 128);
    height: 0;
    overflow: hidden;
    transition: 0.3s;
    width: 10em;
}

#all:hover>.allofit {
    height: 1em;
    padding: 1em;
}

.real {
    display: block;
    transition: 0.3s;
    position: absolute;
    top: 3em;
    height: 0;
    transition: 0.3s;
    overflow: hidden;
    width: max-content;
    pointer-events: none;
}

#name:hover>.real {
    height: 1em;
    background-color: rgba(0, 0, 0, 0.55);
    border-left: 0.1em solid rgb(255, 255, 128);
    padding: 1em;
}

/* #best:hover{ .bes{ height: 8.8em; } .link{ padding: 1em; } } */
#best:hover>.bes {
    height: 8.8em;
}

#best:hover>.bes>.link {
    padding: 1em;
}

#upcome:hover>.bes {
    height: 8.8em;
}

#upcome:hover>.bes>.link {
    padding: 1em;
}

#about:hover>.about {
    height: 6em;
}

#about:hover>.about>.link {
    padding: 1em;
}

/* For mobie or screen width below 700px */
#dropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    height: 100%;
    margin-left: -50em;
    backdrop-filter: blur(1em);
    pointer-events: none;
    transition: 0.3s;
    opacity: 0;
    text-align: center;
    z-index: 29112008;
}

.links {
    display: block;
    color: white;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.55);
    padding: 1em;
    transition: 0.3s;
}

.links:hover {
    background-color: rgba(112, 112, 66, 0.75);
}

#closeit {
    all: unset;
    position: fixed;
    top: -0.3em;
    right: -0.6em;
    font-size: 5em;
    color: red;
    transition: 0.3s;
    cursor: pointer;
}

#closeit:hover {
    color: rgb(112, 0, 0);
}

.closed {
    background-color: rgba(0, 0, 0, 0.55);
}

#open {
    all: unset;
    cursor: pointer;
    border: none;
    font-size: 1.5em;
    vertical-align: middle;
}

.burger {
    cursor: help;
}

#open:hover {
    color: rgb(160, 160, 84);
}

#quang {
    background-color: beige;
    color: black;
}

#quang:hover {
    background-color: rgb(112, 112, 66);
    color: beige;
}

a {
    color: unset;
    text-decoration: none;
}

.mobilebtn {
    all: unset;
    position: absolute;
    top: 0.3em;
    left: 2em;
    border-bottom: 0.1em solid rgba(0, 0, 0, 0);
    text-align: center;
    width: max-content;
    cursor: pointer;
    z-index: 2;
}

.mobilebtn:hover {
    border-bottom: 0.1em solid;
}

.contents {
    text-align: center;
    position: relative;
    top: 5em;
    padding: 1em;
    min-height: 82%;
    margin: 1em;
    border-radius: 1em;
    background-image: url(https://cdn.mos.cms.futurecdn.net/Vt84y2Lg4Pgpkkqk7VMLLa.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content {
    transition: 0.3s;
}

hr {
    width: 10em;
    border: 0.1em solid;
}

/* Content here */
#buoi {
    border-radius: 1em;
    color: white;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
}

#facebookcong {
    font-size: 1.5em;
    margin: 1em;
    cursor: pointer;
}

#status {
    display: inline-block;
    padding: 0 0.2em;
    vertical-align: middle;
}

#facebookcong:hover {
    color: greenyellow;
}

a {
    all: unset;
    cursor: context-menu;
    transition: 0.3s;
}

.order {
    display: block;
    padding: 1em;
    margin: 1em;
    border: 0.1em solid;
    cursor: pointer;
    border-radius: 1em;
}

.order:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: greenyellow;
}

.main {
    text-align: center;
    position: relative;
    top: 10em;
}

.containers {
    position: relative;
    text-align: center;
    top: 5em;
}