/* global */
@import url('https://fonts.googleapis.com/css?family=Roboto');

.grid-2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #101214;
    color: #7A7C80;

}

h2,.white{
    color: #fff;
}

a{
    color: #7A7C80;
    text-decoration: none;
}
/* section 1 */
.section-1{
    padding-top: 30vh;
    text-align: center;
}

.section-1 p{
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin:0;
}

.section-1 h2{
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.section-1 a{
    font-size: 1.5rem;
    padding: 10px;
}
/* section 2 */
.section-2{
    padding-top: 10vh;
    width: 70%;
}

.section-2 h2{
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.section-2 p{
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin:0;
}

.section-2 a{
    display: block;
    padding: 5px;
    font-size: 1.2rem;
    padding-left: 0;
    width: 100px;
}
/* animations / utilities */
.section-2 a:hover{
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.section-1 a:hover{
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.section-1 .avatar{
    height: 200px;
    width: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: aqua;
    object-fit: cover;
    border: 2px solid yellow;
    position: relative;
    left: 280px;
    
}
.section-1 .avatar img{
    height: auto;
    width: 100%;
    transition: 0.5s all;
}
.section-1 .avatar img:hover{
    transform: scale(1.09) rotate(3deg);
}

.white:hover{
    position: relative;
    padding-left: 10px;
}
.cv{
    background-color: rgb(217, 255, 0);
    width: 200px;
    height: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.01px solid rgb(217, 255, 0);
    border-right-width: 4px;
    border-right-color: red;
    transition: 0.5s all;
    animation: slideUp 5s infinite ease-out;
    transform-origin: left;
    cursor: pointer;
}

.cv:hover{
    animation: stop 5s infinite ease-out;
}

@keyframes slideUp {
    from{
        width: 0px;
    }
    to{
        width: 200px;
    }
}
.cv .resume p{
    color: #000000;
    font-weight: 700;
    letter-spacing: 2px;
}
/* media queres */
@media(max-width:780px){
    .grid-2{
        grid-template-columns: 1fr;
    }
    .section-1{
        padding:0;
        padding-top: 5rem;
    }
    .section-2{
        padding: 0;
        padding-left: 1.5rem;
        padding-top: 2rem;
    }
    .section-1 .avatar {
        display: none;
        visibility: hidden;
    }
}


