@font-face {
    font-family: 'Calisto';
    src: url('../fonts/Calistoga-Regular_Titulos.ttf');
}

@font-face {
    font-family: 'Ezcar';
    src: url('../fonts/Eczar-VariableFont_wght_parrafos.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ezcar';
}

img {
    width: 100%;
}

a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;
}

body{
    background-color: rgb(183, 204, 244);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

main {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 50px;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 10px 5px 5px black;
}

main .left_side {
    position: relative;
    background-color: rgb(0, 49, 71);
    padding: 40px;
}
main .left_side .profile_text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

main .left_side .profile_text .image{
    position: relative;
    width: 200px;
    height: 200px;
}

main .left_side .profile_text .image img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.profile_text h2{
    color: white;
    font-size: 1.3rem;
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    line-height: 1.4rem;
}

.profile_text p{
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
}
.contact_info {
    padding-top: 40px;
}
.title {
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}
.contact_info ul {
    position: relative;
}
.contact_info ul li {
    position: relative;
    margin: 10px 0;
    cursor:pointer;
}
.contact_info ul li .icon {
    display: inline-block;
    width:20px;
    font-size: 18px;
    color: #49dfea;
}
.contact_info ul li .text{
    color: white;
    font-size: 0.8rem;
    font-weight: 300;
}
.contact_info.education li {
    margin-bottom: 15px;
    
}
.contact_info.education li h4 {
    color: #49dfea;
    font-weight: 800;
    font-size: 1.2rem;
}
.contact_info.education li p {
    color: white;
    font-weight: 800;
}
.contact_info.education li p.lugar{
    font-weight: 500;
}
.contact_info.education li ul{
    padding-left: 15px;
}
.contact_info.education li ul li {
    font-size: 0.82rem;
    color: white;
}
.contact_info.language .percent{
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #081921;
    display: block;
    margin-top: 6px;
}
.contact_info.language .percent div{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #49dfea;
}

main .side_right {
    position: relative;
    background-color: #fff;
    padding: 40px;
}
.about{
    margin-bottom: 50px ;
}
.about:last-child{
    margin-bottom: 0;
}
.title2 {
    color: #003147;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.about p{
    color: #333;
}
.about .box{
    display: flex;
    flex-direction: row;
    margin: 20px 0;
}
.about .box .year_company {
    min-width: 150px;
}
.about .box .year_company h3{
    font-size: 1rem;
}
.about .box .year_company p{
    text-transform: uppercase;
    color: #848c90;
    font-weight: 800;
    font-size: 0.8rem;
}
.about .box .text h3{
    text-transform: uppercase;
    color: #49dfea;
    font-size: 16px;
}
.skills .box{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 150px 1fr;
    justify-content: center;
    align-items: center;
}
.skills .box h3 {
    text-transform: uppercase;
    color: #848c90;
    font-weight: 600;
}
.skills .box .percent{
    position: relative;
    width: 100%;
    height: 10px;
    background-color: grey;
}
.skills .box .percent div{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #49dfea;
}
.interest ul {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}
.interest ul li {
    color: #333;
    font-weight: 500;
    margin: 10px 0;
}
.interest ul li .fa-solid {
    color:#49dfea;
    font-size: 18px;
}
main .side_right a{
    background-color: #49dfea;
    display:block;
    width: 30%;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
    margin: 0 auto;
    color: white;
}
main .side_right a:hover{
    border: 1px solid #49dfea;
    background-color: white;
    color: #49dfea;
}

@media screen and (max-width:1000px) {
    main {
        margin: 10px;
        grid-template-columns: repeat(1,1fr);
    }
    .interest ul{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width:600px) {
    .about .box {
        flex-direction: column;
    }
    .about .box .year_company{
        margin-bottom: 5px;
    }
    .interest ul{
        grid-template-columns: repeat(1,1fr);
    }
    .skills .box {
         grid-template-columns: repeat(1,1fr);
    }
    main .side_right a {
        width: 36%;
    }
}