/**
 * =================================================================== 
 *
 *  ResumeTemplate v1.0 ClearCareer
 *  url: clearcareer.ca
 *  Design by: Iskender Piyale-Sheard
 *  website: izzydoesizzy.com
 *  Created 06-27-2016
 *  Last Updated: 03-19-2017
 *  ------------------------------------------------------------------
 *  Table of Contents:

 *  01. Global Styles
 *  02. Intro
 *  03. Social Icons
 *  04. Icon Fonts
 *  05. Section Styles
 *  06. Timeline Styles
 *  05. Footer
 EXTRAS

 * =================================================================== 
 */

/* 01. Basic Styles
 * =================================================================== */

 html {
    overflow-x: hidden;
 }
 body {
    font-family: 'Source Sans Pro', sans-serif;
 }

 h1 {
    font-weight: bold;
 }

 h2 {
 }

 h5 {
    font-weight: 600;
 }

 a {
    cursor: pointer;
    color: #1abc9c;
    text-decoration: none;
 }

 a:hover {
    text-decoration:none;
    color: #1abc9c;
    opacity: 0.9;
 }

 hr {
    border-top: 5px solid #1abc9c;
    width: 80px;
    padding-bottom: 20px;
 }


 .colour-splash {
    color: #1abc9c;
 }

 .section-primary span {
    color: #1abc9c;
    font-weight: bolder;
    opacity: 1;
 }








/* 02. Intro
 * =================================================================== */
/* 个人资料照片容器样式 */
.profile-photo-container {
    margin: -6rem auto 1rem; /* 上边距-4rem使容器上移，左右自动居中，下边距1rem */
    width: 200px;            /* 设置容器宽度为200px */
    height: 200px;           /* 设置容器高度为200px */
    border-radius: 50%;      /* 圆形边框半径(50%创建完美圆形) */
    overflow: hidden;        /* 隐藏超出容器的内容 */
    border: 3px solid #1abc9c; /* 3px宽的实线边框，颜色为teal绿色 */
    box-shadow: 0 0 10px rgba(0,0,0,0.2); /* 添加轻微阴影效果 */
    position: relative;      /* 相对定位，为子元素定位提供基准 */
    top: -40px;              /* 相对于原位置再上移20px */
}

/* 个人资料照片本身样式 */
.profile-photo {
    width: 100%;            /* 宽度填满容器 */
    height: 100%;           /* 高度填满容器 */
    object-fit: cover;      /* 保持宽高比填充容器，可能裁剪图片 */
    transform: scale(1.1);  /* 图片放大1.1倍 */
}

/* 顶部背景图片区域样式 */
.section-image {
    background: #151515 url(https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?dpr=2&auto=compress,format&crop=entropy&fit=crop&w=1199&h=799&q=80) no-repeat center center; /* 深色背景+居中背景图片 */
    -webkit-background-size: cover; /* Safari浏览器背景尺寸覆盖 */
    -moz-background-size: cover;    /* Firefox浏览器背景尺寸覆盖 */
    background-size: cover;         /* 背景图片覆盖整个区域 */
    width: 100%;                   /* 宽度100%填满父容器 */
    height: 100vh;                 /* 高度为视口高度的100% */
    position: relative;            /* 相对定位，为子元素定位提供基准 */
    text-align: center;            /* 文本居中 */
    color: #fff;                   /* 文字颜色白色 */
    display:table;                 /* 表格布局显示 */
}

/* 图片覆盖层(半透明遮罩) */
.img-overlay {
    position: absolute;     /* 绝对定位覆盖在背景上 */
    top: 0;                 /* 顶部对齐 */
    left: 0;                /* 左侧对齐 */
    width: 100%;            /* 宽度100% */
    height: 100%;           /* 高度100% */
    background: #111111;    /* 深灰色背景 */
    opacity: .7;            /* 70%透明度 */
}

/* 介绍文字容器 */
.intro {
    vertical-align: middle; /* 垂直居中 */
    text-align: center;     /* 文本水平居中 */
    display:table-cell;     /* 表格单元格显示 */
    -webkit-transform: translateY(-2.1rem); /* Safari垂直位移补偿 */
    -ms-transform: translateY(-2.1rem);     /* IE垂直位移补偿 */
    transform: translateY(-2.1rem);         /* 垂直向上移动2.1rem */
}

/* 介绍区域的行样式 */
.intro .row {
    margin-right: 0;        /* 移除右侧外边距 */
    margin-left:0;          /* 移除左侧外边距 */\
}

/* 介绍区域主标题 */
.intro h1 {
    font-size: 84px;        /* 超大字体尺寸 */
}

/* 介绍区域副标题 */
.intro h5 {
    color: #1abc9c;         /* teal绿色文字 */
    font-size: 2.3rem;      /* 较大字体尺寸 */
    margin-bottom: 0;       /* 移除底部外边距 */
    text-transform: uppercase; /* 文本转为大写 */
    letter-spacing: .3rem;  /* 字母间距0.3rem */
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.2); /* 轻微文字阴影 */
}

