@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-image: url(images/paper-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    /* viewport height */
    /* Removes scroll bars default */
    margin: 0;
    padding: 0;
    width: 100%;
}

.container {
    width: 100vw;
    display: grid;
    grid-template-columns: 500px 500px;
    margin-left: 100px;

}

.text {}

.text h1 {
    margin: 0;
    font-size: 60px;
    color: #ffffff;
    line-height: 50px;
    display: flex;
    flex-direction: row;
    text-shadow: rgba(0, 0, 0, 0.2) 3px 3px 5px;
}

.text h3 {
    color: rgb(245, 130, 51);
}

.text a {
    text-decoration: none;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 2px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-right: 15px;
    transition: color 0.15s ease-in;
    transition: text-shadow 0.3s ease-in;
}

.text a:hover {
    text-shadow: rgba(245, 130, 51, 0.8) 1px 1px 1px;
    color: rgb(41, 41, 41);
}

.text img {
    width: 200px;
    filter: drop-shadow(rgba(0, 0, 0, 0.15) 1px 2px 1px);
}

.image-grid {
    display: grid;
    grid-template-columns: 310px 310px;
    padding: 0;
}

.image-grid img {
    max-width: 100%;
    height: auto;
    border: 7px solid white;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px;
    border-radius: 5px;
}

.images {
    Margin: 10px;
}

.main {
    padding-top: 80px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1211px) {
    .container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

}

@media (max-width: 1041px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0;
    }

    .image-grid {
        padding-top: 30px;
    }
}

@media (max-width: 521px),
@media (max-width: 350) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0;
    }

    .image-grid {
        display: grid;
        grid-template-columns: 310px;
        padding: 0;
        padding-top: 30px;
    }

    .text,
    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
    }

    .contact h3 {
        margin-bottom: 15px;
    }

    .contact a {
        margin-bottom: 5px;
    }
}