/* ====================
    Base Rules
   ==================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    min-height: 100vh;
}

body {
    margin: 0;
    background: url(../img/background.gif);
    color: #444;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 1px;
}

img {
    max-width: 100%;
}

.main-grid {
    display: grid;
    grid-template-columns: minmax(1.5rem, 1fr) minmax(0, 25rem) minmax(1.5rem, 1fr);
    align-items: center;
    height: 100%;
}

.main-grid>* {
    grid-column: 2 / -2;
}



/* ====================
    Typography
   ==================== */

h1 {
    position: relative;
    margin: 0 0 .25em;
    color: #000;
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.2;
    z-index: 1;
}

p {
    margin: 0 0 2em;
}

@media (min-width: 23.4375rem) {
    h1::after {
        position: absolute;
        bottom: .15em;
        left: 0;
        width: 100%;
        height: 50%;
        content: '';
        background: hsl(39, 100%, 75%);
        z-index: -1;
    }
}



/* ====================
    Images
   ==================== */

.avatar {
    width: 10rem;
    margin-bottom: 1rem;
    border-radius: 50%;
}



/* ====================
    Page Sections
   ==================== */

.section-about {
    margin: 1rem 0;
    padding: 2rem 2.5rem;
    background: #fff;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, .75);
    text-align: center;
}

.tech-list {
    display: flex;
    align-items: bottom;
    justify-content: space-evenly;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-icon {
    width: 2.5rem;
    height: auto;
}