/* Estilos generales */

:root {
    --primary-color: #002be1;
    --secondary-color: #072ee1;
    --accent-color: #ff501f;
    --text-color: #ffffff;
    --text-color2: #121323;
    --bg-light: #ffffff;
    --spacing-unit: 1rem;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
head img {
    width: 30px;
}

body {
   font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
} 

ul {
  list-style: none;  
}

/* Estilos barra de navegación */

.nav-bar {
    background-color: var(--secondary-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
}

.nav-bar img {
    padding: 10px;
    width: 160px;
}

.nav-bar ul {
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: 20px;
}

.nav-bar a {
    font-size: 18px;
    font-weight: 100;
    color: #ffffff;
}

.nav-bar a:hover {
    cursor: cell;
    color: var(--accent-color);
    font-weight: bold;
}

/* Sección portfolio */

#portfolio {
    padding: 20px;
    background: white;
    margin-bottom: 80px;
}

#port-text {
    /*border: 1px solid #121323;*/
    background-color: white;
    width: 100%;
    padding: 10px;
    margin: 20px;
    font-size: 70px;
    font-family:'Trebuchet MS', Arial, sans-serif;
    color: var(--primary-color);
}

.grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

#grid-card {
    width: 340px;
    box-sizing: border-box;
    border: 2px dotted var(--accent-color);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#grid-card img {
    padding: 20px;
}

#grid-card:hover {
    cursor: cell;
    box-shadow: 0 4px 8px rgb(255, 80, 31, 0.5);
    transform: translateY(-2px);
}

#grid-card h3 {
    font-size: medium;
    font-family: 'Courier New', Courier, monospace;
    color: var(--primary-color);
    padding: 8px;
}

#grid-card p {
    font-size: small;
    font-family: 'Courier New', Courier, monospace;
    color: var(--text-color2);
    padding: 8px;
}

/* Sección about */

#about-text {
    background-color: var(--primary-color);
    width: 100%;
    padding: 10px;
    margin-bottom: 0px;
    font-size: 70px;
    font-family:'Trebuchet MS', Arial, sans-serif;
    color: var(--text-color);
    text-align: right;
}

#about {
    background: var(--primary-color);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-content: space-evenly;
}

#about-parrafo {
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    border: 2px dotted #ffffff;
    padding: 10px;
    margin: 20px;
}

#about img {
    width: 300px;
    height: 300px;
}

/* Sección Contacto */

#contact-text {
    background-color: white;
    width: 100%;
    padding: 10px;
    margin: 20px;
    font-size: 70px;
    font-family:'Trebuchet MS', Arial, sans-serif;
    color: var(--primary-color);
}

#contact {
    display: block;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}

#contact h3 {
    color:var(--text-color2);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-left: 30px;
}

.form-container {
    max-width: 800px;
    margin: 40px 40px;
    padding: 40px;
    border: 2px dotted var(--primary-color);

}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.form-row .grupo {
    flex: 1;
    margin-bottom: 0;
}

.grupo {
    margin-bottom: 10px;
}

.grupo label {
    display: block;
    margin-bottom: 3px;
    color: #002be1;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

.grupo input[type="text"],
.grupo input[type="email"],
.grupo textarea {
    width: 100%;
    padding: 8px;
    border: 2px dotted #ff501f;
    border-radius: 2px;
    font-size: 16px;
    color: #444442;
    box-sizing: border-box;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.grupo input:focus,
.grupo textarea:focus {
    border-color: rgb(255, 80, 31);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 80, 31, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-form {
    background-color: var(--accent-color);
    width: 100%;
    height: 24px;
    color: white;
    border: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 600;
    cursor: cell;
    transition: backgroud-color 0.3s ease;
    margin-top: 10px;
}

.btn-form:hover {
    background-color: #fe997e;
}

/* Sección Footer */

#foot-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
}

#menu-foot a {
    color: var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 30px;
}

#menu-foot a:hover {
    cursor: cell;
}

#foot-img img {
    width: 150px;
    height: auto;
    margin-left: 30px;
}

#foot-img img:hover {
    cursor: cell;
}

#rrss-foot img {
    width: 80px;
    height: 80px;
    padding: 20px;
}

#rrss-foot img:hover {
    cursor: cell;
}

#copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    width: 100%;
    height: 80px;
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}