*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Inter', sans-serif;
    color: white;
    background-color: black;
    margin: 0;
}

h1{ font-size: 3.5em; font-family: Roxborough CF, sans-serif; font-weight: 500; font-style: italic}
#hero .last-name:hover {
    color:rgb(238, 84, 161);
    font-size: 60px;
}

h2{ font-size: 2.7em;}
h3{ font-size: 2em;}
p{ font-size: 1.25em;}
a{ list-style: none;}

button{
    font-size: 1.5em; 
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 10px;
    border: 2px solid rgb(0, 0, 0, 0.4);
    box-shadow: 2px 2px 10px(0, 0, 0, 0.4);
    color: black;
    background-color: ivory; 
}

button:hover{
    background-color:rgb(0, 0, 0);
    color: hotpink;
    font-weight: bold;

}

.container{
    max-width: 1400px;
    margin: auto;
}

.color-acento{ color: hotpink}

header{
    background-color: rgb(0, 0, 0);
    justify-content: space-between;
    align-items: center;
}

.logo{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;

}

header .img{
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: pink
    font-size: 1,45em;

}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;

}

header.nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

header a:hover{
    color: hotpink;
}

#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.705),
        rgba(0, 0, 0, 0.705)
    )
    ,url("/hero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#about-me{
    display: flex;
    align-items: center;
    background-color: #fee0e2;
    color: black;
    text-align: center;
    flex-direction: column;
}

#about-me .container{
    text-align: center;
    padding: 10px 100px;
    color: black;
    display: flex;
}

#about-me .img-1{
    margin-right: 50px;
}

#about-me .img-2{
    margin-right: 50px;  
}

#about-me .img-3{
    margin-right: 50px;  
}

#about-me .img-4{
    margin-right: 50px;  
}

#skills{
    background-color: #ffded9;
    color: black;
    text-align: center;
}

#skills .container{
    padding: 10px 100px;
}

#skills .h2{
    margin-top: 0;
    font-size: 3em;
}

#skills .p{
    display: none;

}

#skills .carta{
    background-position-y: 0;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.705);
    text-align: center;
}

.carta:first-child{
    color: ivory;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.705),
        rgba(0, 0, 0, 0.705)
    )
    ,url("/soft.jpg");
}

.carta:last-child{
    color: ivory;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.705),
        rgba(0, 0, 0, 0.705)
    )
    ,url("/economics.jpg");
}

