:root {
    --vertical-nav-width: 200px; 
    --horizontal-nav-height: 54px; 
    font-family: "Roboto", serif;
}

body{
    position: relative;
    min-height: 100%;
    overflow: auto;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #252525;
}

input:focus{
    outline: none;
    box-shadow: none;
    border-color: black; 
}

textarea:focus{
    outline: none;
    box-shadow: none;
    border-color: black; 
}

strong{
    color: #aaa;
}

.clear-body{
    border: 0px;
    color: white;
    background-color: transparent;
}

.btn{
    font-size: 20px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-small{
    margin: 5px;
    font-size: 15px;
}

.btn-big{
    margin: 5px;
    font-size: 25px;
}

.btn-sbig{
    margin: 5px;
    font-size: 30px;
}

.btn-ssmall{
    margin: 5px;
    font-size: 10px;
}

.text-white{
    color: white;
}

.text-black{
    color: black;
}

.btn-oline-c1{
    color: rgb(58, 58, 58);
    border-color: rgb(58, 58, 58);
    background-color: transparent;
    cursor: pointer;
}
.btn-oline-c1:hover{
    border-color: black;
    color: white;
    background-color: black;
}

.btn-oline-c2{
    border: 0px;
    color: white;
    background-color: transparent;
    cursor: pointer;
}
.btn-oline-c2:hover{
    border-color: lightgray;
    color: black;
    background-color: lightgray;
}

.btn-oline-c3{
    border-color: dodgerblue;
    color: dodgerblue;
    background-color: transparent;
    cursor: pointer;
}
.btn-OLine-C3:hover{
    background-color: dodgerblue;
    color: white;
}

.btn-oline-c4{
    border-color: darkgray;
    color: darkgray;
    background-color: transparent;
    cursor: pointer;
}
.btn-oline-c4:hover{
    background-color: gray;
    color: white;
}

.btn-oline-c5{
    border-color: green;
    color: green;
    background-color: transparent;
    cursor: pointer;
}
.btn-oline-c5:hover{
    background-color: green;
    color: white;
}

.btn-oline-c6{
    border-color: red;
    color: red;
    background-color: transparent;
    cursor: pointer;
}
.btn-oline-c6:hover{
    background-color: red;
    color: white;
}

.btn-oline-c7{
    border-color: yellow;
    color: yellow;
    background-color: transparent;
    cursor: pointer;
}
.btn-oline-c7:hover{
    background-color: yellow;
    color: black;
}

.btn-c1{
    background-color: rgb(58, 58, 58);
    cursor: pointer;
}
.btn-c1:hover{
    background-color: black;
}

.btn-c2{
    background-color: white;
    cursor: pointer;
}
.btn-c2:hover{
    background-color: lightgray;
}

.btn-c3{
    background-color: dodgerblue;
    cursor: pointer;
}
.btn-c3:hover{
    background-color: rgb(26, 121, 216);
}

.btn-c4{
    background-color: darkgray;
    cursor: pointer;
}
.btn-c4:hover{
    background-color: gray;
}

.btn-c5{
    background-color: green;
    cursor: pointer;
}
.btn-c5:hover{
    background-color: darkgreen;
}

.btn-c6{
    background-color: red;
    cursor: pointer;
}
.btn-c6:hover{
    background-color: darkred;
}

.btn-c7{
    background-color: yellow;
    cursor: pointer;
}
.btn-c7:hover{
    background-color: goldenrod;
}

.btn-trans{
    background-color: transparent;
    border-color: transparent;
    cursor: pointer;
    color: white;
}

.btn-large{
    width: 170px;
}

.btn-image{
    width: fit-content;
}

.btn-joinedside{
    margin-left: 0px;
    margin-right: 0px;
}

.btn-nopad{
    padding: 0;
}

.btn-joinedtotal{
    margin: 0px;
    height: fill;
    background-color: transparent;
    border-color: transparent;
    border-radius: 0px;
}
.btn-joinedtotal:hover{
    background-color: darkgray;
    border-color: transparent;
    cursor: pointer;
}

.inp{
    margin: 5px;
    font-size: 20px;
    border-radius: 5px;
}

.inp-black{
    background-color: black;
    color: white;
}

.inp-large{
    width: 90%;
}

.inp-ret{
    border-radius: 0px;
    border-color: black;
}

.inp-joinedside{
    margin-left: 0px;
    margin-right: 0px;
    vertical-align: middle;
}

.inp-text-left{
    text-align: left;
}

.inp-text-center{
    text-align: center;
}

.inp-text-right{
    text-align: right;
}

.inp-border-left{
    border-radius: 5px 0px 0px 5px;
}

.inp-border-right{
    border-radius: 0px 5px 5px 0px;
}

.inp-search{
    vertical-align: text-bottom;
    font-size: 18px;
    border: solid 2px black;
    border-bottom: 5px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-right: 0px;
}

.details-inp{
    background-color: gray;
}

.details-inp-search{
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: -20px;
    background-color: purple;
    border-radius: 0px 5px 5px 0px;
    border: solid 2px black;
    cursor: pointer;
}

.medal{
    background-color: black;
    color: white;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.medal-black{
    background-color: white;
    color: black;
}

.block-main{
    position: relative;
    width: calc(100% - var(--vertical-nav-width));
    height: calc(100% - var(--horizontal-nav-height));
    min-height: 100vh;
    margin-top: var(--horizontal-nav-height);
    margin-left: var(--vertical-nav-width);
    background-color: #252525;
    color: #aaa;
}

.block-btn{
    background-color: gray;
    width: fit-content;
    margin-right: 5px;
}

.block-btn-vert{
    width: fit-content;
    margin-right: 5px;
}

.block-btn-ssmall .btn-joinedside{
    padding: -10px;
    font-size: 15px;
}

.block-btn-small .btn-joinedside{
    padding: -5px;
    font-size: 17px;
}

.block-btn-big .btn-joinedside{
    padding: 10px;
}

.block-btn-sbig .btn-joinedside{
    padding: 15px;
}

.block{
    margin-left: 10px;
}

.block-left{
    flex: 1; 
    text-align: left;
    align-items: center;
}

.block-center{
    flex: 3; 
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-left: 300px;
}

.block-right{
    flex: 1; 
    text-align: center;
    margin-left: 0px;
    margin-right: 10px;
    align-items: center;
    justify-content: flex-end;
}

.block-logo{
    margin-bottom: 8px;
    width: 400px;
}

.block-icon{
    width: max-content;
}

.block-flex{
    display: flex;
    flex-wrap: wrap;
    text-wrap: wrap;
}
  
.dropdown {
    position: relative;
    float: right;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}
  
.dropdown-content a {
    color: #aaa;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
  
.show {display:block;} 

.image{
    margin: 10px;
}

.image-fs
{
    width: 100%;
    height: auto;
}

.image-big
{
    width: 75%;
    height: auto;
}

.image-med
{
    width: 50%;
    height: auto;
}

.image-smed
{
    width: 35%;
    height: auto;
}

.image-small
{
    width: 25%;
    height: auto;
}

.image-ssmall
{
    width: 10%;
    height: auto;
}

.image-logo{
    width: 50px;
    height: auto;
    cursor: pointer;
}

.image-logo:hover{
    cursor: pointer;
}

.image-circular{
    border-radius: 10px;
}

.image-joinedtotal{
    margin: 0px;
}

.image-joinedside{
    margin-left: 0px;
    margin-right: 0px;
}

.image-icon{
    width: 30px; 
    height: 30px;
    vertical-align: bottom;
    border-radius: 50%;
}

.image-medicon{
    width: 17px;
    height: 17px;
}

.image-sicon{
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.image-publ{
    margin: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.image-notif{
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    background-color: transparent;
}

.image-prof{
    width: 40px;
    height: 40px;
}

.image-thumb{
    width: 100%;
    height: 100%;
    margin: 0px;
    object-fit: cover;
}

.image-arrows{
    width: 20px; 
    height: 20px;
}

.video-card{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.icon-text{
    vertical-align: super;
    color: white;
    cursor: pointer;
}

.logo-text{
    color: white;
    font-size: 20px;
    position: relative;
    top: -13px;
    cursor: pointer;
}

.link-logo{
    position: relative;
}

.link-nondeco{
    text-decoration: none;
    color: black;
}

.dark-link-nondeco {
  text-decoration: none;
  color: #aaa;
}

.link-square{
    border: 2px solid black ;
    padding: 5px;
}

.login, .register{
    margin:10px;
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    background-color: rgb(130, 111, 229);
    border-color: rgb(130, 111, 229);
    box-shadow: inset 0 0 0 1px hsla(0,0%,100%,.1),inset 0 1px 0 0 hsla(0,0%,100%,.15),inset 0 0 25px 1px hsla(0,0%,100%,.05);
    color: white;
}

.login:hover, .register:hover{
    background-color: rgb(116, 84, 215);
    border-color: rgb(116, 84, 215);
    box-shadow: inset 0 0 0 1px hsla(0,0%,100%,.1),inset 0 1px 0 0 hsla(0,0%,100%,.15),inset 0 0 25px 1px hsla(0,0%,100%,.05);
}

.login:active, .register:active{
    background-color: rgb(100, 69, 189);
    border-color: rgb(100, 69, 189);
    box-shadow: inset 0 0 0 1px hsla(0,0%,100%,.1),inset 0 1px 0 0 hsla(0,0%,100%,.15),inset 0 0 25px 1px hsla(0,0%,100%,.05);
}

.list-block{
    width: max-content;
}

.list-block-nondeco{
    list-style-type: none;
    padding-left: 0px;
}

.list-block-line{
    border: 1px solid black;
    padding-right: 5px;
    padding-left: 3px;
}

.line-reverse{
    background-color: black;
    color: white;
    border-top-color: white;
}

.first-line{
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-color: black;
}

.line-end{
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.list-block .line-active{
    background-color: dodgerblue;
}

.nav{
    display: block;
}

.nav-left{
    text-align: left;
}

.nav-center{
    text-align: center;
}

.nav-right{
    text-align: right;
}

.nav-hor{
    position: fixed;
    top: 0;
    width: calc(100% - var(--vertical-nav-width));
    margin-left: var(--vertical-nav-width);
    display:flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.nav-vert{
    width: var(--vertical-nav-width);
    top: 0;
    left: 0;
    height: 100vh;
    position: fixed;
    z-index: 4;
}

.nav-menu{
    width: max-content;
    padding-left: 20px;
    padding-top: 7px;
}

.nav-vert .block-Icon{
    padding: 10px;
}

.nav-vert .nav-menu{
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

.nav-vert .nav-menu .list-block-nondeco{
    margin: 0px;
}

.nav-vert .nav-line{
    padding: 0px;
    width: 100%;
}

.nav-vert .nav-line .nav-link{
    padding: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: left;
    display: block;
    border-radius: 0px;
    padding-left: 20px;
}

.nav-menu  .nav-link{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 2.5px;
    padding-right: 2.5px;
    border-radius: 5px;
}

.nav-line{
    padding: 5px;
    padding-left: 3px;
}

.nav-block{
    margin-left: var(--vertical-nav-width); 
    padding: 10px; 
}

.form-smallsq{
    margin-left: auto; 
    margin-right: 0;
}

.form-search{
    margin-top: 5px;
    margin-bottom: 5px;
}

.link-active{
    background-color: dodgerblue;
    color: white;
}

.link-square:hover{
    background-color: lightgray;
}

.link-active:hover{
    background-color: rgb(26, 121, 216);
}

.link-card{
    width: max-content;
}

.card {
    width: max-content;
}

.card-video-thumb{
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.card-video-thumb:hover .image-Thumb {
    opacity: 0;
    transform: scale(1);
}

.card-video-thumb:hover .video-Card {
    display: block; 
    transform: scale(1.05);
}

.card-video{
    width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.card-video-infochannel{
    display: flex;
    flex-wrap: wrap;
    text-wrap: wrap;
}


.text-title{
    font-size: 15px;
    cursor: pointer;
}

.text-channel{
    font-size: 10px;
    cursor: pointer;
}

.text-infovideo{
    font-size: 8px;
    cursor: pointer;
}

.text-prof{
    font-size: 30px;
}

.visibility-arrow {
    position: relative;
    top: 10px;
    display: inline-block;    
    height: 8px;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.reverse, .reverseh{
    background-color: rgb(58, 58, 58);
    color: white;
    border-color: white;
}

.reverse-text{
    color: #aaa;
}

.reverseh:hover{
    background-color: black;
}

/* Select2 gerais */

.select2-dropdown {
    background-color: #333;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
    color: #aaa;
}

.select2-container--default .select2-selection--single, .select2-container--open .select2-dropdown--above{
    color: #aaa;
}

.select2-container--default .select2-results > .select2-results__options{
    background-color: #333;
}

.select2-container--default .select2-selection--single{
    background-color: #555;
    border: 1px solid #aaa;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #aaa;
}

.select2-results__option{
    color: #aaa;
}

/*Dark mode switch*/

#theme-toggle-button {
    cursor: pointer;
    position: relative;
    font-size: 6px;
    display: inline-block;
    width: 14em;
}

#toggle {
    opacity: 0;
    width: 0;
    height: 0;
}

#container,
#patches,
#stars,
#button,
#sun,
#moon,
#cloud {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.25s;
}

/* night sky background */
#toggle:checked+svg #container {
    fill: #2b4360;
}

/* move button to right when checked */
#toggle:checked+svg #button {
    transform: translate(28px, 2.333px);
}

/* show/hide sun and moon based on checkbox state */
#sun {
    opacity: 1;
}

#toggle:checked+svg #sun {
    opacity: 0;
}

#moon {
    opacity: 0;
}

#toggle:checked+svg #moon {
    opacity: 1;
}

/* show or hide background items on checkbox state */
#cloud {
    opacity: 1;
}

#toggle:checked+svg #cloud {
    opacity: 0;
}

#stars {
    opacity: 0;
}

