:root {
    --text-main-color: #121f3d;
    --text-second-color: #24385b;
    --background-main-color: white;
    --background-second-color: #FFEFD6;
}

html {
    font-size: 62.5%;
    font-family: 'Ubuntu', 'sans-serif';
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: var(--background-main-color);
    font-size: 1.6rem;
    color: var(--text-main-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    
}

.navbar {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.navbar img {
    width: 50px;
    margin-left: 12px;
}

.navbar .right-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .right-item {
    padding: 4px
}

.main-image {
    width: 100%;
    height: 300px;
    background-image: url(./assets/images/Pagina-en-construccion.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 40px;
}

.main-image {
    opacity: 1;
}

.title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.greetings {
    text-align: center;
    width: 90%;
    max-width: 800px;
    color: var(--text-main-color);
}

.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    align-self: center;
    max-width: 800px;
}

.intro-container img {
    border-radius: 50%;
    padding: 8px;
    height: 200px;
    width: 200px;
}

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    max-width: 800px;
}

.social-icon img{
    width: 50px;
    margin: 12px;
}

.github-icon img {
    background-color: var(--background-main-color);
    border-radius: 4px;
}

.platzi-icon img {
    background-color: var(--text-main-color);
    box-sizing: border-box;
    padding: 4px;
    width: 50px;
    border-radius: 4px;
}

.skills {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
}

.skills-div {
    display: flex;
    flex-direction: row;
}

.skills-div h2 {
    padding-left: 16px;
}

.hard-skills {
    width: 50%;
    padding: 24px;
}

.soft-skills {
    width: 50%;
    padding: 24px;
}

.skills ul {
    list-style: none;
}

.skills ul li { 
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.skills ul li img {
    width: 3rem;
    height: 3rem;
}

.skills ul li p {
    padding: 0 0 0 8px;
}

.skills a {
    text-decoration: none;
    color: var(--text-second-color);
}

.skills a:active {
    color: var(--text-second-color)
}

.portfolio {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio-container {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: grid;
    grid-auto-columns: minmax(200px, 300px);
    gap: 16px;
    grid-template-rows: 1fr 1fr;
    margin: 16px;
}

.portfolio-container img {
    width: 40px
}

.portfolio-cursos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 200px;
    max-width: 400px;
    background-color: var(--background-second-color);
    padding: 8px;
    border-radius: 8px;
    border: 2px var(--text-main-color) solid;
}

.portfolio-cursos a {
    text-decoration: none;
    color: var(--text-second-color);
}

.portfolio-cursos a:active {
    color: var(--text-second-color)
}

.portfolio-cursos .titulo-curso {
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-pagina .titulo-pagina {
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.curso-programacion {
    grid-column: 1/2;
    grid-row: 1/2;
}

.curso-practico-javascript {
    grid-column: 2/3;
    grid-row: 1/2;
}

footer {
    background-color: var(--background-main-color);
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

@media (max-width:500px) {
    .portfolio-container{
        display: flex;
        overflow-x: scroll;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
    }
}
