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

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*===== Colors =====*/
  --first-color: #fff;
  --first-color-light: #C4C7F5;
  --dark-color: #0E1026;
  --white-color: #FBFBFB;

  /*===== Font and typography =====*/
  --body-font: 'Open Sans', sans-serif;
  --nav-name-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*===== z index =====*/
  --z-fixed: 100;
}

    .company_name {
        font-size: larger;
    }

    .hide {
        display: none;
    } 


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

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

.phoneview{
  display: none;
}

a {
  text-decoration: none;
}

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


.btn-outline-sm {
                        display: inline-block;
                        padding: 0.875rem 1.5rem 0.875rem 1.5rem;
                        border: 4px solid #1d2e6c;
                        border-radius: 2rem;
                        background-color: transparent;
                        color: #1d2e6c;
                        font: 700 0.875rem/0 "Open Sans", sans-serif;
                        text-decoration: none;
                        transition: all 0.2s;
                    }

                    .btn-outline-sm:hover {
                        color: #fff;
                        background-color: #1d2e6c;
                        border: 4px solid #1d2e6c;
                    }

/*===== HEADER =====*/
.header {
  font-size: var(--normal-font-size);
  font-weight: 600;
  position: fixed;
  top: 0;
  font-family: var(--body-font);
  padding: 10px;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + 1rem);
  background-color: var(--first-color);
  z-index: var(--z-fixed);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 16px 11px rgba(0, 0, 0, 0.1);
}

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

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

.nav {
  background-color: var(--first-color);
}

hr {
  background-color: var(--first-color);
}

.register {
  font-size: 11px;
  background-color: #1d2e6c;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  border: none;
  margin-top: 7px;
  text-transform: capitalize;
  font-weight: 600;
  transition: all 0.3s ease;
}

.register:hover {}

.drops {
  color: #1d2e6c;
}

.drops:hover {
  color: #000;
}





/*===== NAV =====*/
@media screen and (max-width: 1000px) {

  .company_name {
    color: #1d2e6c;
  }

  .phoneview{
    display: block;
  }

  .down {
    margin-left: -120px;
  }

  .nav {
    position: fixed;
    top: 0;
    box-shadow: 0 16px 11px rgba(0, 0, 0, 0.1);
    left: -100%;
    background-color: var(--first-color);
    width: 80%;
    height: 105vh;
    padding: 2rem 0;
    z-index: var(--z-fixed);
    transition: .5s;
    overflow-y: auto;
  }

}


.drops {
  color: #1d2e6c;
}

.drops:hover {
  color: #000;
}

.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: flex;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 7%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.icon_img {
  width: 100%;
}

.nav__img img {
  width: 70px;
}

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

.nav__subtitle {
  font-size: 12px;
  color: #c79811;
}

.nav__item {
  margin-bottom: 20px;
}

.dropdown__menu {
  background: white;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  width: 160px;
  border-radius: 10px;
}

.dropdown__item {
  color: black;
}

.nav__link {
  color: #1d2e6c;
  cursor:pointer;
}

.nav__link:hover {}

/*Show menu*/
.show {
  left: 0;
}

/*Active link*/



/*=== Dropdown ===*/
.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 {
  margin: 5px 10px;
}


.dropdown:hover>.dropdown__menu {
  display: block;
}

.dropdown:hover .dropdown__icon {
  transform: rotate(180deg);
}

/* ===== MEDIA QUERIES=====*/

@media screen and (max-width: 1000px) {
  .nav {
    width: 80%;
  }

}

