@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

:root {
  --header-height: 4.3rem;

  --first-color: #5B65F5;
  --first-color-light: #C4C7F5;
  --dark-color: #0E1026;
  --white-color: #FBFBFB;

  --body-font: 'Open Sans', sans-serif;
  --nav-name-font-size: 1.5rem;
  --normal-font-size: .938rem;

  --z-fixed: 100;
}


*, ::before, ::after {
  box-sizing: border-box;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

.bd-grid {
  max-width: 1024px;
  display: grid;
  grid-template-columns: 100%;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 1rem;
  background-color: #eb5757;
  z-index: var(--z-fixed);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header__logo {
  color: var(--dark-color);
}

.header__toggle {
  font-size: 1.7rem;
  cursor: pointer;
}


@media screen and (max-width: 768px) {
  .nav {
    position: fixed;
    top: 55px;
    left: -100%;
    background-color:#eb5757;
    width: 100%;
    height: 100vh;
    padding: 2rem 0;
    z-index: var(--z-fixed);
    transition: .5s;
    overflow-y: auto;
  }
  #check:checked ~ .nav{
    position: fixed;
    transition: 0.5s;
    left: 0%;
  }
  #profile{
    display: none;
  }


}

.nav__content {
  display: flex;
  flex-direction: column;
}

.nav__perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.nav__img {
display:none;
}

.nav__img img {
  width: 70px;
}

.nav__name {
  display: block;
  font-size: var(--nav-name-font-size);
  color: var(--white-color);
}

.nav__item {
  margin-top: -3rem;
  font-size:22px;
  text-align: center;
  margin-bottom: 5rem;
}

.nav__link {


  color:#fff;
}

.nav__link:hover {
background: #333;
color: #fff;
border-radius: 5px;
transition: .5s;
outline: 0;
padding: 7px 17px 7px 17px;
}
.dropdown:hover > .dropdown__menu {
  display: block;
}
.show {
  left: 0;
}


.active {
  color: var(--white-color);
}

.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown__icon {
  font-size: 1.3rem;
  transition: .5s;
}

.dropdown__menu {

  margin: 1rem 0 0 1rem;
  display: none;
}

.dropdown__item {
  position: relative;
  left: -30px;
  margin: 1rem 0;
}






@media screen and (min-width: 0px) {

  #check{
    display: none;
  }




}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
    padding: 0;
  }
  .header {
    height: calc(var(--header-height) + 1rem);
  }
.checkbtn,#check,.checkbtn1, .header__toggle {
    display: none;
  }
  .nav {
    width: 100%;
  }
  .nav__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav__perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
  }
  .nav__img {
    width: 200px;
    height: 40px;
    margin-right: .5rem;
    margin-bottom: 0;
  }
  .nav__img img {
    width: 200px;
  }
  .nav__name {
    color: var(--dark-color);
  }
  .nav__list {
    display: flex;
    align-items: center;
  }
  .nav__item {
    margin-left: 10px;
    margin-right: 0px;
    display: inline-block;
    line-height: 80px;


    text-decoration: none;
    position: relative;
    top: 60px;
    color: white;
    font-size: 17px;
    padding: 7px 13px;
font-weight:600;
    border-radius: 3px;
    text-transform: uppercase;
    font-style: normal;
  }
  .nav__link {
        font-size: 17px;
    color: #fff;
  }
  .nav__link:hover {
    background: #333;
  padding: 8px 20px 8px 20px;
    border-radius: 5px;
  transition: .5s;
  }
  .active {
    background: #333;
padding: 8px 20px 8px 20px;
    border-radius: 5px;

  }
  .dropdown {
    position: relative;

  }
  .dropdown__menu {
    position: fixed;
    top:80px;
    margin: 0;
    background: #eb5757;


    padding: 0 .2rem 0 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius:0 0 .5rem .5rem;
  }
  .dropdown__item {
    margin: 0 1rem;

  }
}
@media screen and (min-width:769px)  {
.header__logo{
  display: none;
}
}
@media screen and (max-width:960px) {
  .header__logo{
    display: none;
  }
}
  @media screen and (max-width:768px)  {
  .header__logo{
    display: block;
  }
  }
  @media screen and (min-width:961px) {
    .header__logo{
      display: block;
    }



}
@media screen and (min-width: 1024px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
}
