@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');

* { box-sizing: border-box; }

html {
    margin: 0;
    padding: 0;
    background: #e2e0e5;
    display: flex;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    font-family: 'Rubik', sans-serif;
    direction: rtl;
    font-size: 20px;
}

body {
    padding: 0;
    margin: 0;
    background: white;
    max-width: 1000px;
    width: 100%;
}

header {
    min-height: 100px;
    background: linear-gradient(to top left, #a4e4c7 25%, #7fc4a5 75%);
}

h1, h2, h3, h4, h5 { font-weight: 500; margin: 0; }

h1 { font-size: 2rem; }
h1 span { opacity: 0.25; }

h1 + h4 { margin-top: 0.25rem; opacity: 0.75; }

p { margin: 0; }

.title {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.title img {
    position: absolute;
    border-radius: 50%;
    width: 200px;
    box-shadow: 0 0 2rem rgba(0,0,0,0.15);
    left: 0;
    top: -80px;
    
}

.content {
    padding: 2rem;
}

.info {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #f8f5fe;
}

.info > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info > div > span, .info > div > a {
    font-weight: bold;
}

a {
    color: #13975b;
    text-decoration: none;
}

.text {
    margin-bottom: 4rem;
}

.cv {
    border-top: 1px dashed #e0e0e0;
    padding-top: 2rem;
    margin-top: 2rem;
}

@media (max-width:500px) {

    html {
        background-color: white;
    }

    header {
        min-height: 50px;
    }

    .title {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    .title img {
        position: static;
        width: 100px;
    }

    .info {
        flex-direction: column;
        gap: 2rem;
    }
}