/* ========================================= * 
                BEST VIEWED FULLSCREEN
https://codepen.io/ig_design/full/NWxwBvw
* ========================================= */
/* ===================Projects showcse====================== */


@keyframes mask-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(150px);
    }
}
@keyframes mask-inner-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-150px);
    }
}

.focus {
    /* text-transform: uppercase; */
    color: white;
    letter-spacing: 0.2rem;
    line-height: 1;
    position: relative;
    width: 179px;
    font-size: 16px;
}
.focus:before {
    content: 'ArashJavadi.com';
    filter: blur(1px);
    font-size: 16px;
}
.focus:after {
    content: '';
    position: absolute;
    width: 25px;
    height: calc(100% + 8px);
    top: -4px;
    left: 0;
    border-top: 2px solid;
    border-bottom: 2px solid;
    animation: mask-move 1s linear infinite alternate;
    font-size: 16px;
}
.focus--mask {
    overflow: hidden;
    position: absolute;
    width: 179px;
    height: 100%;
    top: 0;
    left: 0;
    animation: mask-move 1s linear infinite alternate;
    font-size: 16px;
}
.focus--mask-inner {
    animation: mask-inner-move 1s linear infinite alternate;
    font-size: 16px;
}
.credits {
    color: white;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 200;
    letter-spacing: 0.05rem;
    font-style: italic;
    text-align: center;
    font-size: 16px;
}
.credits a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
}
.credits a:hover {
    text-decoration: underline;
    font-size: 16px;
}



/* ========================================= */


@import url('https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap');
:root {
    --d: 700ms;
    --e: cubic-bezier(0.19, 1, 0.22, 1);
    --font-sans: 'Rubik', sans-serif;
    --font-serif: 'Cardo', serif;
}

.ps-web-lists {
    display: grid;
    place-items: center;
}

.ps-web-lists *{
    box-sizing: border-box;
}
.page-content {
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    max-width: 1024px;
    margin: 0 auto;
    font-family: var(--font-sans);
}
@media (min-width: 600px) {
    .page-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 800px) {
    .page-content {
        grid-template-columns: repeat(4, 1fr);
    }
}
.card {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
    text-align: center;
    color: whitesmoke;
    background-color: whitesmoke;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
    .card {
        height: 350px;
    }
}
.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: 0 0;
    transition: transform calc(var(--d) * 1.5) var(--e);
    pointer-events: none;
}
.card:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.320) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.540) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.790) 100%);
    transform: translateY(-50%);
    transition: transform calc(var(--d) * 2) var(--e);
}
.card:nth-child(1):before {
    background-image: url(../img/project-showcase-images/AJDWP_logo.png);
}
.card:nth-child(2):before {
    background-image: url(../img/project-showcase-images/OneWorldChoir.png);
}
.card:nth-child(3):before {
    background-image: url(../img/project-showcase-images/WalesDeals.png);
}
.card:nth-child(4):before {
    background-image: url(../img/project-showcase-images/thebesthouse.png);
}
.card:nth-child(5):before {
    background-image: url(../img/project-showcase-images/manabaoosh.png);
}
.card:nth-child(6):before {
    background-image: url(../img/project-showcase-images/BehiEyeWear.png);
}
.card:nth-child(7):before {
    background-image: url(../img/project-showcase-images/Sabalanstone.jpg);
}
.card:nth-child(8):before {
    background-image: url(../img/project-showcase-images/oasis.png);
}

.card:nth-child(1):before,
.card:nth-child(2):before,
.card:nth-child(3):before,
.card:nth-child(4):before,
.card:nth-child(5):before,
.card:nth-child(6):before
{
    background-size: 200px;
    background-position: center;
    background-repeat: no-repeat;    
}


.content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    transition: transform var(--d) var(--e);
    z-index: 1;
}
.content > * + * {
    margin-top: 1rem;
}
.title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.copy {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.35;
}
.btn {
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    background-color: black;
    border: none;
}
.btn:hover {
    background-color: #0d0d0d;
}
.btn:focus {
    outline: 1px dashed yellow;
    outline-offset: 3px;
}
@media (hover: hover) and (min-width: 600px) {
    .card:after {
        transform: translateY(0);
    }
    .content {
        transform: translateY(calc(100% - 4.5rem));
    }
    .content > *:not(.title) {
        opacity: 0;
        transform: translateY(1rem);
        transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    }
    .card:hover, .card:focus-within {
        align-items: center;
    }
    .card:hover:before, .card:focus-within:before {
        transform: translateY(-4%);
    }
    .card:hover:after, .card:focus-within:after {
        transform: translateY(-50%);
    }
    .card:hover .content, .card:focus-within .content {
        transform: translateY(0);
    }
    .card:hover .content > *:not(.title), .card:focus-within .content > *:not(.title) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--d) / 8);
    }
    .card:focus-within:before, .card:focus-within:after, .card:focus-within .content, .card:focus-within .content > *:not(.title) {
        transition-duration: 0s;
    }
}





