@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

html, body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    position: absolute;
    width: 100%;
    height: 100%;
}

a {
    color: white;
    text-decoration: none;
}
#background {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: #111;
    background-image: linear-gradient(to bottom right, #030227, #030210);
    background-attachment: fixed;
}

#site-content {
    position: absolute;
    width: 100%;
    z-index: 10;
}

section {
    min-height: 100vh;
    max-width: 100vw;
}

#front-container {
    position: absolute;
    z-index: 99;
}

#startpage img {
    padding-top: 8vh;
    width: 40vw;
    height: auto;
}

#startpage h1 {
    margin: 0;
    font-size: 40px;
}

#startpage h2 {
    margin: 0;
    margin-bottom: 30px;
}

#startpage a {
    display: inline-block;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 5px 5px 5px 5px;
    width: 200px;
    border: 2px solid white;
    transition: all .7s;
    -webkit-transition: all .7s;
    -moz-transition: all .7s;
    -o-transition: all .7s;
    cursor: pointer;
    background-color: rgba(3, 2, 39, .5);
}

#startpage a:hover{
    background-color: rgba(3, 2, 39, 1);
}

#services {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

#services img {
    grid-column: 2/3;
    max-height: 80vh;
    max-width: 80vw;
}

#portfolio {
    padding-left: calc(50vw - 510px);
    display: grid;
    grid-template-columns: 510px 510px;
}

#portfolio a {
    display: inline-block;
    width: 500px;
    margin-bottom: 30px;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

#portfolio a img {
    width: 500px;
    height: auto;
}

#contact input, #contact textarea, #contact button {
    display: block;
    background-color: white;
    font-size: 20px;
    padding: 5px 5px 5px;
    width: 500px;
    margin-left: calc(50vw - 250px);
    margin-bottom: 10px;
    border: none;
    font-family: 'Poppins', sans-serif;
}

#contact textarea {
    resize: none;
    height: 30vh;
}

@media screen and (max-width: 1075px){

    #portfolio{
        padding-left: calc(50vw - 265px);
        grid-template-columns: 510px;
    }

}

@media screen and (max-width: 995px){

    #service-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .service {
        grid-column: 1/2;
        margin-bottom: 50px;
        min-width: 70vw;
    }

    .service img {
        max-width: 70vw;
    }

}

@media screen and (max-width: 599px){

    #contact input, #contact textarea {
        margin-left: 5vw;
        width: 90vw;
    }

    #portfolio {
        padding-left: 5vw;
        display: grid;
        grid-template-columns: 90vw;
    }
    
    #portfolio a {
        display: inline-block;
        width: 90vw;
        margin-bottom: 10vw;
    }
    
    #portfolio a img {
        width: calc(90vw - 10px)
    }

}

