* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container { 
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
}

.left {
    width: 100%;
    height: 100%;
    background-color: red;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: blinkRed .75s infinite;
    animation-timing-function: steps(1);
}

.left img {
    width: 20vw;
    height: 20vh;
    object-fit: cover;
    object-position: center;
    float: left;
}

.section-icon {
    font-size: 5rem;
}

.right {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: scroll;
}

.section {
    padding: 2rem;
    background: blue;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: blinkBlue .75s infinite;
    animation-timing-function: steps(1);
}

.social {
    font-size: 2rem;
    color: #fff;
}

.link {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
}

@keyframes blinkRed {
    0% {
        background-color: red;
        color: #000;
    }
    50% {
        background-color: blue;
        color: #fff;
    }
    100% {
        background-color: red;
        color: #000;
    }
}

@keyframes blinkBlue {
    0% {
        background-color: blue;
        color: #fff;
    }
    50% {
        background-color: red;
        color: #000;
    }
    100% {
        background-color: blue;
        color: #fff;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .left {
        width: 100%;
        height: 100%;
        margin-bottom: 2rem;
    }
    .right {
        width: 100%;
    }
}