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


.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;;
  font-style: normal;
}

body{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: pink;
}

h1{
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 15vw;
    line-height: 1;
    color: white;
    text-shadow: 5px 5px 3px black;
}

#headline{
    width: 80%;
    margin: 50px auto 50px auto; /* auto adjust margins to center*/
    position: relative; /* cupcakes have position absolute*/
}

#content{
    width: 80%;
    margin: 50px auto 50px auto;
    display: flex;
}

.column{
    width: 50%;
}

h2{
    margin-right: 50px;
    font-size: 32px;
    line-height: 1.4;
}

p{
    margin-right: 50px;
    font-size: 22px;
    line-height: 1.5;
}

.cupcake1 {
    width: 150px;
    height: 150px;
    background-image: url(cupcake-images/cupcake1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 100px;
    left: 0px;
    animation: rotate 5s 1s infinite alternate-reverse;
}

.cupcake2 {
    width: 150px;
    height: 150px;
    background-image: url(cupcake-images/cupcake2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 100px;
    right: 0px;
    animation: rotate 5s 1s infinite alternate;
}

#bottom {
    width: 80%;
    margin: 0px auto 0px auto;
    display: none;
}

#bottom img {
    width: 100%;
    height: auto;
}

@keyframes rotate {
    0% {
        rotate: 0deg;
    }
    100% {
        rotate: 360deg;
    }
}

@media screen and (max-width: 1200px){
    body {
        background-color: lightblue;
    }
    h1 {
        color: darkblue;
    }
}

@media screen and (max-width: 900px) {
    body {
        background-color: lavender;
    }
    h1 {
        color: blueviolet;
    }
    #content {
        display: block;
    }
    .column {
        width: 100%;
        margin-bottom: 50px;
    }
    .cupcake1 {
        background-image: url(cupcake-images/cupcake1-eaten.png);
    }
    .cupcake2 {
        background-image: url(cupcake-images/cupcake2-eaten.png);
    }
    #bottom{
        display: block;
    }
}