:root {
	--color-text: #424242;
	--color-accent: #ed008c;
	--color-gray: #686868;
    --color-background: #cdd0d5;
}

body {
    margin: 0;
    user-select: none;
	background: url(../assets/icons/background.png);
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 80%;
    color: #333333;
}

.background {
    width: 1280px;
    height: 853px;
    background-color: var(--color-background);
}

.header {
    width: 100%;
    height: 83px;
    background-color: #ffffff;
}
.title {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 26px;

    float: left;
    margin-left: 35px;
    margin-top: 26px;
}
.logo {
    position: absolute;
    width: 403px;
    height: 73px;
    left: calc(1280px - 403px);
    top: 10px;
    padding: 0;
    margin: 0;
}

.image {
    object-fit: cover;
    width: 980px;
    height: 620px;
    border-radius: 7px;
    position: absolute;
    top: 113px;
    left: 150px;
    box-shadow: 5px 5px 10px rgba(50, 50, 50, 0.3);
    transition: opacity 0.5s ease;
    opacity: 0;
}
.image.visible {
    opacity: 1;
}

.progress-container {
    position: absolute;
    top: 728px;
    left: 150px;
    width: 980px;
    height: 5px;
    border-radius: 0px 0px 7px 7px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--color-accent);
    transition: width linear;
}

.button {
    cursor: pointer;
    transform: translate(-50%, -50%);
}
.previous {
    position: absolute;
    top: 433px;
    left: 75px;
    height: 50px;
    width: 50px;
}
.next {
    position: absolute;
    top: 433px;
    left: 1205px;
    height: 50px;
    width: 50px;
}
.pause {
    position: absolute;
    top: 792px;
    left: 640px;
}

.corner {
    position: absolute;
    background-color: var(--color-accent);
}
.corner.top {
    width: 3px;
    height: 100px;
    top: 113px;
}
.corner.bottom.horizontal {
    width: 100px;
    height: 3px;
    top: 823px;
}
.corner.bottom.vertical {
    width: 3px;
    height: 100px;
    top: 723px;
}
.left {
    left: 30px;
}
.right {
    left: 1247px;
}
.right-horizontal {
    left: 1150px;
}

@media (max-width: 600px) {

    body {
        background: none;
        overflow-x: hidden;
    }

    .background {
        width: 100vw;
        height: 100vh;
    }

    .header {
        width: 100vw;
        height: 160px;
        display: flex;
        flex-direction: column-reverse;
    }
    .title {
        font-size: 28px;
        margin-left: 25px;
        margin-top: 10px;
    }
    .logo {
        left: 0;
    }

    .image {
        width: 95vw;
        height: calc(95vw / 130 * 100);
        position: absolute;
        top: 210px;
        left: calc(100vw / 40);
        border-radius: 5px;
    }

    .progress-container {
        top: calc(210px + (95vw / 130 * 100) - 5px);
        left: calc(100vw / 40);
        width: 95vw;
        border-radius: 0px 0px 5px 5px;
    }

    .previous {
        top: 620px;
        left: calc(100vw / 5);
    }
    .next {
        top: 620px;
        left: calc(100vw / 1.25);
    }
    .pause {
        top: 620px;
        left: calc(100vw / 2);
    }

    .corner {
        display: none;
    }
}