@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

body {
    margin: 0;
    padding: 0;

    height: 100vh;
    width: 100vw;

    font-family: 'Michroma', Arial, Helvetica, sans-serif;
}

.bg-red {
    background-color: red;
}

.triangle-left {
    position: relative;
    width: 45vw;
    height: 100vh;
    clip-path: polygon(0 0, 100% 0, 25% 100%, 0 100%);
    overflow: hidden;
}

.triangle-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 100%;
}

.triangle-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 45vw;
    height: 100vh;
    clip-path: polygon(65% 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
}

.triangle-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 100%;
}

.center-box {
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
}

.center-box img {
    width: 75vw;
    height: 100vh;
    object-fit: cover;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-position: 0% 0%;
}

.logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.logo img {
    width: 20vw;
    width: clamp(200px, 20vw, 25vw);
    height: auto;
    display: block;
}

.logo p {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(0.6rem, 1.1vw, 0.85rem);
    color: white;
}

@media (max-width: 768px) {
    .triangle-left {
        width: 100vw;
        height: 45vh;
        clip-path: polygon(0 0, 100% 0, 100% 25%, 0 100%);
    }

    .triangle-right {
        position: fixed;
        top: auto;
        bottom: 0;
        width: 100vw;
        height: 50vh;
        clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%);
    }

    .center-box img {
        width: 100vw;
        top: 40vw;
        object-position: 50% 0%;
    }
}

@media (max-height: 730px) {
    .center-box img {
        top: 10vw;
    }
}
