@import url('./reset.css');

html { font-size: 100%; } /*16px*/
h1 { font-size: 2.074em; }
h2 { font-size: 1.728em; }
h3 { font-size: 1.44em; }
h4 { font-size: 1.2em; }
.details{ font-size: 1.2em;}

body{

    background-color: #C7E3F2;
}

#wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem;
}

#container{
    max-width: 100%;
    width: 35rem;
    background-color: #FFF;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
}

#container > .fragment:last-child{
    border-radius: 0 0 0.5rem 0.5rem;
}

.fragment{
    display: flex;
    flex-wrap: wrap;
    padding: 3rem 3.5rem;
}

.fragment .title{
    color: #FFF;
    flex-basis: 100px;
    text-align: right;
    margin: 1rem;
}


.fragment > .details{
    padding-left: 3rem;
    border-left: solid 1px rgba(255,255,255,0.259);
    color: rgba(255,255,255,0.831);
    width: 260px;
}



#logo img{
    width: 10rem;
    border-radius: 100%;
 
    display: inline-block;
    vertical-align: top;
}

#me{
    text-align: center;
    padding: 3rem 2rem;
}

#me > div:last-child > h1{
    line-height: 1.25;
    font-weight: 400;
    color: #383838;
}

#me > div:last-child > h3{
    color: rgba(0,0,0,0.522);
    line-height: 1.25;
    font-weight: 400; 
    margin-top: 1rem;
    letter-spacing: 0.03rem;
}

ul {
    list-style-type: '\2713';
  }

ul li{
   margin-bottom: 1em; 
}

ul li p{
   
    margin-left: 1rem;
 }

.button{
    color: #FFFFFF;
    border: solid 1px rgba(255,255,255,0.259);
}

.button:hover{
    background-color: #115fbe;
}


a.button{
    padding: .5rem 1.25rem;
    text-decoration: none;
    border-radius: 0.375rem;
    height: 2.5rem;
    line-height: 2.5rem;
}


#about{
    background-color: #4299FF;
}

#about > .details{
    line-height: 1.75;
}

#about p{
    color: rgba(255,255,255,0.831);
}

#work{
    background-color: #3288ED;
}

#contact{
    background-color: #277DE3;
}



@media (max-width: 680px) {
    html { font-size: 125%; }
    ul li{
        margin-left: 1rem;
    }
    .fragment{
        padding: 3rem 2.5rem;
    }
    .fragment > div.title{
        text-align: left;
        margin-left: 0;
        min-width: 180px;
    }
    .fragment > div.details{
        padding-left: 0;
        width: 330px;
        padding-top: 2rem;
        border-left: none;
        border-top: solid 1px rgba(255,255,255,0.259);
    }
    #wrapper{
        padding-left: 10px;
        padding-right: 10px;

    }
    #about > .details{
        line-height: 1.3;
    }

    #me{
        padding: 3rem 1rem;
    }


    
}