/* :root { */
/*   --posX: 280px; */
/*   --posY: 280px; */
/* } */
#title {
    background-color: red;
    animation-name: blink;
    animation-duration: 4s;
    animation-iteration-count: infinite;

}
#ball {
    height: 100px;
    width: 100px;
    background-color: red;
    align-self: center;
    /* border-radius: 50%; */
    /* animation: pulse 5s infinite; */

}

@keyframes pulse {
  0% {
    background-color: #001F3F;
    margin-left: 20%;
  }
  100% {
    background-color: #FF4136;
    margin-top: var(--posX);
    margin-left: var(--posX);
  }
}
@keyframes blink {
    from {
        margin-right: 0px;
        background-color: "red";
    }
    33%{
        margin-right: 200px;
        margin-left: 69px;
        background-color: blue;
    }
    66%{
        margin-left: 200px;
        margin-right: 69;
        background-color: green;
    }
    to {
        margin-right: 0px;
        background-color: "red";
    }
}
.container{
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(8,minmax(120px, 1fr));
    justify-content: center;

}
.innhold{
    grid-column: span 6;
    display: grid;
    husk å lås skjerm carl ;)
    place-items: center;
    /* margin: auto; */
    text-align: center;
    justify-content: center;
    background-color: gray;
    padding-left: 100px;
    padding-right: 100px;
}
#animation2{
    display: grid;
    justify-content: right;
}
#animation1{
    display: grid;
    justify-content: left;
}
@keyframes slidein {
    from {
        margin-right: 0px;
    }
    40%{
        margin-right: 200px;
    }
    to {
        margin-right: 10px;
        background-color: "red";
    }
}
#erlend {
    width: 100%; /* or any custom size */
    height: 100%; 
    object-fit: contain;
}
