.btn {
    text-transform: uppercase;
    font-size: 10px;
    padding: 3px 6px 3px 6px;
    color: 00000;
    outline: 0;
    border: 0;
    margin: 0 5px 0 5px;
    background: #333;
    cursor: pointer;
    white-space: nowrap;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.btn:hover {
    box-shadow: inset 0 -100px white;
    color: #01ACED;
}
.btn:target {
    box-shadow: inset 0 -100px white;
    color: #333;
}
.project-details {
    padding: 50px 100px;
}
.project-details article {
    width: 60%;
    margin: 0 auto;
}
.project-details article h1 {
    font-size: 1.9em;
}
.project-details article h3 {
    font-size: 1.5em;
}
.project-details ul li {
    margin: 15px 0 0 0;
}
.project-details .container .btn {
    text-align: center;
    text-decoration: none;
    padding: 20px 30px;
}
.project-details .container .btn:active {
    transform: translateY(5px);
}
.project-details:nth-of-type(1) {
    margin: 100px 0 0;
    background: #5f8f8f;
    color: white;
}
.modal {
    position: fixed;
    min-width: 1100px;
    height: 90%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #e6e6e6;
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    -webkit-transition: all .3s ease-out;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.modal-scaled {
    opacity: 1 !important;
    -webkit-animation: scale .3s ease-out forwards;
    -moz-animation: scale .3s ease-out forwards;
    -ms-animation: scale .3s ease-out forwards;
    -o-animation: scale .3s ease-out forwards;
    animation: scale .3s ease-out forwards;
}
.modal-unscaled {
    -webkit-animation: unscale .3s ease-out forwards;
    -moz-animation: unscale .3s ease-out forwards;
    -ms-animation: unscale .3s ease-out forwards;
    -o-animation: unscale .3s ease-out forwards;
    animation: unscale .3s ease-out forwards;
}
/***animations for modal-scale***/

@-webkit-keyframes scale {
    from {
        -webkit-transform: scale(0);
        opacity: 0;
    }
    to {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}
@-moz-keyframes scale {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1 !important;
    }
}
@-ms-keyframes scale {
    from {
        -ms-transform: scale(0);
        opacity: 0;
    }
    to {
        -ms-transform: scale(1);
        opacity: 1;
    }
}
@-o-keyframes scale {
    from {
        -o-transform: scale(0);
        opacity: 0;
    }
    to {
        -o-transform: scale(1);
        opacity: 1;
    }
}
@keyframes scale {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
/****reverse scale***/

@-webkit-keyframes unscale {
    from {
        -webkit-transform: scale(1);
        opacity: 1;
    }
    to {
        -webkit-transform: scale(0) translate(0);
        opacity: 0;
    }
}
@-moz-keyframes unscale {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0) translate(0);
        opacity: 0;
    }
}
@-ms-keyframes unscale {
    from {
        -ms-transform: scale(1);
        opacity: 1;
    }
    to {
        -ms-transform: scale(0) translate(0);
        opacity: 0;
    }
}
@-o-keyframes unscale {
    from {
        -o-transform: scale(1);
        opacity: 1;
    }
    to {
        -o-transform: scale(0) translate(0);
        opacity: 0;
    }
}
@keyframes unscale {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0) translate(0);
        opacity: 0;
    }
}
.modal-translated {
    -webkit-animation: translate .3s ease-out forwards;
    -moz-animation: translate .3s ease-out forwards;
    -ms-animation: translate .3s ease-out forwards;
    -o-animation: translate .3s ease-out forwards;
    animation: translate .3s ease-out forwards;
}
.modal-untranslated {
    -webkit-animation: untranslate .3s ease-out forwards;
    -moz-animation: untranslate .3s ease-out forwards;
    -ms-animation: untranslate .3s ease-out forwards;
    -o-animation: untranslate .3s ease-out forwards;
    animation: untranslate .3s ease-out forwards;
}
/***animations for "modal-translate"***/

@-webkit-keyframes translate {
    from {
        -webkit-transform: translateY(100%);
    }
    to {
        -webkit-transform: translate(0);
    }
}
@-moz-keyframes translate {
    from {
        -moz-transform: translateY(100%);
    }
    to {
        -moz-transform: translate(0);
    }
}
@-ms-keyframes translate {
    from {
        -ms-transform: translateY(100%);
    }
    to {
        -ms-transform: translate(0);
    }
}
@-o-keyframes translate {
    from {
        -o-transform: translateY(100%);
    }
    to {
        -o-transform: translate(0);
    }
}
@keyframes translate {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translate(0);
    }
}
/**reverse translate**/

