* {
    --orange1: #dc2c1b;
    --orange2: #e34918;
    --blue: #012350;
    --whitet: rgba(255, 255, 255, 0.75);
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    max-width: 100%;
}


nav {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

#logo {
    position: absolute;
    top: 15px;
    left: 50px;
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    height: 110px;
    transition: top 0.3s;
    background-color: white;
    z-index: 1;
}

main {
    position: relative;
    top: 120px;
}

nav ul {
    display: flex;
    flex-direction: row;
}

nav ul li {
    display: flex;
    justify-content: flex-end;
}

nav ul li a {
    list-style: none;
    text-decoration: none;
    color: black;
}

#nav_menu {
    display: flex;
    flex-direction: row;
}

.navitem {
    margin-top: 20px;
    margin-right: 20px;
    padding: 30px;
    text-align: right;
    font-weight: 600;
    list-style: none;
    text-decoration: none;
    color: black;
}

#navbar label {
    position: relative;
    margin: 0 40px 0 0;
    font-size: 26px;
    line-height: 70px;
    display: none;
    top: 20px;
    transition: top 0.3s;
}

#nav_toggle {
    display: none;
}

#list_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    margin-top: 150px;
    margin-bottom: 50px;
    user-select: none;
}

.item_container {
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
}


.product_button {
    background-color: var(--orange1);
    margin: auto;
    width: 20vw;
    padding: 10px;
    margin: 20px auto 30px;
    font-size: 1em;
    font-weight: 600;
    color: var(--whitet);
    padding: 10px;
    margin: 15px 0 15px 0;
    border-radius: 10px;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.295);
    text-align: center;
    min-width: 200px;
}

.product_button:hover {
    background-color: var(--orange2);
    transition: 0.2s ease-in-out;
}

.menu1 {
    display: none;
}

.menu1 a {
    width: 100%;
    color: gray;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px gray solid;
    min-width: 300px;
    max-width: 300px;
}

.menu1 a:hover {
    color: var(--blue);
    transition: 0.5s;
}

#toggle1 {
    display: none;
}

#toggle1:checked+.menu1 {
    display: flex;
    flex-direction: column;
}

.menu2 {
    display: none;
}

.menu2 a {
    width: 100%;
    color: gray;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px gray solid;
    min-width: 300px;
    max-width: 300px;
}

.menu2 a:hover {
    color: var(--blue);
    transition: 0.5s;
}

#toggle2 {
    display: none;
}

#toggle2:checked+.menu2 {
    display: flex;
    flex-direction: column;
}

.menu3 {
    display: none;
}

.menu3 a {
    width: 100%;
    color: gray;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px gray solid;
    min-width: 300px;
    max-width: 300px;

}


.menu3 a:hover {
    color: var(--blue);
    transition: 0.5s;
}

#toggle3 {
    display: none;
}

#toggle3:checked+.menu3 {
    display: flex;
    flex-direction: column;
}

.redes {
    padding: 10px;
    margin: 10px;
}

.redes img {
    width: 30px;
    height: auto;
}

.title1 {
    font-size: 3em;
    padding-top: 2em;
    font-weight: 600;
    margin-left: 10vw;
    margin-right: 10vw;
}

.title2 {
    font-size: 2.4em;
    color: var(--orange1);
    padding-top: 1em;
    font-weight: 600;
    margin: 2em auto auto auto;
    text-align: center;
}

.title3 {
    font-size: 2em;
    color: black;
    padding-top: 1em;
    font-weight: 600;
    margin-left: 100px;
    margin-right: 60px;
}

.parr1 {
    padding-top: 2em;
    font-size: .9em;
    font-weight: 600;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-bottom: 15vh;
}

.parr2 {
    padding-top: 2em;
    font-size: 1em;
    font-weight: 600;
    margin: auto;
    margin-bottom: 50px;
    width: 50vw;
    text-align: center;
}

.parr3 {
    padding-top: 2em;
    font-size: 1em;
    font-weight: 600;
    margin: auto;
    margin-left: 100px;
    margin-bottom: 50px;
    width: 400px;
    text-align: left;
    color: black;
}

