@import "fonts.css";

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Geomanist", sans-serif;
    font-size: 16px;
    color: #433D38;
}

* {
    margin: 0;
    padding: 0;
}

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

img {
    width: 100%;
}

header {
    background-color: #FFF;
    box-shadow: 2px 2px 18px #433D3845;
    position: sticky;
    top: 0;
    z-index: 4;
}
.header__left {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    grid-gap: 10px;
    font-weight: bold;
    line-height: 20px;
    color: #66308C;
}
.header__logo:visited {
    color: #66308C;
}
.header__line {
    background-color: #66308C;
    height: 5px;
    width: 100%;
}
.header__content {
    padding: 0px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.header__searchbar {
    background-color: #66308C33;
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.header__searcher {
    background-color: transparent;
    color: #66308C;
    border: none;
    font-size: 18px;
    height: 100%;
    width: 100%;
    outline: none;
}
.header__searcher::placeholder {
    color: #66308C;
    font-weight: bold;
}
.search__icon {
    width: 20px;
}
.searchbar__cont {
    display: none;
}
.left__link {
    text-decoration: none;
}
.header__title {
    justify-self: center;
}
.header__logo--letras {
    width: 50px;
}
.header__title {
    font-size: 24px;
    margin-left: 10px;
    color: #66308C;
}
.header__icon img {
    width: 27px;
}
.header__menu {
    display: none;
}
.header__menu ul {
    display: flex;
    list-style: none;
}
.header__menu a {
    text-decoration: none;
    color: #fff;
}
.header__menu .selected {
    text-decoration: underline;
}
.header__menu__button {
    display: flex;
    top: 0px;
    right: 20px;
    background: transparent;
    border: 0px;
    flex-direction: column;
    margin: 12px 0 12px auto;
    gap: 5px;
    width: 32px;
    z-index: 4;
}
.header__menu--desk{
    display: none;
}
.header__menu__button>div {
    background: #66308C;
    height: 4px;
    width: 100%;
    border-radius: 5px;
    transition: all .5s;
    transform-origin: right;
}

.menu__open .header__menu__button {
    position: fixed;
    gap: 18px;
}
.menu__open .header__menu__button div:first-child {
    transform: rotate(-45deg);
    width: 95%;
}
.menu__open .header__menu__button div:nth-child(2) {
    opacity: 0;
    display: none;
}
.menu__open .header__menu__button div:last-child {
    transform: rotate(45deg);
    width: 95%;
}
.menu__icon img {
    width: auto;
    height: 30px;
}
.menu__rrss a {
    margin-right: 10px;
}

.wrapper {
    max-width: 1200px;
    margin: auto;
}
 

footer {
    background-color: #66308C;
}
.footer__img {
    width: 110px;
}
.footer__picture {
    padding-top: 30px;
    padding-bottom: 20px;
}
.footer__content {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer__links {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}
.footer__link {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    margin-bottom: 10px;
}
.footer__logo {
    display: block;
    width: 120px;
    margin: auto;
}
.footer__rrss {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    margin-right: 40px;
}
.footer__rrss__icon {
    margin: 0 10px;
    width: 24px;
}
.footer__copyright .wrapper {
    margin: auto;
    max-width: 380px;
    padding: 0 20px;
    text-align: center;
}
.footer__item {
    padding: 30px 20px;
    text-align: center;
}
.footer__line {
    width: 95%;
    height: 1px;
    background-color: #FFFFFF;
    margin: auto;
}
.footer__menu__logo img {
    width: 150px;
}
.footer__links__item {
    color: #fff;
    display: block;
    font-size: 16px;
    margin-bottom: 30px;
    text-decoration: none;
    font-family: AmorSans;
}

.footer__links__item:hover,
.footer__links__item:visited,
.footer__phone:hover,
.footer__phone:visited {
    color: #fff;
}

.footer__copyright {
    background-color: #858889;
    padding: 30px 0px 30px 0px;
}
.footer__copyright__text {
    padding-top: 20px;
    font-size: 16px;
    color: #fff;
    margin-bottom: 0;
    font-family: AmorSans;
}
.footer__href {
    padding: 30px 20px;
    text-align: center;
}
.footer__phone {
    align-items: center;
    background-color: #EF7B21;
    color: #fff;
    display: flex;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 20px;
    width: fit-content;
    height: 30px;
    margin: auto auto 20px auto;
    font-family: AmorSans;
}
.footer__phone img {
    width: 17px;
    margin-right: 6px;
}
.footer__ul {
    display: flex;
    justify-content: center;
    list-style: none;
}
.footer__ul li:nth-child(2) a {
    margin-left: 20px;
    font-style: italic;
    font-weight: normal;
}
.footer__ul a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    font-family: AmorSans;
}
.footer__ul img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
}
.footer__copyright__logo {
    width: 180px;
}

#mi-menu {
    position: fixed;
    top: 0;
    right: -232px;
    width: 232px;
    height: 100%;
    background-color: #fff;
    color: #fff;
    text-align: left;
    transition: right 0.5s;
    z-index: 2;
    padding: 10px;
    -webkit-box-shadow: -9px 0px 5px -3px rgba(0,0,0,0.28);
    -moz-box-shadow: -9px 0px 5px -3px rgba(0,0,0,0.28);
    box-shadow: -9px 0px 5px -3px rgba(0,0,0,0.28);
}
#mi-menu.mostrar {
    right: 0;
}
#mi-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
}
#mi-menu ul li a {
    color: #66308C;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

