* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

:root{
    --MAIN-COLOR: #00235c;
    --SEC-COLOR: #001942;
    --TITLE-COLOR: #00235c;
    --CONTENT-COLOR: #133f8d49;
}

html {
    padding: 0% 1%;
}

header {
    background-color: #00235c;
    color: white;
    align-items: center;
    justify-content: center;
}

.NAME {
    font-size: 5vw;
    text-align: center;
    padding: 0.5% 0;
}

.TITLE{
    text-align: center;
    font-size: 4vw;
    margin: 0;
}

.EMAIL{
    text-align: center;
    font-size: 2vw;
    margin: 0;
    padding-bottom: 0.5%;
}

.HOME {
    background-color: inherit;
    padding-top: 1%;
    padding-left: 1%;
    display: grid;
    grid-template-columns: 34% 33% 33%;
    grid-template-rows: repeat(3, auto);
    align-items: center;
    justify-content: center;
    padding-bottom: 1%;
}

.PFP {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5%;
    background-color: white;
    align-items: baseline;
}

.PFP img{
    width: 100%;
    border-radius: 2.5%;
    margin: auto auto;
    padding: 0;
}

header button{
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: center;
    align-content: center;
    justify-content: space-evenly;
    font-size: 3vw;
    width: 96%;
    height: 60%;
    border-radius: 1em;
    border:  solid 0.7vw var(--SEC-COLOR);
    font-weight: bold;
    margin: 2% 2%;
}

button figure {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 110%;
    padding: 10%;
    background-color: white;
    border-radius: 50%;
    border:  solid 0.7vw var(--SEC-COLOR);
    position: relative;
    left: -15%;
}

button figure img {
    width: 90%;
}

button a {
    padding-bottom: 2%;
}

button a:link {
    color: black;
    text-decoration: none;
}

button a:visited {
    color: black;
}

button a:hover {
    color: var(--MAIN-COLOR);
    text-decoration: underline;
}

.DESCRIPTION {
    grid-row: 1 / 2;
    grid-column: 2 / 4;
    text-align: center;
    padding: 0% 1.5%;
    font-size: 2.5vw;
    font-weight: 500;
}

section h2::before{
    content: "▶ ";
}

h2 {
    background-color:  var(--TITLE-COLOR);
    color: white;
    font-size: 3.5vw;
    font-weight: bold;
    margin-bottom: 2vw;
    margin-top: 2vw;
    margin-left: 0;
    padding-left: 1vw;
    font-size: 3.5vw;
    font-weight: bold;
}

h3 {
    font-size: 3vw;
    margin-left: 2vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

h4 {
    font-size: 2.5vw;
    margin-left: 2vw;
}

section {
    background-color:  var(--CONTENT-COLOR);
    border-radius: 20px;   
}

.EXPERIENCIA, .ESTUDIOS, .SKILLS, .CURSOS :last-child {
    padding-bottom: 1vw;
}

section p {
    font-size: 2.5vw;
    margin-bottom: 2vw;
    margin-left: 4vw;
    margin-right: 4vw;
}

.FOOTER {
    margin-top: 4vw;
    text-align: center;
    font-size: 1.5vw;
    margin-bottom: 2vw;
}

.FOOTER div {
    margin-top: 1vw;
}

.FOOTER a {
    display: block;
    text-decoration: none;
    font-size: 90%;
    color: black;
}

.FOOTER a:visited {
    color: black;
}

.FOOTER a:hover {
    color: var(--MAIN-COLOR);
    text-decoration: underline;
}

@media print {
    * {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }    

    html {
        padding: 0% 1%;
    }

    header {
        background-color: var(--MAIN-COLOR);
        color: white;
        align-items: center;
        justify-content: center;
    }

    .HOME {
        padding-top: 1%;
        padding-left: 1%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 1%;
        flex-direction: row-reverse;
    }

    .PFP {
        display: flex;
        align-items: center;
        width: 75%;
        padding: 1%;
        background-color: white;
        align-items: baseline;
    }

    .DESCRIPTION {
        text-align: center;
        padding: 0% 1.5%;
        font-size: 2.8vw;
        font-weight: 500;
    }

    h2 {
        background-color:  var(--TITLE-COLOR);
        color: white;
        font-size: 3.5vw;
        font-weight: bold;
        margin-bottom: 2vw;
        margin-top: 2vw;
        margin-left: 0;
        padding-left: 1vw;
    }

    section {
        background-color:  var(--CONTENT-COLOR);
        border-radius: 20px;   
    }

    section :last-child {
        padding-bottom: 1vw;
    }

    header button{
        display: none;
    }

    .FOOTER {
        display: none;
    }
}