/* ====================slider descriptions===================== */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900');

a {
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

.ps-section {
    position: relative;
    width: 100%;
    display: block;
}


.over-hide {
    overflow: hidden;
}

.padding-tb {
    padding: 10px 0;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.checkbox:checked+label,
.checkbox:not(:checked)+label {
    position: relative;
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
    margin-right: 6px;
    margin-left: 6px;
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #bdc3c7;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-image: url('../img/project-showcase-images/AJDWP_logo.png');
    animation: border-transform 6s linear infinite alternate forwards;
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    animation-play-state: paused;
}

.checkbox.scnd+label {
    background-image: url('../img/project-showcase-images/WalesDeals.png');
}

.checkbox.thrd+label {
    background-image: url('../img/project-showcase-images/OneWorldChoir.png');
}

.checkbox.foth+label {
    background-image: url('../img/project-showcase-images/thebesthouse.png');
}

.checkbox.fifth+label {
    background-image: url('../img/project-showcase-images/manabaoosh.png');
}





.checkbox:checked+label {
    box-shadow: 0 8px 5px 0 rgba(16, 39, 112, .3);
    transform: scale(1.3);
    -webkit-animation-play-state: running;
    -moz-animation-play-state: running;
    animation-play-state: running;
}

@keyframes border-transform {

    0%,
    100% {
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    }

    14% {
        border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
    }

    28% {
        border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
    }

    42% {
        border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
    }

    56% {
        border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
    }

    70% {
        border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
    }

    84% {
        border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
    }
}

.slider-height-padding {
    padding-top: 440px;
}

ul#ps-ul {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    z-index: 100;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul#ps-ul li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 100;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 400px;
    border: 5px solid #bdc3c7;
    border-radius: 50%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    /* font-size: 16px; */
    letter-spacing: 2px;
    line-height: 2.7;
    color: #343434;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 25px 0 rgba(16, 39, 112, .1);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-image: url('../img/project-showcase-images/AJDWP_logo.png');
    background-size: 300px;
    background-position: center;
    background-repeat: no-repeat;
}


.ps-inner-div{
    background-color: rgba(255, 255, 255, 0.5);
}

.ps-inner-p{
    font-size: 12px;
    padding: 10px;
}

ul#ps-ul li a{
    writing-mode: vertical-rl;
}

div.ps-inner-div > div > span > a{
    animation: backgroundAnimation 2s linear infinite;
}


@keyframes backgroundAnimation {
    0% {
    transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

ul#ps-ul li:nth-child(2) {
    background-image: url('../img/project-showcase-images/WalesDeals.png');
}

ul#ps-ul li:nth-child(3) {
    background-image: url('../img/project-showcase-images/OneWorldChoir.png');
}


ul#ps-ul li:nth-child(4) {
    background-image: url('../img/project-showcase-images/thebesthouse.png');
}

ul#ps-ul li:nth-child(5) {
    background-image: url('../img/project-showcase-images/manabaoosh.png');
}



.checkbox.frst:checked~ul#ps-ul li:nth-child(1) {
    opacity: 1;
    pointer-events: auto;
    border-radius: 16px;
}

.checkbox.scnd:checked~ul#ps-ul li:nth-child(2) {
    opacity: 1;
    pointer-events: auto;
    border-radius: 16px;
}

.checkbox.thrd:checked~ul#ps-ul li:nth-child(3) {
    opacity: 1;
    pointer-events: auto;
    border-radius: 16px;
}

.checkbox.foth:checked~ul#ps-ul li:nth-child(4) {
    opacity: 1;
    pointer-events: auto;
    border-radius: 16px;
}

.checkbox.fifth:checked~ul#ps-ul li:nth-child(5) {
    opacity: 1;
    pointer-events: auto;
    border-radius: 16px;
}

.logo {
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
    z-index: 100;
    transition: all 250ms linear;
}

.logo img {
    height: 26px;
    width: auto;
    display: block;
}



@media (max-width: 767px) {
    .slider-height-padding {
        padding-top: 340px;
    }

    ul#ps-ul li {
        height: 300px;
        /* font-size: 13px; */
        letter-spacing: 1px;
    }

    .ps-inner-p{
        font-size: 9px;
        padding: 0px;
    }

    .ps-slider{
        padding-top: 50px;
    }
}

@media (max-width: 575px) {
    .slider-height-padding {
        padding-top: 240px;
    }

    ul#ps-ul li {
        height: 200px;
    }

    .ps-inner-p{
        font-size: 7px;
        padding: 0px;
        padding-left: 2rem;
    }

    ul#ps-ul li div div.col-1{
        display: none;
    }

    .padding-tb{
        padding: 0;
    }

    .ps-slider{
        padding-top: 25px;
    }
}