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

html{
    height: 100%;
}
:root{
    --first: #8080ff;
    --second : #c8c8ff;
    --back: #ffffff;
    --clear : #f5f5f5;
    --gray : #e8e8e8;
    --dark: #363636;
    --red: #FB5555;
    --green : #94D82D;
}

/* Body */
body{
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Open Sans';
    background-color: var(--clear);
    min-height: 100%;
}

/* Header */
.public-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 125px;
    width: 100%;
    background-color: var(--back);
    box-shadow: 0 0 6px var(--second);
    padding: 0 10%;
}
.logo-search{
    display: flex;
    flex-direction: row;
    align-items: center;
    /* width: 60%; */
    min-width: 40%;
}
#logo{
    height: 100%;
    aspect-ratio: 3/2;
    margin: 0 20px;
    cursor: pointer;
}

#logo img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.buttons{
    opacity: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
    margin-left: 20px;
    flex-grow: 1;
    gap: 15px;
    width: 50%;
    max-width: 60%;
}
.buttons .buttons-l{
    display: flex;
    flex-direction: row;
    gap: 15px;
    
    & .buttons-logo{
        display: none;
        width: 90%;
        height: fit-content;

        & img{
            height: auto;
            width: 100%;
        }
    }
}

#burger{
    display: none;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 100%;
    background-color: var(--first);
}
#burger button{
    margin: auto;
    height: 30px;
    aspect-ratio: 1/1;
    background-image: url("../assets/icons/menu-b.png");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
    border-radius: 25px;
    border: 2px solid var(--back);
    background-color: var(--back);
    transition: .2s;
}
#burger button:hover{
    background-image: url("../assets/icons/menu-w.png");
    background-color: var(--second);
}
#burger button:active{
    background-color: var(--first);
}
/* main */

/* Carrusel */
.carousel{
    max-height: 500px;
    overflow: hidden;
}
.carousel .carousel-item{
    height: 100%;
    object-fit: cover;
}
.carousel-item{
    width: 100%;
}
.carousel-inner{
    max-height: 500px;
    display: flex;
    align-items: center;
}
.carousel-control-next-icon{
    background-image: url("../assets/icons/arrow-b.png");
    transform: rotate(180deg);
}
.carousel-control-prev-icon{
    background-image: url("../assets/icons/arrow-b.png");
}

/* footer */
.public-footer {
    display: flex;
    flex-direction: row;
    height: 150px;
    width: 100%;
    background-color: var(--gray);
    padding: 20px;
    margin-top: auto;
}

.public-footer .section-1, footer .section-2{
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: space-around;
}

.public-footer h6 {
    font-weight: bold;
    color: var(--first);
}

.public-footer ul {
    padding: 0;
}

.public-footer li {
    list-style: none;
}

.public-footer a {
    text-decoration: none;
    color: var(--dark);
    font-size: small;
}

.logo-vde{
    height: 100%;
    aspect-ratio: 2/1;
}

.logo-vde a{
    height: 100%;
    width: 100%;
}

.logo-vde a img{
    height: 100%;
    width: 100%;
    overflow: hidden;
    object-fit: contain;
}

.contactanos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contactanos .botones {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.contactanos .botones a {
    height: 30px;
    aspect-ratio: 1/1;
    background-color: var(--first);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 68%;
    transition: .2s;
    border: 2px solid var(--first);
}

.contactanos .botones a:hover {
    background-color: var(--second);
}

.contactanos .botones a:active {
    background-color: var(--back);
}

.contactanos .botones .facebook {
    background-image: url("../assets/icons/redes/facebook-w.png");
}

.contactanos .botones .facebook:active {
    background-image: url("../assets/icons/redes/facebook.png");
}

.contactanos .botones .instagram {
    background-image: url("../assets/icons/redes/instagram-w.png");
}

.contactanos .botones .instagram:active {
    background-image: url("../assets/icons/redes/instagram.png");
}

.contactanos .botones .mail {
    background-image: url("../assets/icons/redes/mail-w.png");
}

.contactanos .botones .mail:active {
    background-image: url("../assets/icons/redes/mail.png");
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] { 
    appearance: textfield;
    -moz-appearance:textfield; 
}

button:focus-visible{
    outline: none;
    box-shadow: 0 0 5px 2px var(--first);
}
input:focus-visible, textarea:focus-visible{
    outline: none;
    box-shadow: 0 0 5px var(--first);
}

/* Firefox */
* {
    scrollbar-width: none;
    scrollbar-color: var(--first) var(--back);
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 7px;
    height: 5px;
  }

  *::-webkit-scrollbar-track {
    background: var(--back);
  }

  *::-webkit-scrollbar-thumb {
    background-color: var(--first);
  }
  @media only screen and (max-width: 1300px){
    .public-header{
        flex-direction: column;
        height: fit-content;
        padding-bottom: 15px;
    }
    
    .logo-search {
        width: 100%;
        justify-content: space-between;
    }
    .buttons {
        width: 100%;
        max-width: 100%;
        padding: 0 25px 0 25px;
    }
    .search-bar{
        min-width: calc(100% - 250px) !important;
    }
  }
  @media only screen and (max-width: 950px) {
    .public-header{
        padding: 0;
        padding-bottom: 15px;
    }
    .public-nav {
        width: 100%;
    }

    .public-nav .select {
        width: 170px !important;
    }
    
}
  @media only screen and (max-width: 720px){
    footer a{
        font-size: x-small;
    }
    footer h6{
        font-size: small;
    }
    .logo-vde {
        height: 70%;
    }
  }

  @media only screen and (max-width: 600px){
    .public-footer{
        flex-direction: column;
        height: fit-content;
    }

    .public-footer .section-1, footer .section-2{
        width: 100%;
    }

    .public-footer a{
        font-size: small;
    }
    .public-footer h6{
        font-size: medium;
    }

    .logo-vde{
        height: 90px;
    }

    .public-header{
        padding-bottom: 0px;
    }
    .logo-search{
        flex-direction: column;
        padding: 10px;
    }
    .search-bar{
        max-width: 100%;
        margin: 0 !important;
    }
    #logo{
        height: 70px;
    }

    .search-bar input{
        font-size: 12px;
    }

    #burger{
        display: flex;
    }

    .buttons-l{
        flex-direction: column !important;
        align-items: center;
        padding-top: 25px;

        & .buttons-logo{
            display: flex !important;
        }
    }
    .buttons-r{
        padding-bottom: 50px;
    }

  }