/* 图片区域内的span元素 */
.section-image span {
    text-transform: uppercase; /* 文本转为大写 */
    font-size: 1.4em;        /* 相对字体尺寸1.4em */
    padding: 0 10px;        /* 左右内边距10px */
    font-weight: 100;       /* 细体字重 */
}

/* 图片区域主标题 */
.section-image h1 {
    margin-top: 0;          /* 移除顶部外边距 */
}

/* 图片区域段落文本 */
.section-image p {
    font-weight: lighter;   /* 更细的字重 */
    opacity: 0.9;           /* 90%不透明度 */
}


/* 03. Social Icons
 * =================================================================== */

.social {
  margin: 0 10px;
  padding-top: 1.3em;
  text-align: center;
  color: #fff;
  font-size: 0.9em;
}

.social a {
  color: white;
  text-decoration:none;
  padding: 2em;
}

.social a:hover{
  opacity: 0.6;
}

.social-footer {
    position: block;
    padding: 15px;
}

.social-footer a {
    color: white;
    text-decoration: none;
    padding: 0.6em;
    font-size: 1.7em;
}


/* 04. Icon Font
 * =================================================================== */

 .lnr {
    font-size: 4em !important;
    color:#fff;
 }

/* 05. Section Styles
 * =================================================================== */

section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.profilepic {
    height: 150px;
    width: auto;
    border-radius: 300px;
}

.section-primary p {
    text-align: justify;
}

.section-primary {
    border: #1abc9c;
}

.section-colour {
    background-color: #1abc9c;
    color: #fff;
}

.section-colour p {
    text-align: justify;
}

.section-heading .lead, .section-heading h2 {
    text-align: center;
}

.section-colour {
    border: #fff;
}

.section-colour hr {
    border-top: 5px solid #fff;
 }



/* 01. Timeline Styles
 * =================================================================== */

.timeline-icon .fa {
    color: white;
    margin: 14px;
    font-size: 1.7em;
}

#skills {
    background: #151515 url(https://images.unsplash.com/photo-1456983933114-c22026990f4b?dpr=2&auto=format&crop=entropy&fit=crop&w=1280&h=720&q=80) no-repeat center center;
    height: auto;
}


/* 05. Footer
 * =================================================================== */

footer {
    display: block;
    position: static;
    bottom: 0;
    background-color: black;
    color: #fff;
    padding: 50px 0;

}

footer p {
    padding: 15px;
    opacity: 0.8;
}


/* EXTRAS
 * =================================================================== */



        /* Mouse Icon
         * =================================================================== */
        .mouse-icon {
            border: 2px solid #fff;
            border-radius: 16px;
            display: block;
            height: 50px;
            margin: 100px auto;
            position: absolute;
            left: 0;
            right: 0;
            width: 30px;
            z-index: 10;
        }
        .mouse-icon .scroll {
            animation-delay: 0s;
            animation-duration: 1s;
            animation-iteration-count: infinite;
            animation-name: scrolling;
            animation-play-state: running;
            animation-timing-function: linear;
        }
        .mouse-icon .scroll {
            background: #fff none repeat scroll 0 0;
            border-radius: 10px;
            height: 10px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            top: 4px;
            width: 4px;
        }
        @keyframes scrolling {
        0% {
            opacity: 0;
            top: 5px;
        }
        30% {
            opacity: 1;
            top: 10px;
        }
        100% {
            opacity: 0;
            top: 25px;
        }
        }

        .pad-xl {
            padding: 200px 0px;
        }

        .pad-lg {
            padding: 160px 0px;
        }

        .pad-sm {
            padding: 80px 0px;
        }

        .pad-xs {
            padding: 30px 0px;
        }

        /* /Mouse Icon
         * =================================================================== */

 
/* Media Queries
 * =================================================================== */

@media (max-width: 480px) {
    .social a {
        padding: 0.4em;
        font-size: 0.9em;
    }

    .social-footer {
        text-align: center;
        position:block;
        text-align: center;
    }

    .social-footer a {
        padding: 0.3em;
        font-size: 1.6em;

    }

    .intro-desc {
        font-size: 0.7em;
    }

    .section-image span {
        font-size: 1em;
        padding: 0 1px;

}

    .intro h1 {
        font-size: 50px;
        padding-top: 15px;
    }

    footer {
        text-align: center;
        padding-bottom: 100px;
    }

    #skills {
        background: #151515 url(https://images.unsplash.com/photo-1456983933114-c22026990f4b?dpr=2&auto=format&crop=entropy&fit=crop&w=1280&h=720&q=80) no-repeat center center;
        background-position: top center;

    }
}

@media (max-width: 991px) {
    .social-footer {
        text-align: center;
    }

    footer p {
    text-align: center;
    }

}


