@import url('https://googleapis.com');

:root {
    --primary-font: 'Rubik', sans-serif;
    --secondary-font: 'Lato', sans-serif;
    --background-color: #E8E8E8;
    --body-background-color: #e4e4e4;
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --divider-color: #b6b6b6;
    --body-font-size: 16px;
    --body-font-color: #e4e4e4;
    --title-font-size: 24px;
    --title-font-color: #E8E8E8;
    --letter-title-spacing: 1.5px;
    --corner-rounding: 10px;
    --circle-rounding: 50%;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--body-background-color);
}

main > div {
    position: relative;
    text-align: center;
    color: var(--body-font-color);
    margin-right: 10%;
    margin-left: 10%;
    padding: 1.5em;
    padding-top: .5em;
    border: 0 solid;
    border-radius: 10px;
    box-shadow: 5px -5px 10px 10px rgba(0, 0, 0, 0.1) inset;
    overflow: hidden;
    margin-top: 2em;
    margin-bottom: 2em;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.profile-image {
    border-radius: var(--circle-rounding);
    margin-top: 20px;
    box-shadow: var(--box-shadow);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    color: var(--title-font-color);
    font-size: var(--title-font-size);
    letter-spacing: var(--letter-title-spacing);
    margin-top: 1.5%;
    margin-bottom: 1%;
}

a {
    color: var(--body-font-color);
    transition: all 0.3s ease;
}

a:hover {
    color: blue;
    text-decoration: none;
}

ol, ul {
    display: table;
    margin: 0 auto;
    text-align: left;
}

.back_button {
    position: absolute;
    margin: 10px;
    left: 0;
    top: 0;
    display: inline-block;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    border-radius: 5px;
    /* border-bottom: 2px solid var(--divider-color); */
    transition: all 0.3s ease;
    box-shadow: 1px -1px 4px 4px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 500px;
    height: 300px;
    border-radius: var(--corner-rounding);
    box-shadow: var(--box-shadow);
    float: left;
    margin: 10px;
    /* margin-bottom: -1.5em; */
}

article > p {
    position: relative;
    text-align: justify;
}

article {
    margin-top: 0;
    clear: both;
}

article + article {
    margin-top: 2em;
}

.back_button:hover {
    color: #3498db;
    box-shadow: 0 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.aside-image {
    position: relative;
    top: -40px;
    margin-left: 20px;
    margin-bottom: -60px;
    float: right;
    transition: all 0.3s ease;
}

.aside-image:hover {
    transform: rotate(10deg);
}

.aside-image:active {
    transform: rotate(-20deg);
}