body,
html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
}

#logo{
    width: 100px;
}

a{
    text-decoration: none;
}

.frontpage-container {
    /* background-color: rgb(250, 250, 252); */
    background: url('../img/background.jpg') no-repeat center center fixed;
    height: 100%;
}

@media (max-width: 576px) {
    .frontpage-container {
        background: url('../img/background-portrait.jpg') no-repeat center cover fixed;
    }
}

main{
    display: flex
    justify-content: center;
    align-items: center;
}

.container{
}

#keyboard {
    position: absolute;
    width: 400px;
    top: 0px;
    left: 0px;
    animation: keyboard 1s;
}

#webgen {
    position: absolute;
    top: 100px;
}

#wordpress {
    position: absolute;
    top: 400px;
    right: 500px;
    animation: wordpress 2s;
}

#phone {
    position: absolute;
    right: 0px;
    bottom: 0px;
    animation: phone 1s;
}

@keyframes phone {
    0% {
        opacity: 0;
        right: -500px;
    }

    100% {
        opacity: 1;
        right: -16px;
    }
}

@keyframes keyboard {
    0% {
        opacity: 0;
        left: -500px;
    }

    100% {
        opacity: 1;
        left: 0px;
    }
}

@keyframes wordpress {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* responsive widths of elements */

#keyboard {
    width: 100px;
}

#webgen {
    width: 200px;
    right: 20px;
}

#wordpress {
    width: 270px;
    top: 170px;
    right: 20px;
}

#phone {
    width: 150px;
    bottom: -8px;
    right: -16px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #keyboard {
        width: 200px;
    }

    #webgen {
        width: 200px;
        right: 150px;
    }

    #wordpress {
        width: 350px;
        right: 150px;
        top: 350px;
    }

    #phone {
        width: 200px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #keyboard {
        width: 300px;
    }

    #webgen {
        width: auto;
        right: 250px;
    }

    #wordpress {
        width: 450px;
        right: 250px;
    }

    #phone {
        width: 250px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #keyboard {
        width: 300px;
    }

    #webgen {
        width: auto;
        right: 350px;
    }

    #wordpress {
        width: auto;
        right: 350px;
        width: 450px;
    }

    #phone {
        width: 300px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #keyboard {
        width: 400px;
    }

    #webgen {
        width: auto;
        right: 400px;
    }

    #wordpress {
        width: 600px;
        right: 400px;
    }

    #phone {
        width: 300px;
    }
}
