@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

* {
    margin: 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

body {
    background-color: #f5f5fa;
}

header {
    display: flex;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    color: #1c7cf8;
    margin-top: 15px;
}

header h1 {
    margin-right: auto;
}

nav {
    display: flex;
    margin-left: auto;
    gap: 30px;
}

nav a {
    text-decoration: none;
    font-weight: bolder;
    color: #1c7cf8;

}

hr {
    width: 70%;
    border: 1px solid rgb(211, 210, 210);
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

article {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(img/soluciones-tecnologicas.jpeg);
    color: white;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    height: 40vh;
    padding: 20px;
    background-size: cover;
    background-repeat: no-repeat;
}

article h1 {
    margin: 20px;
    font-size: xx-large;

}

article p {
    font-size: large;
}

#boton {
    border: none;
    background-color: #1c7cf8;
    color: white;
    border-radius: 7px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    margin-top: 70px;
    height: 60px;
    padding: 10px;
    transition: 1s;

}

#boton:hover {
    transform: scale(1.1);
}

aside {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

aside h2 {
    margin-left: auto;
    margin-right: auto;
    color: #1c7cf8;

}

aside hr {
    width: 10%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #1c7cf8;
    margin-bottom: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

.primero {
    grid-column: 1;
}

.segundo {
    grid-column: 2;

}

.tercero {
    grid-column: 3;

}

.cuarto {
    grid-column: 4;

}

.alto {
    background-color: #dcebf7;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    text-align: center;
    justify-items: center;
    padding: 50px;
}

.alto i {
    color: #1c7cf8;
    font-size: xx-large;
}

.bajo {
    background-color: white;
    text-align: center;
    padding: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 200px;
}

.bajo h3 {
    color: #1c7cf8;
    margin: 10px;
}

.bajo p {
    color: rgb(179, 179, 179);
    margin: 10px;
}

.formato {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    height: auto;
    border-radius: 10px;
}

.formulario {
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    text-align: center;
    padding-top: 50px;
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.formulario h2 {
    color: #1c7cf8;
}

.formulario hr {
    border: 1px solid #1c7cf8;
    width: 10%;
    margin-bottom: 20px;
}

.formulario p {
    color: gray;
    font-size: medium;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-weight: lighter;
    margin-bottom: 20px;
}

form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    grid-gap: 30px;
    color: rgb(77, 76, 76);
}

form div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.textarea {
    grid-row: 5;
    grid-column: span 2;
    width: 100%;
}

button {
    grid-row: 6;
    grid-column: span 2;
}

.box {
    display: flex;
    flex-direction: row;
    gap: 10px;

}

.inputs {
    height: 40px;
    border: 1px solid gray;
    border-radius: 7px;
}

.espacio {
    gap: 15px;
}

label {
    margin-bottom: 10px;
}

.box label {
    margin-bottom: 0px;


}

textarea {
    height: 160px;
}

button {
    margin-bottom: 20px;
    background-color: #1c7cf8;
    border: none;
    color: white;
    height: 65px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    transition: 1s;
}

button:hover {
    transform: scale(1.05);
}

footer {
   
    color: white;
    background-color: #1c7cf8;
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
}
footer .grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
footer div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


footer div hr {
    width: 100%;
    border: 1px solid rgb(0, 132, 255);
    margin-top: 10px;
    margin-bottom: 10px;
}

footer a {
    text-decoration: none;
    color: white;
    font-weight: lighter;
    transition: 1s;
}


footer a:hover {
    transform: scale(1.05);
}

footer div p{
    font-weight: lighter;
}

#ultimo{
    grid-column: span 3; 
    grid-row: 2; 
    text-align: center;
}

@media screen and (min-width:768px) and (max-width:992px) {
    footer .grid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
    }

    .formulario {
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        text-align: center;
        padding-top: 50px;
        border-radius: 15px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    }

    aside {
        display: flex;
        flex-direction: column;
        margin-top: 15px;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .grid {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .primero {
        grid-row: 1;
        grid-column: 1;
    }
    
    .segundo {
        grid-row: 1;
        grid-column: 2;
    }
    
    .tercero {
        grid-row: 2;
        grid-column: 1;
    
    
    }
    
    .cuarto {
        grid-row: 2;
        grid-column: 2;
    
    }
    
    article {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
            url(img/soluciones-tecnologicas.jpeg);
        color: white;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        border-radius: 15px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
        text-align: center;
        align-content: center;
        height: 40vh;
        padding: 20px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    header {
        display: flex;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        color: #1c7cf8;
        margin-top: 15px;
    }

    hr {
        width: 95%;
        border: 1px solid rgb(211, 210, 210);
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
    }

    .formulario {
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        text-align: center;
        padding-top: 50px;
        border-radius: 15px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    }
    
    form {
        display: grid;
        grid-template-rows: repeat(8, auto);
        grid-template-columns: 1fr;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        grid-gap: 30px;
        color: rgb(77, 76, 76);
    }
    
    .textarea {
        grid-row: 8;
        width: 100%;
    }
    
    button {
        grid-row: 9;
    
    }
    
    form div{
        grid-column: 1;
    }
    
}

@media screen and (max-width:768px) {
header{
    display: flex;
    flex-direction: column;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    color: #1c7cf8;
    margin-top: 15px;
    text-align: center;
}
header h1{
    margin-left: auto;
    margin-right: auto;
}
nav{
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

article {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(img/soluciones-tecnologicas.jpeg);
    color: white;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    align-content: center;
    height: 40vh;
    padding: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
}
aside {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 1fr;
    grid-gap: 30px;
    margin-left: auto;
    margin-right: auto;
}

.primero {
    grid-row: 1;
    grid-column: 1;
}

.segundo {
    grid-row: 2;
    grid-column: 1;
}

.tercero {
    grid-row: 3;
    grid-column: 1;


}

.cuarto {
    grid-row: 4;
    grid-column: 1;

}

.formulario {
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    text-align: center;
    padding-top: 50px;
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

form {
    display: grid;
    grid-template-rows: repeat(8, auto);
    grid-template-columns: 1fr;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    grid-gap: 30px;
    color: rgb(77, 76, 76);
}

.textarea {
    grid-row: 8;
    width: 100%;
}

button {
    grid-row: 9;

}

form div{
    grid-column: 1;
}

footer{
    overflow-x: hidden;
}

footer .grid{
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    overflow-x: hidden;
}


#ultimo{
    grid-column: 1; 
    grid-row: 4; 
    text-align: center;
    margin-bottom: 10px;
}

.uno {
    grid-row: 1;
    grid-column: 1; 

}

.dos {
    grid-row: 2;
    grid-column: 1; 


}

.tres {
    grid-row: 3;
    grid-column: 1; 

}

article p {
    font-size: small;
}

#boton {
    border: none;
    background-color: #1c7cf8;
    color: white;
    border-radius: 7px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    height: 60px;
    padding: 10px;
    transition: 1s;

}
}