body {
    background-color: #fefefe;
    margin:0;
}
h1 {
    color: #39aae1;
    font-size: 1.8rem;
    overflow: hidden;
}
h1:after {
    background-color: #39aae1;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: top;
    width: 50%;
    left: 1.0em;
    margin-right: -50%;
}

h1:before {
    background-color: #39aae1;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: bottom;
    width: 50%;
    right: 0.5em;
    margin-left: -50%;
}
.cv {display:block; position:relative;}
.cv hr {position:absolute; top:50%; width:100%; z-index:0; background-color:#39aae1; height:1px; border: 0;}
.cv img {position:relative;}

h2 {
    font-weight: bold;
    font-size: 2rem;
}
img {
    max-width: 100%;
}
body {
    font-family: sans-serif;
}

header {
    width:100%;
    text-align: center;
    float:left;
}

section {
    width:90%;
    padding-left: 5%;
    padding-right: 5%;
    float:left;
    text-align: center;
    overflow: hidden;
}
.full-width {
    width:100%;
    padding: 0px;
}
.hrline {
    width:100%;
    border-top:10px solid #39aae1;
    border-bottom:10px solid #39aae1;
}
.three {
    width:100%;
    float:left;
    text-align: center;
    font-size: 1.6rem;
    color: #595959;
    font-weight: lighter;
}
.second {
    width:100%;
    float:left;
    background-color: #e8e8e8;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top:10px solid #39aae1;
}
.second p {
    font-size: 3rem;
    font-weight: lighter;
}
.second .main-email {
    color:  #39aae1;
    font-weight: 900;
    font-size: 1.5rem; 
}

.left {
    float:left;
    width:100%;
    
}
.right {
    float:right;
    width:100%;
}

footer {
    width:90%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top:1%;
    padding-bottom:1%;
    float:left;
    background-color: #39aae1;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: lighter;
}
footer .material-icons {
    font-size: calc(100% * 1.4);
    vertical-align: middle;
}
@media(min-width: 1024px) {
    h1 {
        font-size: 4rem;
    } 
    h2 {
        font-weight: bold;
        font-size: 3rem;
    }
    .full-width {
        margin-left: 0px;
        width:100%;
        max-width: 100%;
    }
    section {
        margin-left: calc(47.5% - 512px);
        max-width: 1024px;
    }
    .three {
        width:33%;
        font-size: 1.7rem;
    }
    .second {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .second p {
        font-size: 2.7rem;
    }
    .second .main-email {
        font-size: 3.2rem;
    }
    footer {
        font-size: 1.0rem;
    }
    .left {
        float:left;
        width:auto;
    }
    .right {
        float:right;
        width:auto;
    }
}

.maskmail {
	unicode-bidi: bidi-override;
	direction: rtl;
}