* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(45, 11, 107);
    font-family: Montserrat Alternates;
    background-image: url(../img/motiongraphics\(background\).webp);
    /*https: //www.w3schools.com/cssref/pr_background-position.php*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;

}

header {
    margin-top: 60px;
}

h1 {
    font-size: 80px;
    text-align: center;
    color: white;
}

#content figure{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
    justify-self: center;
}

img{
    width: 500px;
    height: 300px;
}

iframe{
    width: 400px;
    height: 300px;
}

footer {
    /*https: //stackoverflow.com/questions/13609006/floating-footer-always-on-the-bottom-and-visible*/
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.908);
}

#navigation {
    position: absolute;
    display: grid;
    grid-template-columns: 78px 1fr 1fr 1fr 78px;
    column-gap: 20px;
    place-self: anchor-center;
    justify-items: center;
    justify-content: space-evenly;
}

#navigation figure {
    position: relative;
    justify-items: center;
}

#navigation a {
    font-weight: 600;
    text-decoration: none;
    color: #5231BE;
    opacity: 0.5;
    transition: opacity 0.6s;
    font-size: 25px;
}

#navigation a:hover {
    opacity: 1;

}

@media screen and (min-width: 2000px) {
    #grid figure {
        height: 70px;
        width: 400px;
        /*border-image: linear-gradient(to right, #D5CDF0, #6B66B5 100%);*/
    }

    h1 {
        margin-top: 120px;
        font-size: 95px;
    }

    #grid p {
        font-size: 22px;
    }

    footer {
        height: 90px;
    }

    #navigation a {
        font-size: 22px;

    }

    #navigation {

        grid-template-columns: 55px 1fr 1fr 1fr;
        column-gap: 40px;

    }

}