#mostrar-menu {
    position: absolute;
    top: 16px;
    left: 10px;

}
 
.list__item--italic {
    font-style: italic;
    font-weight: bold;
}
.item__icon {
    margin: 0;
    padding: 0;
    height: 25px;
    width: 25px;
    margin: 3px;
    margin-left: 25px;
}
.list__item {
    margin: 0px;
}
.item__icon--youtube {
    width: 34px;
    margin-left: 10px;
}

.main__btn--green {
    background-color: #7AB700 !important;
    color: #fff !important;
    margin-top: 15px;
}

.bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
}

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

    .header__logo {
        font-size: 20px;
        line-height: 26px;
    }

    .footer__href {
        padding: 30px 15px;
    }
    .footer__content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .footer__links {
        width: auto;
        margin-top: 0;
        text-align: left;
        align-items: center;
        justify-content: flex-start;
        margin-left: 30px;
    }
    .footer__link {
        align-self: flex-start;
    }
    .footer__link:last-child {
        margin-bottom: 0;
    }
    .footer__content {
        flex-direction: row;
       
    }

}

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

    .header__logo {
        font-size: 22px;
    }

}

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

    .header__menu--desk{
        display: block;
     }
     .header__menu--desk .ul__desk ul{
        background-color: yellow;
     }
    .menu__desk--img{
        width: 15px;
    }
    .dropbtn {
        background-color: #FFF;
        color:  #66308C;
        padding: 16px 5px;
        font-size: 20px;
        border: none;
        font-weight: bold;
    }
    .dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #fff;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
    .dropdown-content a {
        color:  #66308C;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown-content a:hover {
        background-color: #fff;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .dropdown:hover .dropbtn {
        background-color: #fff;
    }
    .header__icon {
        display: none;
    }
    #mi-menu .header__menu {
        display: none;
    }
    .header__menu__button {
        display: none;
    }
    .header__search {
        display: block;
    }
    .header__right {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .searchbar__cont {
        display: block;
    }
    #mi-menu {
        position: relative;
        right: auto;
        height: auto;
        width: auto;
        padding: 0;
        box-shadow: none;
    }
    .menu__rrss {
        margin: auto;
        text-align: right;
    }
    .right__title {
        display: none;
    }
    .list__item {
        font-size: 16px !important;
        margin: 0;
        padding: 0;
        padding-left: 10px;
        align-self: center;
    }
    .item__icon {
        width: 35px;
        height: 35px;
    }
    .item__icon--youtube {
        width: 45px;
    }
    .list__item:not(:first-child)::before {
        content: "";
        position: absolute;
        top: 18px;
        width: 1px;
        height: 35px;
        background-color: #fff;
    }
    
}

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

    .header__logo {
        font-size: 26px;
        line-height: 30px;
    }
    .header__searchbar {
        width: 500px;
    }
    .header__line {
        height: 10px;
    }
    .header__logo--letras {
        width: 60px;
    }

}