*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

button{
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    background-color: blueviolet;
}

button:hover{
    background-color: rgb(112, 62, 112);
}

.container{
    max-width: 1400px;
    margin: auto;
}

header{
    background-color: antiquewhite;
}

header .logo{
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: blueviolet;
    font-size: 1.6em;
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .nav{
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

header a:hover{
    color: blueviolet;
}

#proyectoslenguajes{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background-color: rgb(100, 100, 100);
    height: 70vh;
}

#proyectoslenguajes li{
    margin: 1px 0px;
    font-weight: bold;
}

#contacto{
    background-color: rgba(30, 30, 30);
    color: white;
    text-align: center;
}

#contacto .container{
    padding: 150px 12px;
}

#contacto h2{
    margin-top: 0;
    font-size: 3em;
}

#contacto p{
    display: none;
}

#contacto .carta{
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 20px;
    border-radius: 20px;
}

.carta:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("/media/LinkedIn_icon.jpg");
}

.carta:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("/media/github.logo.jpg");
}

.carta:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("/media/paypal.logo.jpg");    
}

footer{
    background-color: rgb(230, 230, 230);
}

footer p{
    margin: 0;
    padding: 120px;
    color: rgb(100, 100, 100);
}

footer .container{
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

@media (min-width: 720px){
    header{
        position: fixed;
        width: 100%;
    }

    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }
    
    #proyectoslenguajes{
        background-image: url("/media/malicious-programs.jpg");
        background-repeat: no-repeat;
        background-size: 450px 350px;
        background-position: calc(100vw - 500px) 100px;
    }

    #proyectoslenguajes .container{
        text-align: initial;
    }

    #proyectoslenguajes ul{
        margin-right: 950px;
    }

    #contacto .contactos-links{
        display: flex;
        justify-content: center;
    }

    #contacto p{
        display: block;
        margin-bottom: 30px;
    }

    #contacto h3{
        margin-top: 0;
    }

    #contacto .carta{
        padding: 50px;
    }

    footer .container{
        justify-content: flex-end;
    }

}

@media (min-width: 1200px){
    #proyectoslenguajes{
        background-position-x: calc(100vw - 800px);
    }
}

.color-acento-red{ color: red}
.color-acento-blueviolet{ color:blueviolet}

h1{ font-size: 3.5em; }
h2{ font-size: 2.7em; }
h3{ font-size: 2em; }
p{ font-size: 1.25em; }
ul{ list-style: none; }
li{ font-size: 1.25em; }