html {
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Ubuntu Mono';
    text-align: justify;
    margin: 0;
    background-color: #ffffff;
    color: #3e3e41;
}

body, html {
    font-size: 72.5%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline: 0;
}

p a {
    text-decoration: none;
    color: #666;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

img {
    border: 0;
}

h1, h2, h3, h4 {
    font-family: 'Ubuntu Mono';
    color: #3e3e41;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
    color: #f37458;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 2rem;
    color: #3e3e41
}

h4 {
    font-size: 1.6rem;
}

a {
    color: #3e3e41;
    text-decoration: underline;
}

p {
    line-height: 1.5;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.4px;
    font-size: 1.4rem;
}

@media only screen and (max-width: 400px) {
    p {
        letter-spacing: 0.2px;
    }
}

ul li, ol li {
    line-height: 2.4rem;
    font-weight: 300;
    color: #666;
}

img {
    display: block;
    margin: 0 auto;
}

img, pre {
    border-radius: 4px;
}

.wrapper-normal, .wrapper-large {
    height: 100%;
    width: 96%;
    margin: 0 auto;
}

@media only screen and (max-width: 400px) {
    .wrapper-normal, .wrapper-large {
        width: 88%;
    }
}

@media only screen and (min-width: 400px) and(max-width: 1050px) {
    .wrapper-normal, .wrapper-large {
        width: 88%;
    }
}

.wrapper-normal {
    max-width: 660px;
}

.wrapper-large {
    max-width: 910px;
}

.home {
    margin-top: 150px;
}

article {
    max-width: 60rem;
    margin: 5rem auto;
    position: relative;
    padding: 1rem;
}

.list {
    border-top: 1px solid #ededed;
    padding: 20px 0;
    position: relative;
}

/* Home */
.header-home {
    display: block;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.header-home > p {
    text-align: justify;
    padding: 0rem 1rem;
}

.header-home > .title {
    font-size: 4rem;
    margin: 25px 0 13px;
    color: #f37458;
}

.photo {
    width: 175px;
    height: auto;
    max-width: 100%;
    border-radius: 100%;
    transition: all 0.2s;
    box-shadow: 0;
    opacity: 1;
}

/* Projects */
.photo:hover {
    box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.18), 0 0px 12px 0 rgba(0, 0, 0, 0.15);
    opacity: 0.8;
}

.list > .title {
    color: #f37458;
    font-size: 2.5rem;
    text-align: center;
}

.project-image {
    float: left;
    max-height: 200px;
    max-width: 300px;
    padding: 0 2% 0 0;
    border-radius: 1%;
}

.project p {
    margin-top: 5px;
}

/* Card */
.card {
    transition: 0.3s;
    border-radius: 5px; 
}

.card > img {
    width:100%;
    height: 100%;
    border-radius: 5px 5px;
}

.container > .title {
    color: #f37458;
    font-size: 2rem;
}

.card > .title {
    color: #f37458;
    font-size: 2rem;
}

.container > h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

hr {
    border: none; 
    border-top: 1px solid #ededed; 
}

/* Social icons */
.social-icons li {
    display: inline-block;
    list-style: none;
    display: inline;
    padding: 2%;
}
    
.social {
    padding-inline-start: 0;
    margin-bottom: 10%;
    font-size: 16px;
}
  
.social:hover > li:hover > a:hover {
    color: #f37458;
}

/* Buttons */
.button-position {
    margin-top: 1rem;
    display: flex;
    float: right;
}

.btn {
  cursor: pointer;
  font: inherit;
  padding: 0.5rem 1.5rem;
  background-color: #3b3a38;
  border: 1px solid #3b3a38;
  color: #dddddd;
  border-radius: 4px;
  text-decoration: none;
  margin: 0 0.3rem;
}

.btn:hover {
  background-color: #f37458;
  border-color: #f37458;
}

/* Footer  */
.footer-main {
    border-top: 1px solid #ededed;
    padding: 40px 0;
    font-size: 1.3rem;
    color: #3e3e41;
    font-weight: 300;
    text-align: center;
    position: relative;
}