* {
    margin: 0;
}

body {
    width: 100vw;
    height: 100vh;
    background-image: url(img/graph1.png);
    background-position: center;
    background-size: contain;
    background-repeat: repeat;
    background-color: rgba(6, 150, 237, 0.03);
    display: flex;
}

header {
    position: fixed;
    background-color: #fff;
    height: auto;
    box-shadow: 0px -5px 10px #333;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    z-index: 2;
}

footer {
    position: fixed;
    bottom: 0;
    height: auto;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 6px 10px #333;
    display: flex;
    align-items: center;
    z-index: 2;
}

#main_wrapper {
    width: 100%;
    height: 100%;
    z-index: 1;
}

h1 {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    letter-spacing: 1px;
    font-size: 1.4em;
    font-weight: lighter;
    text-align: center;
    padding: 5px;
    color: #333;
    margin: auto;
}

h2 {
    font-family: "Arial Narrow", "Helvetica Narrow", Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: 400;
    text-align: center;
    letter-spacing: 3px;
    color: rgb(6, 150, 237);
    padding-bottom: 5px;
}

h3 {
    font-family: "Arial Narrow", "Helvetica Narrow", Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #333;
}

#d2 {

    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: 100;
    cursor: default;

}

.animOpIn {
    animation-name: animOpIn;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

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

    100% {
        opacity: 1;
    }
}

.animOpOut {
    animation-name: animOpOut;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes animOpOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

main {
    max-width: 90%;
    margin: 15% auto;
    max-height: 100%;
}

#logo_container {
    text-align: center;
    margin: auto;
}

#logo {
    width: 75%;

}


#description {
    padding: 5px;
    text-align: center;
    margin: 0 auto;
    color: #333;
}

p {
    padding-bottom: 15px;
}

#columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 300px;
    margin: 0 auto;
}

#columns p {
    margin-top: 5px;
    grid-column: 1/2;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 0.7em;
    margin-left: 5px;
    color: #333;
}

#contact {
    margin-top: 5px;
    grid-column: 2/3;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 0.7em;
    text-align: center;
}

#contact a {
    color: #333;
}

#twitter {
    margin-top: 5px;
    grid-column: 3/3;
    margin-right: 5px;
    text-align: right;

}

#twitter img {
    width: 40px;
}

/********** MEDIA QUERIES **************/


@media screen and (min-width: 768px) and (orientation: portrait) {
    main {
        max-width: 768px;
    }

    #logo {
        width: 40%;

    }


    #description {
        max-width: 450px;
        margin: 0 auto;
    }

    columns {
        max-width: 768px;
    }


}

@media screen and (min-width: 1024px) and (orientation: portrait) {
    main {
        max-width: 1024px;
    }

    #logo {
        width: 450px;

    }

    #logo_container {
        margin-top: 200px;
    }

    #description {
        max-width: 550px;
        margin: 0 auto;
    }

    columns {
        max-width: 768px;
    }


}

@media screen and (max-width: 786px) and (orientation: landscape) {

    body {
        background-image: url(img/graph1_lnd.png);
        background-size: contain;

    }

    main {
        display: grid;
        grid-template-columns: auto 1fr 1fr auto;
        max-width: 100%;
        height: 100%;
        align-content: center;
        margin: auto;
    }

    header {
        height: auto;
    }

    footer {
        height: auto;
    }

    #logo_container {
        grid-column: 2/3;
        padding-top: 0;

    }

    #logo {
        max-width: 250px;
    }

    #right_landscape {
        grid-column: 3/4;
        align-content: center;
        display: flex;

    }

    #right_landscape_content {
        align-self: center;
        max-width: 350px;
    }

}

@media screen and (max-width: 1024px) and (orientation: landscape) {

    body {
        background-image: url(img/graph1_lnd.png);
        background-size: contain;

    }

    main {
        display: grid;
        grid-template-columns: auto 1fr 1fr auto;
        max-width: 100vw;
        height: 100vh;
        align-content: center;
        margin: auto;
    }

    header {
        height: auto;
    }



    footer {
        height: auto;
    }

    #logo_container {
        grid-column: 2/3;
        padding-top: 0;

    }

    #logo {
        width: 300px;

    }

    #right_landscape {
        grid-column: 3/4;
        align-content: center;
        display: flex;

    }

    #right_landscape_content {
        align-self: center;
    }

    #description {
        max-width: 450px;
    }


}

@media screen and (min-width: 1025px) and (orientation: landscape) {
    body {
        background-image: url(img/graph1_lnd.png);
        background-size: contain;

    }

    main {
        max-width: 768px;
        margin: 10% auto;
        max-height: 100vh;
    }

    #logo {
        width: 250px;

    }

    #logo_container {
        margin-top: -50px;
    }

    #description {
        max-width: 500px;
        margin: 0 auto;
        font-size: 0.8em;
    }

    #d2,
    #d3,
    #d4,
    #d5 {
        font-size: 1em;
    }

    columns {
        max-width: 768px;
    }
}
