@font-face {
    font-family: Rubik;
    src: url(Rubik.ttf);
}

html, body {
    overflow-y: scroll;
    overflow-x: auto;
    height: 100%;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('images/hytale.webp');
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Rubik;
    color: white;
}

#container {
    display: grid;
    min-height: 100%;
    grid-template-columns: repeat(10, 10%);
    grid-template-rows: auto 1fr auto;
}

.island {
    background-color: #3030308c;
    margin: 20px;
    padding: 20px;
    border: transparent;
    border-radius: 25px;
    box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.7);
}

#info {
    grid-row: 1 / 8;
    grid-column: 4 / 8;
}
#rules {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
}
#connecting {
    grid-row: 1 / 2;
    grid-column: 8 / 11;
}

#footer {
    display: flex;
    grid-row: 8 / 10;
    grid-column: 1 / 12;
    align-items: center;
    justify-content: center;
    background-color: #242424;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.7);
    height: 100px;
}

h1, h2, h3, h4, h5, a {
    text-decoration: none;
    color: #78d2ed;
}

p {
    font-size: 20px;
}

#logoimg {
    display: block;
    border: 0px transparent;
    border-radius: 15px;
    height: 500px;
    width: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

@media screen and (max-width: 1200px) {
    #info {
        grid-row: 1 / 3;
        grid-column: 1 / 11;
    }
    #rules {
        grid-row: 3 / 6;
        grid-column: 1 / 11;
    }
    #connecting
    {
        grid-row: 6 / 8;
        grid-column: 1 / 11;
    }

    #logoimg {
        height: 200px
    }
}
