:root {
    --color-dark: gray;
    --color-light: white;
}

* {
    box-sizing: border-box;
    color: #ddd;
    font-family: 'Open Sans';
    margin: 0;
}

.root {
    width: 800px;
}

.header {
    align-items: center;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
}

.header > .photo {
    background: url(../images/andres.png?2) center no-repeat #111;
    background-size: 250px;
    border-radius: 100%;
    height: 150px;
    position: relative;
    width: 150px;
}

.header > .photo > .verified {
    background-image: url(../images/verified.png?2);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    height: 36px;
    left: calc(100% - 41px);
    position: relative;
    top: calc(100% - 41px);
    width: 36px;
}

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

.header > .data > .title {
    font-size: 26px;
    font-weight: bold;
}

.header > .data > .subtitle {
    font-size: 20px;
}

.header > .linkedin-link {
    align-items: center;
    background-color: #0288d1;
    border-radius: 100px;
    color: white;
    display: flex;
    font-size: 12px;
    font-weight: bold;
    gap: 10px;
    padding: 5px 15px;
    text-decoration: none;
}

.header > .linkedin-link > .image {
    background-image: url(../images/linkedin.svg);
    background-size: cover;
    height: 20px;
    width: 20px;
}

/* Separator */

.separator {
    align-items: center;
    display: grid;
    gap: 10px; 
    grid-template-columns: auto 1fr;
    margin: 50px 0 25px 0;
}

.separator > .text {
    font-size: 14px;
}

.separator > .line {
    background-color: #333;
    height: 1px; 
    width: 100%; 
}


/* Card */

.card {
    border-left: 3px solid #4caf50;
    padding: 0 0 0 15px;
    margin-top: 15px;
    text-align: justify;
}

/* Skills */

.skills-container {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
}

.skill-card {
    align-items: center;
    background-color: rgba(0,0,0,.25);
    border-radius: 5px;
    display: flex;
    gap: 15px;
    padding: 15px;
}

.skill-card > .logo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    height: 50px;
    width: 50px;
}

.skill-card > .data > .name {
    font-weight: bold;
}

.skill-card > .data > .level {
    font-size: 13px;
    font-weight: bold;
}

.skill-card > .data > .link {
    font-size: 13px;
}

@media (max-width: 425px) {
    body {
        padding: 25px !important;
    }

    .skills-container {
        grid-template-columns: 1fr !important;
    }
}