.slider {
    width: 50vw;
    margin: auto;
    min-height: 500px;
}

.slider-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    min-height: 500px;

}

.slide {
    float: left;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0 linear;
    object-fit: cover;
    min-height: 600px;
}

.slider-wrapper>.slide:first-child {
    opacity: 1;
}


.article {
    display: flex;
    flex-direction: row;
    max-height: 500px;
    overflow: hidden;
}

.article3 {
    display: flex;
    flex-direction: row;
}

.article2 {
    display: block;
    margin-bottom: 70px;
}


.section {
    width: 50vw;
    height: auto;
    background-color: var(--orange1);
    background: linear-gradient(to right, var(--orange1), var(--orange2));
    color: var(--whitet);
}

.section2 {
    width: 50vw;
    height: auto;
    background-color: var(--blue);
    color: var(--whitet);
}


.section3 {
    display: block;
    width: 50vw;
    height: 200px;
}

.section p span {
    color: white;

}

#product_header {
    display: flex;
    position: relative;
    top: 120px;
    width: 100vw;
    height: 250px;
    background-color: var(--orange1);
    color: var(--whitet);
    font-size: 2em;
    align-items: center;
    justify-content: center;
    background-image: url(./images/tren_catalogo.jpeg);
    background-size: cover;
}

#contacth {
    display: flex;
    width: 50vw;
    height: 300px;
}

#cont {
    display: grid;
    grid-template-rows: 1fc;
}

.emp_headerimg {
    display: block;
    object-fit: cover;
    width: 50vw;
    height: 800px;
    justify-content: center;
    align-items: center;
}

.emp_headerimg2 {
    display: block;
    object-fit: cover;
    width: 50vw;
    height: 800px;
    justify-content: center;
    align-items: center;
    margin-bottom: 120px;
}

#contact-header {
    display: flex;
    width: 50vw;
    height: 300px;
    background-color: var(--orange2);
    object-fit: cover;
}

#contact-info ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    margin: auto;
}

#contact-info ul li {
    padding: 100px 20px 100px 0;
    text-align: center;
    list-style: none;
    text-decoration: none;
    font-size: 1.3em;
}

#contact-info ul li a {
    text-decoration: none;
    color: black;
}

.iconify {
    font-size: 2em;
    padding-left: 90px;
    color: var(--orange1);
}

.galery {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    list-style: none;
    text-align: center;
    margin-top: 100px;
}

.galery_img {
    width: 300px;
    height: 300px;
    min-width: 200px;
    margin: auto;
    object-fit: cover;
}


.brands {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 50vw;
}

.brands ul {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 50vw;
}

.brands li {
    padding: 10px;
    text-decoration: none;
    list-style: none;

}

#alta-cliente {
    background-color: var(--orange1);
    margin: auto;
    width: 30vw;
    padding: 10px;
    margin: 20px auto 30px;
    font-size: 1em;
    font-weight: 600;
    line-height: 40px;
    color: var(--whitet);
    text-align: center;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.295);
}

#alta-cliente .title {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--whitet);
    text-align: center;
}

#alta-cliente a {
    background-color: var(--orange2); margin: auto;
    padding: 10px;
    margin: 20px auto 30px;
    font-size: 1em;
    font-weight: 600;
    color: var(--whitet);
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.295);
}

#alta-cliente a:hover {
    background-color: var(--orange1);
    transition: 0.3s ease-in-out;
}

#alta-cliente p {
    font-size: 0.8em;
}

#form-container {
    display: grid;
    grid-template-rows: 1fr;
    text-align: center;
}

#form-title {
    display: grid;
    grid-template-columns: 1fr;
}

#form-t1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2em;
    margin: 20px;
}

#form-t2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    color: grey;
    margin: 20px;
}

form {
    display: grid;
    grid-template-rows: 1fr;
    width: 600px;
    height: auto;
    margin: auto auto 120px auto;

}

form input {
    padding: 10px;
    margin: 15px 0 15px 0;
    border-radius: 10px;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.295);
    width: 600px;
}

form select {
    padding: 10px;
    margin: 15px 0 15px 0;
    border-radius: 10px;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.295);
    color: gray;
}