@-webkit-keyframes untranslate {
    from {
        -webkit-transform: translate(0);
    }
    to {
        -webkit-transform: translateY(100%);
    }
}
@-moz-keyframes untranslate {
    from {
        transform: translate(0);
    }
    to {
        transform: translateY(100%);
    }
}
@-ms-keyframes untranslate {
    from {
        -ms-transform: translate(0);
    }
    to {
        -ms-transform: translateY(100%);
    }
}
@-o-keyframes untranslate {
    from {
        -o-transform: translate(0);
    }
    to {
        -o-transform: translateY(100%);
    }
}
@keyframes untranslate {
    from {
        transform: translate(0);
    }
    to {
        transform: translateY(100%);
    }
}
.modal-faded {
    -webkit-animation: fadeIn .3s ease-out forwards;
    -moz-animation: fadeIn .3s ease-out forwards;
    -ms-animation: fadeIn .3s ease-out forwards;
    -o-animation: fadeIn .3s ease-out forwards;
    animation: fadeIn .3s ease-out forwards;
}
.modal-unfaded {
    -webkit-animation: fadeOut .3s ease-out forwards;
    -moz-animation: fadeOut .3s ease-out forwards;
    -ms-animation: fadeOut .3s ease-out forwards;
    -o-animation: fadeOut .3s ease-out forwards;
    animation: fadeOut .3s ease-out forwards;
}
/****animations for modal-fade***/

@-webkit-keyframes fadeIn {
    from {
        visibility: hidden;
        opacity: 0;
    }
    to {
        visbility: visible;
        opacity: 1;
    }
}
@-moz-keyframes fadeIn {
    from {
        visibility: hidden;
        opacity: 0;
    }
    to {
        visbility: visible;
        opacity: 1;
    }
}
@-ms-keyframes fadeIn {
    from {
        visibility: hidden;
        opacity: 0;
    }
    to {
        visbility: visible;
        opacity: 1;
    }
}
@-o-keyframes fadeIn {
    from {
        visibility: hidden;
        opacity: 0;
    }
    to {
        visbility: visible;
        opacity: 1;
    }
}
@keyframes fadeIn {
    from {
        visibility: hidden;
        opacity: 0;
    }
    to {
        visbility: visible;
        opacity: 1;
    }
}
/**reverse fade**/

@-webkit-keyframes fadeOut {
    from {
        visibility: visible;
        opacity: 1;
    }
    to {
        visibility: hidden;
        opacity: 0;
    }
}
@-moz-keyframes fadeOut {
    from {
        visibility: visible;
        opacity: 1;
    }
    to {
        visibility: hidden;
        opacity: 0;
    }
}
@-ms-keyframes fadeOut {
    from {
        visibility: visible;
        opacity: 1;
    }
    to {
        visibility: hidden;
        opacity: 0;
    }
}
@-o-keyframes fadeOut {
    from {
        visibility: visible;
        opacity: 1;
    }
    to {
        visibility: hidden;
        opacity: 0;
    }
}
@keyframes fadeOut {
    from {
        visibility: visible;
        opacity: 1;
    }
    to {
        visibility: hidden;
        opacity: 0;
    }
}

.modal header {
    position: relative;
    height: 30px;
    background: #314D5D;
    box-shadow: 0 1px 1px #b3b3b3;
    text-align: center;
    line-height: 10px;
}
.modal header h2 {
    margin: 10px 0;
    text-align: center;
    display: inline-block;
    vertical-align: center;
    color: white;
}
.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 20px;
    border: 0;
    outline: 0;
    background: #ff0000;
    color: #ffffff;
    cursor: pointer;
}
.btn-close:hover {
    color: #050708;
    background: #ffffff;
}
.btn-close:active {
    background: #F1707A;
}
.modal section {
    width: 60%;
    margin: 50px auto;
}
.modal section p {
    color: #333;
    font-weight: 200;
}
.modal section .section-btn {
    display: block;
    width: 300px;
    border: none;
    color: white;
    background: #4ad7d7;
    padding: 10px 20px;
    margin: 50px 0 0;
}
.modal section .section-btn:active {
    background: #2bc3c3;
}
.modal-is-opened {
    visibility: visible;
    opacity: 1;
    pointer-events: auto !important;
    margin-top: 50px;
    background: transparent;
}
@media screen and (max-width: 480px) {
    .modal {
        font-size: 14px;
    }
    .modal section {
        width: 80%;
        margin: 50px auto;
    }
    .modal section .section-btn {
        width: 100%;
    }
}