* {
    box-sizing: border-box;
    position: relative;
}

body, html {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

#topbar {
    text-align: center; 
    background-color: darkgreen; 
    color: white; 
    padding: 10px;
}

#topbar .container {
    font-size: 16pt; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto;
}

#main-content {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
}

#left-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 400px;
}

#right-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    min-width: 400px;
}

.text-center {
    text-align: center;
}

#contact-block {
    display: grid; 
    grid-template-columns: 1fr 2fr; 
    gap: 10px;
}

@media only screen and (max-width: 799px) {
    #main-content {
        grid-template-columns: 1fr;
        padding: 0;
    }
    #left-side {
        min-width: 100%;
    }
    #right-side {
        min-width: 100%;
    }
}