#editor .loading {
    display: block;
    height: 400px;
}

.file-input {
    position: fixed;
    z-index: -1;
    top: -100%;
    left: -100%;
}

#contents {
    display: block;
    width: 100%;
}

#contents .loading {
    display: block;
    width: 200px;
    margin: 0 auto;
}

/***********************************/

.section1 {
    display: block;
    width: 100%;
    height: 700px;
    font-size: 0;
    background: #222;
}

.image1 {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    height: 100%;
    position: relative;
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#change-image1 {
    display: block;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: blueviolet;
    color: #fff;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    font-size: 14px;
    border: 0;
    outline: 0;
}

.section1 section {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    padding: 0 20px;
}

.heading {
    display: block;
    width: 100%;
    line-height: 40px;
    font-size: 30px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    text-align: center;
    margin-bottom: 5px;
}

.section1 .heading {
    color: #ddd;
}

.paragraph {
    display: block;
    width: 100%;
    line-height: 25px;
    font-size: 16px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    text-align: center;
    margin-bottom: 5px;
}

.section1 .paragraph {
    color: #ddd;
}

.edit-text {
    display: block;
    width: 100px;
    border: 0;
    outline: 0;
    color: blueviolet;
    background: transparent;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    text-align: center;
    margin: 0 auto;
    font-size: 15px;
    margin-bottom: 30px;
}

.edit-text:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 700px){
    
    .section1 {
        height: auto;
    }
    
    .image1 {
        display: block;
        width: 100%;
        height: 700px;
    }
    
    .section1 section {
        display: block;
        width: 100%;
        padding: 50px 20px;
    }
    
    @media only screen and (max-width: 500px){
        
        .image1 {
            height: 500px;
        }
        
        .heading {
            line-height: 30px;
            font-size: 20px;
        }
        
        .paragraph {
            line-height: 20px;
            font-size: 14px;
        }
        
    }
    
}

/**********************************/

.section2 {
    display: block;
    width: 100%;
    height: 700px;
    position: relative;
    background: #fff;
    overflow: hidden;
    font-size: 0;
}

.image2 {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.image2.second {
    padding-right: 50%;
}

.change-image2 {
    display: block;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: blueviolet;
    color: #fff;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    font-size: 14px;
    border: 0;
    outline: 0;
}

.image2 img {
    display: block;
    width: 200%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}

.image2.first img {
    left: -100%;
}

.section2 section {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    background: #fff;
}

@media only screen and (max-width: 500px){
    
    .section2 {
        height: auto;
    }
    
    .image2 {
        display: block;
        width: 100%;
        height: 500px;
    }
    
    .image2.first {
        display: none;
    }
    
    .image2 img {
        width: 100%;
    }
    
    .section2 section {
        display: block;
        width: 100%;
        padding: 50px 20px;
    }
    
}

/****************************************/

.edit-modal {
    display: block;
    width: 100%;
    height: 100%;
    overflow: auto;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.9);
    padding: 50px 0;
}

.edit-modal .background-layer {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

.edit-modal section {
    display: block;
    width: 500px;
    padding: 20px;
    background: #fff;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

#text-input {
    display: block;
    width: 100%;
    height: 100px;
    resize: vertical;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: transparent;
    padding: 15px;
    font-family: Popping-Regular, sans-serif;
    font-weight: normal;
    color: #222;
    text-align: left;
    font-size: 14px;
    margin-bottom: 20px;
}

.save-btn,
.cancel-btn {
    display: inline-block;
    vertical-align: middle;
    padding: 0 30px;
    height: 40px;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    margin-right: 10px;
    border: 0;
}

.save-btn {
    background: blueviolet;
    color: #fff;
}

.cancel-btn {
    background: #ddd;
    color: #222;
}

@media only screen and (max-width: 700px){
    
    .edit-modal section {
        width: 400px;
    }
    
    @media only screen and (max-width: 500px){
        
        .edit-modal {
            padding: 0;
            background: #fff;
        }
        
        .edit-modal section {
            width: 100%;
        }
        
    }
    
}