#toggle:checked+svg #stars {
    opacity: 1;
}

@media (max-width: 479px) {
    :root {
    --vertical-nav-width: 150px; 
    --horizontal-nav-height: 48px; 
  }

  *{
    font-size: 8px;
  }

  .block-main {
    width: calc(100% - var(--vertical-nav-width));
    height: calc(100% - var(--horizontal-nav-height));
    margin-top: var(--horizontal-nav-height);
    margin-left: var(--vertical-nav-width);
  }

  .btn {
    font-size: 16px;
    margin-left: 3px;
    margin-right: 3px;
  }

  .btn-small {
    font-size: 12px;
    margin: 3px;
  }

  .btn-big {
    font-size: 20px;
  }

  .btn-sbig {
    font-size: 22px;
  }

  .btn-ssmall {
    font-size: 8px;
    margin: 3px;
  }

  .inp {
    font-size: 16px;
    margin: 3px;
  }

  .inp-large {
    width: 95%;
  }

  .block-left {
    flex: 1;
    text-align: left;
  }

  .block-center {
    flex: 2;
    margin-left: 120px;
  }

  .block-logo {
    width: 280px;
    margin-bottom: 5px;
  }

  .image-logo {
    width: 40px;
  }

  .image-icon {
    width: 18px;
    height: 18px;
  }

  .image-medicon {
    width: 14px;
    height: 14px;
  }

  .image-sicon {
    width: 10px;
    height: 10px;
  }

  .image-publ {
    width: 20px;
    height: 20px;
  }

  .image-notif {
    width: 24px;
    height: 24px;
    margin-left: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .image-prof {
    width: 32px;
    height: 32px;
  }

  .image-arrows {
    width: 25px;
    height: 25px;
  }

  .image-fs {
    width: 100%;
  }

  .image-big {
    width: 90%;
  }

  .image-med {
    width: 60%;
  }

  .image-smed {
    width: 45%;
  }

  .image-small {
    width: 30%;
  }

  .image-ssmall {
    width: 15%;
  }

  .block-btn, .block-btn-vert {
    margin-right: 3px;
  }

  .block-btn-ssmall .btn-joinedside {
    font-size: 12px;
    padding: 0;
  }

  .block-btn-small .btn-joinedside {
    font-size: 8px;
    padding: 0;
  }

  .block-btn-big .btn-joinedside {
    padding: 5px;
  }

  .block-btn-sbig .btn-joinedside {
    padding: 8px;
  }

  .dropdown-content {
    min-width: 120px;
  }

  .image {
    margin: 6px;
  }

  .video-card {
    width: 100%;
    height: 100%;
  }

  .icon-text {
    vertical-align: super;
    font-size: 8px;
  }

  .logo-text {
    font-size: 16px; 
    top: -10px; 
  }

  .login, .register {
    margin: 5px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 8px;
    font-size: 8px;
  }

  .list-block {
    width: max-content;
  }

  .list-block-line {
    padding-right: 3px;
    padding-left: 2px;
  }

  .nav-hor {
    margin-left: var(--vertical-nav-width);
    padding: 5px 0px;
  }

  .nav-vert {
    width: var(--vertical-nav-width);
    height: 100vh;
  }

  .nav-menu {
    padding-left: 10px;
    padding-top: 5px;
  }

  .nav-vert .nav-menu {
    width: 100%;
  }

  .nav-line {
    padding: 3px;
    padding-left: 2px;
  }

  .nav-menu .nav-link {
    padding: 3px 2px;
    font-size: 8px;
  }

  .card-video-thumb {
    height: 140px; 
  }

  .card-video {
    width: 260px; 
  }

  .text-title {
    font-size: 13px;
  }

  .text-channel {
    font-size: 9px;
  }

  .text-infovideo {
    font-size: 7px;
  }

  .text-prof {
    font-size: 24px;
  }

  .visibility-arrow {
    top: 6px;
    height: 6px;
    font-size: 16px;
  }

  #theme-toggle-button {
    width: 12em;
    font-size: 5px;
  }

}