@media screen and (max-width: 600px) {
  .nav {
    width: 80%;
  }

}


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

  .register {
    font-size: 9px;
    background-color: #1d2e6c;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-top: 7px;
    text-transform: capitalize;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .navbar {
    display: none;
  }

  .company_name {
    display: none;
  }

  body {
    margin: 0;
  }

  .header {
    height: calc(var(--header-height) + 1rem);
    padding: 0px;
    box-shadow: 0 16px 11px rgba(0, 0, 0, 0.1);

  }

  .header__logo,
  .header__toggle {
    display: none;
  }

  .nav {
    width: 100%;
  }

  .nav__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav__content:hover {
    flex-direction: row;
    color: black;
    align-items: center;
  }

  .nav__perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
  }

  .nav__img {
    width: 40px;
    height: 40px;
    margin-right: .5rem;
    margin-bottom: 0;
  }

  .nav__img img {
    width: 46px;
  }

  .nav__name {
    color: #1d2e6c;
    font-size: 14px;
  }

  .nav__subtitle {
    font-size: 8px;
    color: #c79811;
  }

  .nav__list {
    display: flex;
    align-items: center;
  }

  .nav__item {
    margin: 0 1.5rem;
    padding: 1.4rem 0;
  }

  .nav__link {
    color: #1d2e6c;
    font-size: 10px;
    cursor:pointer;
  }

  .nav__link:hover {}

  .dropdown {
    position: relative;
  }

  .dropdown__menu {
    position: fixed;
    margin: 0;
    top: calc(var(--header-height) + 1rem);
    padding: .5rem 1.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
  }

  .dropdown__item {
    margin-left: 15px;
    margin: .5rem 0;
  }

}

@media screen and (min-width: 850px) {
  .nav__link {
    color: #1d2e6c;
    font-size: 15px;
  }
}


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

  .navbar {
    display: none;
  }

  .company_name {
    display: none;
  }

  body {
    margin: 0;
  }

  .header {
    height: calc(var(--header-height) + 1rem);
    padding: 0px;
    box-shadow: 0 16px 11px rgba(0, 0, 0, 0.1);

  }

  .header__logo,
  .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: 40px;
    height: 40px;
    margin-right: .5rem;
    margin-bottom: 0;
  }

  .nav__img img {
    width: 46px;
  }

  .nav__name {
    color: #1d2e6c;
    font-size: 16px;
  }

  .nav__subtitle {
    font-size: 9px;
    color: #c79811;
  }

  .nav__list {
    display: flex;
    align-items: center;
  }

  .nav__item {
    margin: 0px 20px;
    padding: 1.4rem 0;
  }

  .nav__link {
    color: #1d2e6c;
    font-size: 13px;
    cursor:pointer;
  }

}

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

  .nav__link {
    color: #1d2e6c;
    font-size: 14px;
  }
}


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

  .navbar {
    display: none;
  }

  .company_name {
    display: none;
  }

  body {
    margin: 0;
  }

  .header {
    height: calc(var(--header-height) + 1rem);
    padding: 0px;
    box-shadow: 0 16px 11px rgba(0, 0, 0, 0.1);

  }

  .header__logo,
  .header__toggle {
    display: none;
  }

  .nav {
    width: 100%;
  }

  .nav__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav__content:hover {
    flex-direction: row;
    color: black;
    align-items: center;
  }

  .nav__perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
    margin-left: -20px;
  }

  .nav__img {
    width: 40px;
    height: 40px;
    margin-right: .5rem;
    margin-bottom: 0;
  }

  .nav__img img {
    width: 46px;
  }

  .nav__name {
    color: #1d2e6c;
    font-size: 18px;
  }

  .nav__subtitle {
    font-size: 11px;
    color: #c79811;
  }

  .nav__list {
    display: flex;
    align-items: center;
  }

  .nav__item {
    margin: 0 1.5rem;
    padding: 1.4rem 0;
  }

  .nav__link {
    color: #1d2e6c;
    font-size: 15px;
    cursor:pointer;
  }

  .nav__link:hover {
    
  }

  .dropdown {
    position: relative;
  }

  .dropdown__menu {
    position: fixed;
    margin: 0;
    top: calc(var(--header-height) + 1rem);
    padding: .5rem 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    border-radius: .5rem;
  }

  .dropdown__item {
    margin-left: 15px;
    margin: .5rem 0;
  }

}

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


@media screen and (min-width: 1200px) {
  .nav__perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
    margin-left: -75px;
  }

  .register {
    font-size: 13px;
  }
}

@media screen and (min-width: 769px) {
  :root {
    --nav-name-font-size: 1rem;
    --normal-font-size: 1rem;
  }
}

/* Default state: arrow pointing down */
.dropdown__link .down {
    transition: transform 0.3s ease;
}

/* Hover state: arrow pointing up */
.dropdown:hover .down {
    transform: rotate(180deg);
}


