body {
    font-family: "Open sans", sans-serif;
    font-style: normal;
    font-size: .9rem;
    font-weight: normal;
    line-height: 1.5rem;
    color: #000816;
    counter-reset: page;
    overflow-y: scroll; /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;

    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, embed, iframe {
    -webkit-user-select: none;
    user-select: none;
}

::-moz-selection{
    color: #fcfdff;
    background: #09172f; 
}

::selection{
    color: #fcfdff;
    background: #09172f;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
    text-decoration-color: rgba(14, 22, 38, 0.65);
}

i#avatar {
    color: #fcfdff;
    text-shadow: 1px 1px 1px #ccc;
}

.fa-facebook {
    color: #3b5998;
    text-shadow: 1px 1px 1px #ccc;
}

.fa-twitter {
    color: #00aced;
    text-shadow: 1px 1px 1px #ccc;
}

.catbar a {
    font-family: "Open Sans Condensed", sans-serif;
    letter-spacing: 0.8px;
    line-height: 11px;
    color: #000816;
    text-decoration-color: rgba(14, 22, 38, 0.65);
}

@media only screen and (max-width: 760px) {
    .catbar a {
        line-height: 0px;
    }
}



/* -----WORK----- */
.work img {
    width: 100%;
}




/* -----POLAROIDS----- */
* {
    box-sizing: border-box;
}

.row {
    margin: 1rem 0px;
    border-top: 1px solid #ddd;
    clear: both;
    counter-increment: page;
    padding-bottom: 3em;
    position: relative;
}

.row:before {
    background-color: #ddd;
    display: inline-block;
    content: counter(page);
    color: #888;
    padding: .25rem .5rem;
    position: absolute;
    left: calc(50% - .75rem);
    top: -1rem;
    vertical-align: middle;
    z-index: 0;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column, .pcolumn {
    padding: 10px 12px 0px 12px;
}

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: calc(1/6 * 100%);
}

.pcolumn {
    float: left;
    width: calc(1/3 * 100%);
}

/* Clear floats after rows */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: white;
    display: inline;
    float: left;
    margin: 15px 0px 15px 0px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0 4px 6px rgba(14, 22, 38, .3);
    -moz-box-shadow: 0 4px 6px rgba(14, 22, 38,.3);
    box-shadow: 0 4px 6px rgba(14, 22, 38,.3);
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    z-index:0;
    will-change: transform;
    height: 350px;
}

.myImg-loading {
    opacity: 0;
}

.content img {
    display: flex;
    width: 100%;
    height: 55%;
    object-fit: cover;
    object-position: 50% 20%;
    -moz-user-select: none;
}

.content:hover{
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
    z-index:10;
    will-change: transform;
    -webkit-box-shadow: 0 10px 20px rgba(14, 22, 38, .7);
    -moz-box-shadow: 0 10px 20px rgba(14, 22, 38,.7);
    box-shadow: 0 10px 20px rgba(14, 22, 38,.7);
    transition: .3s ease;
}

