body {
    background-image: url('/img/background-home.jpg');
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

#skill {
    position: relative;
    color: #fff;
    margin-top: 70px;
    height: 500px;
    text-align: center;
}

#skill .content-text {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.6;
    margin-top: 20%;
}

#skill button {
    cursor: pointer;
    border: 2px solid #000;
    width: 200px;
    padding: 20px 0;
    margin-top: 64px;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    background: none;
    color: #fff;
}

#skill #css-btn {
    float: left;
    margin-left: 15%;
}

#skill #css-btn:hover {
    background-color: #6FB2D2;
    transition: all 0.5s ease;
    color: #000;
}

#skill #ecma-btn {
    float: right;
    margin-right: 15%;
}

#skill #ecma-btn:hover {
    background-color: #EBD671;
    transition: all 0.5s ease;
    color: #000;
}

#design-section {
    position: relative;
    height: 400px;
    background-color: #edeff5;
}

#design-section .content-text {
    position: absolute;
    margin-top: 32px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.6;
    text-align: center;
}

#design-section button {
    cursor: pointer;
    border: 2px solid #000;
    width: 200px;
    padding: 20px 0;
    margin-top: 200px;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    background: none;
}

#design-section button a {
    color: #000;
    text-decoration: none;
}

#design-section #design1 {
    float: left;
    margin-left: 15%;
}

#design-section #design1:hover {
    background-color: #EBD671;
    transition: all 0.5s ease;
    color: #000;
}

#design-section #design2 {
    float: right;
    margin-right: 15%;
}

#design-section #design2:hover {
    background-color: #85C88A;
    transition: all 0.5s ease;
    color: #000;
}

#game-section {
    position: relative;
    color: #fff;
    margin-top: 70px;
    height: 300px;
    text-align: center;
}

#game-section .heading {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.6;
    margin-top: 20%;
}

#game-section button {
    cursor: pointer;
    border: 2px solid #000;
    width: 200px;
    padding: 20px 0;
    margin-top: 32px;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    background: none;
}

#game-section button a {
    text-decoration: none;
    color: #fff;
}

#game-section button:hover {
    background-color: #FE83C6;
    transition: all 0.5s ease;
}

#close-btn {
    font-size: 14px;
    font-weight: 700;
    float: right;
    top: 0;
    right: 0;
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    background-color: #edeff5;
}

#close-btn:hover {
    background-color: red;
    color: #fff;
    transition: all 0.5s ease;
}

#example-css-btn,
#example-ecma-btn {
    position: absolute;
    bottom: 20%;
    left: 20%;
    cursor: pointer;
    border: 2px solid #000;
    padding: 20px 50px;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    background: none;
}

#example-css-btn:hover {
    background-color: #6FB2D2;
    transition: all 0.5s ease;
    color: #fff;
}

#example-ecma-btn:hover {
    background-color: #EBD671;
    transition: all 0.5s ease;
    color: #fff;
}

#css-describe.open,
#ecma-describe.open {
    display: flex;
}

#css-describe,
#ecma-describe {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

#css-container,
#ecma-container {
    height: 80%;
    width: 95%;
    background-color: #fff;
    animation: open ease 0.5s;
}

#css-container > img,
#ecma-container > img {
    position: absolute;
    margin-top: 32px;
    left: 50%;
    transform: translateX(-50%);
}

#css-container .heading,
#ecma-container .heading {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#css-container p,
#ecma-container p {
    margin-left: 32px;
    font-size: 16px;
    line-height: 1.4;
}


.css-content,
.ecma-content {
    position: absolute;
    top: 33%;
    left: 20%;
    right: 20%;
    text-align: justify;
}

#css-example.open,
#ecma-example.open {
    display: flex;
}

#css-example,
#ecma-example {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
}

#css-example #example-content,
#ecma-example #example-content {
    background-color: #fff;
    height: 80%;
    width: 95%;
    animation: openExample 0.5s ease;
}

#css-example #example-content h1,
#ecma-example #example-content h1 {
    position: absolute;
    margin-top: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    letter-spacing: 3px;
}

#css-example #example-content p,
#ecma-example #example-content p {
    position: absolute;
    margin-top: 80px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 2px;
    text-align: center;
}

#css-example #example-content img,
#ecma-example #example-content img {
    position: absolute;
    margin-top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}

@keyframes open {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes openExample {
    from {
        transform: translateY(-200px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

