/* COLOR CONFIGURATION */

:root {
    --grey-color: #272222;
    --lighter-grey-color: #3F3838;
    --yellow-highlight-color: #FFA600;
    --lighter-yellow-highlight-color: #FFC251;
    --white-color: #F1F1F1;
    --whiter-color: #FFFFFF;
}

/* GENERIC CLASSES */

body {
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
    color: var(--grey-color);
    background-color: var(--white-color); 
}

h3 {
    padding-left: 10px;
}

.flex1 {
    flex: 1 1 auto;
}

.flex6 {
    flex: 6 1 auto;
}

.yellow {
    color: var(--yellow-highlight-color);
}

.white {
    color: var(--white-color);
}

.displayflex {
    display: flex;
}

.flexcenter {
    justify-content: center;
}

.flexbetween {
    justify-content: space-between;
}

.flexwrap {
    flex-wrap: wrap;
}

.flexaligncenter {
    align-self: center;
}

.nexttoimage {
    margin-left: 50px;
}

.imagestyle {
    border: 2px solid var(--yellow-highlight-color);
    border-radius: 50%;
}

/* HEADER */

.titletext {
    cursor: pointer;
}

.sticky {
    position: fixed;
    display: flex;
    padding: 10px 20px;
    width: 100%;
    top: 0;
    align-items: center;
    background-color: var(--grey-color);
    color: var(--yellow-highlight-color);
    z-index: 1;
    justify-content: center;
}

.sticky .el-button--text {
    color: var(--white-color);
    border-radius: 0px;
}

.sticky .header-btn-selected {
    border-bottom: 3px solid var(--yellow-highlight-color);
}

.btnpc {
    display: none;
}

/*MAIN */

.intro {
    background-image: url("src/images/intro.png");
    background-position: center;
    color: var(--white-color);
    display: grid;
    align-items: center;
}

.introtitle {
    justify-self: center;
    font-size: 50px;
}

.introinstruction {
    justify-self: center;
}

.mainheader {
    display: flex;
    align-items: center;
    width: 1280px;
    max-width: 1280px;
    align-self: center;
}

.custommain {
    position: relative;
    margin-top: 60px;
}

.custommain:first-child {
    flex-basis: 100%;
}

.mainbody {
    max-width: 1280px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.custommain .el-button--text {
    color: var(--grey-color);
    border-radius: 0px;
}

.profilemain {
    margin: 60px 0;
}

.profiletxt {
    width: 400px;
    align-self: center;
}

.projectcard {
    min-width: 327px;
    margin: 20px 20px;
}

.projectcardcontent {
    text-align: center;
}

@media only screen and (max-width:795px){
    .projectcontainer {
        justify-content: center;
    }

    .aboutme .nexttoimage {
        margin: 0;
    }
}

.projectdescription {
    margin-top: 20px;
}

.contactblock {
    margin: 80px 0;
    line-height: 30px;
}

.contactblock p {
    line-height: 50px;
}

/* FOOTER */

.el-footer {
    background-color: var(--grey-color); 
    padding: 10px 10px;
    color: var(--white-color);
    text-align: center;
}

/* CAROUSEL */

.el-carousel__item {
    background-position: center;
}

.el-carousel__item:nth-child(2n) {
    background-color:var(--grey-color);
}

.el-carousel__item:nth-child(2n+1) {
    background-color: var(--lighter-grey-color);
}

/* BUTTONS CLASSES */

.el-button--default {
    color: var(--white-color);
    background-color: var(--yellow-highlight-color);
    border: 1px solid var(--white-color);
}

.el-button--default:hover {
    color: var(--white-color);
    background-color: var(--lighter-yellow-highlight-color);
    border: 1px solid var(--whiter-color);
}

.el-button--default:focus {
    border: 1px solid var(--white-color);
    color: var(--white-color);
    background-color: var(--lighter-yellow-highlight-color);
}

.el-button--text:hover {
    color: var(--yellow-highlight-color);
}

.el-button--text:focus {
    color: var(--lighter-yellow-highlight-color);
}

.el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close {
    color:var(--yellow-highlight-color);
}

.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {
    background-color: var(--white-color);;
    color: var(--yellow-highlight-color);
}

.el-dialog__body {
    word-break: normal;
}

/* TIMELINES */

.el-timeline {
    padding: 0 20px;
}