/***********************************************************/
/***************          Variables          ***************/
/***********************************************************/
:root{
    --white-color:white;
    --blue-light: #026fff;
    --dark-purple: #190533;
    --dark-purple-hero: #25084b;
}

body{
    /* background-color: #d1caca; */
    font-family: 'EB Garamond', sans-serif;
    margin: 0;
}
/*********************************************************************************************/
/***************          Estilos del header y del menú de navegación          ***************/
/*********************************************************************************************/
.header{
    align-items: center;
    background-color: var(--dark-purple);
    color: var(--white-color);  
    display: flex;
    height: 70px;
    justify-content: space-between;
    /* position: fixed;
    top: 0;
    width: 100%; */
}

/* En este caso todos las propiedades que tienen inherit 
han heredado esos estilos del padre, es decir del header*/
.menu{
    height: inherit;
}

.header ol{
    display: flex;
    height: inherit;
}

.header ol li{
    height: inherit;
}

.header a{
    align-items: center;
    color: var(--white-color);
    display: flex;
    height: inherit;
    padding: 0 10px;
    text-decoration: none;
}

figure{
    margin: 0;
}

.logo img{
    width: 150px;
    height: 50px;
}

ol, ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

/****************************************************************/
/***************  Estilos de la Sección Principal ***************/
/****************************************************************/
/****************************************************************/
/***************            Sección Hero          ***************/
/****************************************************************/
h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', sans-serif;
}

h1{
    color: var(--white-color);
    font-size: 35px;
    letter-spacing: -0.2px;
    line-height: 1.5;
    margin: 0;
}

h1 strong{
    /* color: #8d7cee;   */
    color: var(--blue-light);
}

h2{
    color: var(--blue-light);
    font-family: 'EB Garamond', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero{
    align-items: center;
    background-color: var(--dark-purple-hero);
    display: flex;
    height: 300px;
    justify-content: space-between;
}

.hero-image{
    object-fit: cover;
}

/**********************************************************************/
/***************            Sección Portafolio          ***************/
/**********************************************************************/
.portfolio{
    background-color: #d4d1d1;
    padding: 20px; 
}

.project{
    align-items: center;
    background-color: #f0e4e4;
    border: 1px solid #a7a2a2;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 20px;
    box-sizing: border-box;
}

.project-details{
    height: 200px;
    width: 500px;   
}

.project-title{
font-size: 25px;
margin-top: 0;
margin-bottom: 10px;
}

.project-course, .project-date, .project-url{
    margin: 10px 0;
}

.project-url a{
    text-decoration: none;
    color: black;
}

.project-description{
    font-size: 20px;
}

.project strong{
    font-family: 'Playfair Display', sans-serif;
}

.project-imageContainer{
    width: 500px;
}

.project-image{
    border-radius: 10px;
}

/******************************************************************/
/***************            Sección Eventos         ***************/
/******************************************************************/
.event-h2{
    margin-left: 20px;
}

.experience{
    display: flex;
    flex-wrap: wrap;
}

.event{
    background-color: #f7e5fa;
    border-radius: 10px;
    flex-shrink: 0;
    margin: 10px;
    overflow: hidden;
    width: 480px;
}

.event img{
    width: 480px;
    height: 200px;
    object-fit: cover;
}

.event-detail{
    background-color: var(--white-color);
    margin: 20px 40px;
    margin-top: -40px;
    padding: 20px;
    position: relative;
    text-align: center;
}

.event-description{
    text-align: left;
}

.event-url{
    border: 1px solid;
    border-radius: 5px;
    color: var(--blue-light);
    padding: 5px 20px;
    text-decoration: none;
}

/*********************************************************************/
/***************            Sección Contacto           ***************/
/*********************************************************************/
.contact{
    align-items: center;
    background-color: var(--dark-purple-hero);
    color: var(--white-color);
    display: flex;
    height: 150px;
    justify-content: space-between;
}

.form-email input{
    background-image: url('../images/envelope.svg');
    background-position-x: 5px;
    background-position-y: center;
    background-size: 15px 15px;
    background-repeat: no-repeat;
    border-color: gray;
    border-radius: 5px;
    border-style: solid;
    padding: 5px 20px 5px 25px;
}

.form-email button{
    background: transparent;
    border-radius: 5px;
    color: var(--white-color);
    display: block;
    margin-top: 10px;
    padding: 10px 0;
    width: 100px;
}

.form-email h3{
    font-family: 'EB Garamond', sans-serif;
}

.social-link{
    background-size: 50px 50px;
    display: inline-block;
    height: 50px;
    margin: 0 10px;
    width: 50px;
}

.social-link.twitter{
    background-image: url('../images/twitter.svg');
}

.social-link.github{
    background-image: url('../images/github.svg');
}

.social-link.linkedIn{
    background-image: url('../images/linkedin.svg');

}

.social-link.instagram{
    background-image: url('../images/instagram.svg');
}

/**************************************************************/
/***************            Container           ***************/
/**************************************************************/
.container{
    align-items: inherit;
    display: inherit;
    flex-wrap: inherit;
    height: inherit;
    justify-content: inherit;
    margin: 0 auto;
    width: 1000px;
}

/***********************************************************/
/***************            Footer           ***************/
/***********************************************************/
.footer{
    align-items: center;
    background-color: var(--dark-purple);
    color: var(--white-color);
    display: flex;
    justify-content: space-evenly;
}

.footer img{
    vertical-align: middle;
    width: 70px;
}

.footer a{
    color: var(--white-color);
    text-decoration: none;
}