form textarea {
    padding: 10px;
    margin: 15px 0 15px 0;
    border-radius: 10px;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.295);
    resize: none;
}



#submit {
    background-color: var(--orange1);
    margin: auto;
    width: 20vw;
    padding: 10px;
    margin: 20px auto 30px;
    font-size: 1em;
    font-weight: 600;
    color: var(--whitet);
}

#submit:hover {
    background-color: #e34918;
    transition: 0.3s ease-in-out;
}

.footer {
    background-color: var(--blue);
    color: var(--whitet);
    width: 100%;
    display: grid;
    height: 200px;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding-top: 40px;
    text-align: center;
}

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



.footer ul li a {
    text-decoration: none;
    color: var(--whitet);
    font-weight: 600;
}

.footer ul li span {
    text-align: center;
    color: var(--whitet);
    font-weight: 400;
    font-size: 0.9em;
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}


@media (max-width: 1000px) {

    #navbar {
        height: 110px;
    }

    #logo img {
        width: 180px;
    }

    #nav_menu {
        position: relative;
        top: 130px;
        display: none;
        width: 100%;
        height: 100%;
    }

    .navitem {
        background-color: white;
        display: block;
        text-align: center;
        margin: -10px;
        width: 100vw;
        font-size: 2.2em;
        padding: 50px;
    }

    #navbar label {
        display: block;
        cursor: pointer;
        width: 26px;
        font-size: 50px;
        float: right;
        position: fixed;
        top: 40px;
        right: 40px;
    }

    #nav_toggle:checked+#nav_menu {
        display: block;
        float: right;
    }

    .redes {
        display: none;
    }


    .article {
        flex-direction: column;
        height: auto;
        font-size: small;
    }

    .article2 {
        flex-direction: column;
        max-height: auto;
        height: auto;
        font-size: medium;
    }


    .article3 {
        flex-direction: column;
        max-height: auto;
        justify-content: center;
        align-items: center;
        height: auto;
        font-size: medium;

    }

    .section {
        width: 100%;
        padding: 0 0 30px 0;
        height: auto;
        font-size: medium;
    }

    .section2 {
        width: 100%;
        height: auto;
        font-size: medium;
    }

    .section3 {
        width: 100%;
        height: auto;
        font-size: medium;
    }

    #contacth {
        width: 100vw;
    }

    #contact-header {
        width: 100vw;
    }

    #product_header {
        font-size: 1.3em;
    }

    .emp_headerimg {
        width: 100%;
    }

    #main-slider {
        width: 100%;
    }

    .slide {
        height: 100px;
    }

    .galery_img {
        width: auto;
        height: auto;
    }

    .emp_headerimg {
        width: 100vw;
    }

    .emp_headerimg2 {
        width: 100%;
    }

    #list_container {
        grid-template-columns: 1fr;
    }

    form {
        width: 100%;
    }

    form input {
        align-items: center;
        width: 80vw;
    }

    form textarea {
        justify-self: center;
        width: 80vw;
    }

    form select {
        justify-self: center;
        width: 85vw;
    }
    
    .brands {
        align-items: center;
    }

    .brands ul {
        grid-template-columns: 1fr;
    }

    #submit {
        width: 20vw;
        padding: 10px;
        margin: 20px auto 30px;
        font-size: 1em;
        font-weight: 600;
        color: var(--whitet);
    }

    #contact-info ul {
        display: grid;
        grid-template-columns: 100px 300px;
        margin: 30px auto 30px auto;
    }

    #contact-info ul li {
        margin: 20px;
        padding: 0;
        text-align: left;
        justify-self: center;
    }

    .icon {
        justify-self: right;
    }

    .footer {
        background-color: var(--blue);
        color: var(--whitet);
        width: 100%;
        display: grid;
        height: auto;
        width: 100%;
        position: relative;
        bottom: 0;
    }

    .footer ul {
        display: grid;
        grid-template-columns: 1fr;
        padding-top: 0;
        text-align: center;
    }

    .footer ul li {
        margin: 20px auto 50px auto;
    }

    .footer ul li img {
        margin: 30px auto auto auto;
    }

    .footer ul li a {
        font-size: 0.8em;
    }
}