@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.header-transition {
    position: absolute;
    top: 84px;
    width: 100%;
    height: 180px;
    background-image: linear-gradient(black, transparent);
}

#myPhoto1 {
    position: fixed;
    width: 25%;
    height: 100%;
    background-image: url("../images/levtyrnov-home.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: bottom;
    z-index: 1005;
    pointer-events: none;
}

#myPhoto2 {
    position: fixed;
    width: 25%;
    height: 100%;
    background-image: url("../images/levtyrnov-music.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: bottom;
    z-index: 1000;
    pointer-events: none;
}

#featuredWork {
    position: absolute;
    top: 25%;
    right: 2%;
    width: 45%;
    height: 65%;
    z-index: 1001;
}

#featuredWork h2,
h3 {
    margin: 0;
    color: #fff;
}

* {
    box-sizing: border-box;
}

body {
    transition: background 0.4s ease-in;
    background-color: crimson;

    &.blue {
        background-color: dodgerblue;
    }
    &.green {
        background-color: yellowgreen;
    }
}

input[type="radio"] {
    display: none;
}

.card {
    position: absolute;
    width: 70%;
    height: 90%;
    left: 0;
    right: 0;
    transition: transform 0.4s ease;
    cursor: pointer;
    color: black;
    border-radius: 14px;
    clip-path: margin -box;
    overflow: clip;
    padding: 12px;
}

.container {
    width: 90%;
    max-width: 800px;
    max-height: 600px;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.cards {
    position: absolute;
    top: 10%;
    width: 105%;
    height: 90%;
    margin-bottom: 20px;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#item-1:checked ~ .cards #song-3,
#item-2:checked ~ .cards #song-1,
#item-3:checked ~ .cards #song-2 {
    transform: translatex(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked ~ .cards #song-2,
#item-2:checked ~ .cards #song-3,
#item-3:checked ~ .cards #song-1 {
    transform: translatex(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked ~ .cards #song-1,
#item-2:checked ~ .cards #song-2,
#item-3:checked ~ .cards #song-3 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;
}

.player {
    background-color: #fff;
    border-radius: 8px;
    min-width: 320px;
    padding: 16px 10px;
}

.upper-part {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    height: 36px;
    overflow: hidden;
}

.play-icon {
    margin-right: 10px;
}

.song-info {
    width: calc(100% - 32px);
    display: block;
}

.song-info .title {
    color: #403d40;
    font-size: 14px;
    line-height: 24px;
}

.sub-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.subtitle,
.time {
    font-size: 12px;
    line-height: 16px;
    color: #c6c5c6;
}

.time {
    font-size: 12px;
    line-height: 16px;
    color: #a5a5a5;
    font-weight: 500;
    margin-left: auto;
}

.progress-bar {
    height: 3px;
    width: 100%;
    background-color: #e9efff;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    display: block;
    position: relative;
    width: 60%;
    height: 100%;
    background-color: #2992dc;
    border-radius: 6px;
}

.info-area {
    width: 100%;
    position: absolute;
    top: 0;
    left: 30px;
    transition: transform 0.4s ease-in;
}

#item-2:checked ~ .player #test {
    transform: translateY(0);
}

#item-2:checked ~ .player #test {
    transform: translateY(-40px);
}

#item-3:checked ~ .player #test {
    transform: translateY(-80px);
}
.projectPreview {
    object-fit: scale-down;
    height: 100%;
    padding: 14px;
    padding-top: 0;
    padding-bottom: 180px;
}

@media only screen and (max-width: 600px) {
    #featuredWork h2 {
        font-size: 2.5rem;
    }
}

.prcat {
    position: relative;
    color: rgba(255, 255, 255, 0.45);
    font-family: "montserrat-semibold", sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
}

.projectInfo {
    font-family: "montserrat-regular", sans-serif;
    position: absolute;
    padding: 2rem;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 116px;
    vertical-align: middle;
    line-height: 2.1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.45);
    background-color: dimgrey;
    /*background-image: linear-gradient(to right, black, transparent);*/
    clip-path: none;
}

.footernotice {
    position: absolute;
    bottom: 15px;
    right: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-family: sans-serif;
    font-size: 1rem;
    text-align: right;
}

.cardHeader {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
}

.moreLink {
    color: #fff;
    position: absolute;
    display: block;
    top: 25%;
    height: 50%;
    right: 30px;
    font-size: 5rem;
}

.btnMore {
    position: absolute;
    top: 25%;
    height: 50%;
    width: 25%;
    right: 15px;
}

.item-1 {
    background-color: dodgerblue;
}

.item-2 {
    background-color: crimson;
}

.item-3 {
    background-color: yellowgreen;
}