.ptext {
    display: inline-block;
    padding: 0px 0.7rem;
    height: 70px;
    width: 100%;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
.ptext a {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.content p {
    margin:  0;
}

.article-list__pagination {
    background-color: #000816;
    -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.25);
    display: block;
    bottom: -1px;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: .7rem;
    position: fixed;
    text-align: center;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    z-index: 2;
    width: 100%;
    height: 48px;
    will-change: transform;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

@media only screen and (max-width: 991px) {
    .article-list__pagination {
        display: none;
    }
}

.article-list__pagination--inactive {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.article-list__pagination__item {
    display: inline-block;
    margin: 0 1em;
}
.article-list__pagination__item a {
    color: #888;
    text-decoration: none;
}
.article-list__pagination__item a:hover, .article-list__pagination__item a:focus {
    color: #aeaeae;
}
.article-list__pagination__item a:active {
    color: #fcfdff;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 1750px) {
    .column {
        width: calc(1/5 * 100%);
    }
}

@media (max-width: 1440px) {
    .column {
        width: calc(1/4 * 100%);
    }
}

@media (max-width: 1200px) {
    .column {
        width: calc(1/3 * 100%);
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 800px) {
    .column {
        width: 50%;
    }
    .row,
    .row > .column {
        padding: 010px 20px 0px 20px;
    }
}

@media (max-width: 550px) {
    .column {
        width: 100%;
    }
    .row,
    .row > .column {
        padding: 0px 15px 0px 15px;
    }
}



/* -----PROFILE----- */
.propic {
    display: block;
    border-radius: 50%;
    width: 29.67vw;
    height: 29.67vw;
    object-fit: cover;
    object-position: 50% 20%;
    padding: 10%;
}



/* -----LOGIN MODAL----- */
form {
    border: 3px solid #f1f1f1;
    min-height: 600px;
    height: 50%;
}

/* Full-width inputs */
form input[type=text], input[type=password] {
    width: 50%;
    padding: 5px 0px 1px;
    margin: 8px 0;
    display: inline-block;
    border: 0;
    border-bottom: 1px solid #b3b3b3;
    box-sizing: border-box;
}

form input[type=text]:focus, input[type=password]:focus {
    width: 60%;
    outline: none;
    border-bottom: 1px solid black;
    -webkit-transition: width .35s ease-in-out;
    transition: width .35s ease-in-out;
}

/* Set a style for all buttons */
button {
    background-color: #036b43;
    color: #fcfffe;
    padding: 3px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 50%;
}

/* Add a hover effect for buttons */
form button:hover {
    opacity: 0.8;
}

/* Center the avatar image inside this container */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

/* Avatar image */
img.avatar {
    width: 80%;
    border-radius: 50%;
}

/* Add padding to containers */
.container {
    padding: 16px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

/* The "Forgot password" text */
span.psw {
    float: right;
    margin-left: 80px;
}

.container i {
    padding: .8rem;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 55px auto; /* 15% from the top and centered */
    border: 1px solid #888;
    display: flex;
    box-sizing: border-box;
    width: 60%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    /* Position it in the top right corner outside of the modal */
    position: absolute;
    right: 25px;
    top: 25px;
    color: #fcfdff;
    font-size: 45px;
    font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
    color: #f1f1f1;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}



/* -----GALLERY MODAL----- */
/* Style the Image Used to Trigger the Modal */
.myImg {
    cursor: pointer;
    transition: 0.3s;
}

/* The Modal (background) */
.galModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 150; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    animation-name: fade;
    animation-duration: .8s;
    animation-timing-function: ease;
}

/* Modal Content (Image) */
.gmodal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    min-height: 200px;
    max-height: 90vh;
}

@media screen and (max-width: 576px) {
    .gmodal-content {
        top: 65vw;
    } 
}

/* Caption of Modal Image (Image Text)*/
.gmodTitle {
    color: #fcfdff;
    margin: .7rem 0 0 0;
    font-size: 1.3rem;
}

.gmodTitle:hover {
    text-decoration: underline;
    text-decoration-color: rgba(252, 253, 255, 0.65);
}

.space {
    margin: auto;
}

.mbody {
    background-color: rgba(1, 2, 4, 0.6);
    color: #fcfdff;
    padding: 0 15%;
    outline: 2px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    text-shadow:
        -1px -1px 2px rgba(14, 22, 38, 0.8),
        1px -1px 2px rgba(14, 22, 38, 0.8),
        -1px 1px 2px rgba(14, 22, 38, 0.8),
        1px 1px 2px rgba(14, 22, 38, 0.8);
}

/* Add Animation */

@keyframes fade {
    from {opacity: 0}
    to {opacity: 100%}
}

@keyframes zoom {
    from {transform:scale(0.84)}
    to {transform:scale(1)}
}

/* The Close Button */
.gclose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fcfdff;
    font-size: 4em;
    font-weight: bold;
    transition: 0.3s;
}
@media screen and (max-width: 991px) {
    .gclose {font-size: 6em;}
}

.gclose:hover,
.gclose:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}