@media (min-width: 480px) and (max-width: 767px) {
    :root {
    --vertical-nav-width: 150px; 
    --horizontal-nav-height: 48px; 
  }

  *{
    font-size: 8px;
  }

  .block-main {
    width: calc(100% - var(--vertical-nav-width));
    height: calc(100% - var(--horizontal-nav-height));
    margin-top: var(--horizontal-nav-height);
    margin-left: var(--vertical-nav-width);
  }

  .btn {
    font-size: 16px;
    margin-left: 3px;
    margin-right: 3px;
  }

  .btn-small {
    font-size: 12px;
    margin: 3px;
  }

  .btn-big {
    font-size: 20px;
  }

  .btn-sbig {
    font-size: 22px;
  }

  .btn-ssmall {
    font-size: 8px;
    margin: 3px;
  }

  .inp {
    font-size: 16px;
    margin: 3px;
  }

  .inp-large {
    width: 95%;
  }

  .block-left {
    flex: 1;
    text-align: left;
  }

  .block-center {
    flex: 2;
    margin-left: 120px;
  }

  .block-logo {
    width: 280px;
    margin-bottom: 5px;
  }

  .image-logo {
    width: 40px;
  }

  .image-icon {
    width: 25px;
    height: 25px;
  }

  .image-medicon {
    width: 14px;
    height: 14px;
  }

  .image-sicon {
    width: 10px;
    height: 10px;
  }

  .image-publ {
    width: 20px;
    height: 20px;
  }

  .image-notif {
    width: 24px;
    height: 24px;
    margin-left: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .image-prof {
    width: 32px;
    height: 32px;
  }

  .image-arrows {
    width: 25px;
    height: 25px;
  }

  .image-fs {
    width: 100%;
  }

  .image-big {
    width: 90%;
  }

  .image-med {
    width: 60%;
  }

  .image-smed {
    width: 45%;
  }

  .image-small {
    width: 30%;
  }

  .image-ssmall {
    width: 15%;
  }

  .block-btn, .block-btn-vert {
    margin-right: 3px;
  }

  .block-btn-ssmall .btn-joinedside {
    font-size: 12px;
    padding: 0;
  }

  .block-btn-small .btn-joinedside {
    font-size: 8px;
    padding: 0;
  }

  .block-btn-big .btn-joinedside {
    padding: 5px;
  }

  .block-btn-sbig .btn-joinedside {
    padding: 8px;
  }

  .dropdown-content {
    min-width: 120px;
  }

  .image {
    margin: 6px;
  }

  .video-card {
    width: 100%;
    height: 100%;
  }

  .icon-text {
    vertical-align: super;
    font-size: 8px;
  }

  .logo-text {
    font-size: 16px; 
    top: -10px; 
  }

  .login, .register {
    margin: 5px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 8px;
    font-size: 8px;
  }

  .list-block {
    width: max-content;
  }

  .list-block-line {
    padding-right: 3px;
    padding-left: 2px;
  }

  .nav-hor {
    margin-left: var(--vertical-nav-width);
    padding: 5px 0px;
  }

  .nav-vert {
    width: var(--vertical-nav-width);
    height: 100vh;
  }

  .nav-menu {
    padding-left: 10px;
    padding-top: 5px;
  }

  .nav-vert .nav-menu {
    width: 100%;
  }

  .nav-line {
    padding: 3px;
    padding-left: 2px;
  }

  .nav-menu .nav-link {
    padding: 3px 2px;
    font-size: 8px;
  }

  .card-video-thumb {
    height: 140px; 
  }

  .card-video {
    width: 260px; 
  }

  .text-title {
    font-size: 13px;
  }

  .text-channel {
    font-size: 9px;
  }

  .text-infovideo {
    font-size: 7px;
  }

  .text-prof {
    font-size: 24px;
  }

  .visibility-arrow {
    top: 6px;
    height: 6px;
    font-size: 16px;
  }

  #theme-toggle-button {
    width: 12em;
    font-size: 5px;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {

}

@media (min-width: 1024px) and (max-width: 1439px) {
    
}

@media (min-width: 1440px) and (max-width: 1919px) {

}

@media (min-width: 1920px) {
    
}