body {
    margin: 0;
    padding: 0;
    font-family: Roboto, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background: url(./background02.jpeg);
    background-position-x: center;
    background-size: 1024px;
    background-color: black;
    line-height: 1.3;
}

@media (min-width:1024px) {
    body {
        background-size: 100%;
    }
}

a:link,
a:visited,
a:hover {
    color: #bebab3;
    text-decoration-color: #555;
    font-weight: bold;
}

.title-box {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-container {
    margin: 5%;
    color: cornsilk;
}

.title-text {
    font-size: 400%;
    font-weight: bold;
}

.subtitle-text {
    font-size: 150%;
    font-weight: bold;
}

.contents-box,
.social-box {
    width: 100%;
    color: #bebab3;
    background-color: #1d2128;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.contents-container {
    margin: 70px 40px 0 40px;
    width: 800px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.photo-image {
    background-image: url(./photo.jpeg);
    background-size: 100%;
    width: 250px;
    height: 250px;
}

.decription-box {
    font-size: 120%;
    margin-left: 50px;
}

.decription-box h1 {
    margin-top: -10px;
}

.social-container {
    margin: 20px 40px 70px 40px;
    width: 800px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.social-narrow-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.social-button {
    width: 64px;
    height: 64px;
    transition: .2s;
    margin-left: 5px;
}

.social-narrow-button {
    margin-right: 7px;
}

#social-button-email {
    background-image: url(./email-64.png);
}

#social-button-whatsapp {
    background-image: url(./whatsapp-64.png);
}

#social-button-skype {
    background-image: url(./skype-64.png);
}

#social-button-email:hover {
    width: 311px;
}

#social-button-whatsapp:hover {
    width: 219px;
}

#social-button-skype:hover {
    width: 288px;
}

#social-button-linkedin {
    background-image: url(./linkedin-64.png);
}

#social-button-github {
    background-image: url(./github-64.png);
}

#social-button-facebook {
    background-image: url(./facebook-64.png);
}

.wide-only {
    display: block;
}

.narrow-only {
    display: none;
}

.source-box {
    background-color: #dacdb3;
    display: flex;
    justify-content: center;
}

.source-container {
    margin: 20px 40px;
    width: 800px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.source-picture-mini {
    width: 80px;
    height: 80px;
    background-image: url(source-mini.jpeg);
    background-position-x: center;
    background-position-y: -10px;
}

.source-description {
    margin-left: 10px;
    color:  #555;
    font-size: 90%;
    line-height: 1.5;
}

.source-description a {
    color: inherit;
}

@media (max-width:768px) {
    .contents-container {
        flex-direction: column;
        align-items: center;
    }
    .photo-image {
        width: 300px;
        height: 150px;
        background-position: center center;
    }
    .decription-box {
        margin-left: 0;
        margin-top: 30px;
    }
    .social-container {
        flex-direction: column;
        justify-content: flex-end;
    }
    .social-button {
        margin-left: 0;
        margin-top: 10px;
    }
    #social-button-email {
        width: 311px;
    }
    #social-button-whatsapp {
        width: 219px;
    }
    #social-button-skype {
        width: 288px;
    }
    .wide-only {
        display: none;
    }
    .narrow-only {
        display: block;
    }
}

