
/* main section*/
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



/* this section is for columns */
* {
    box-sizing: border-box;
}

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 25%;
    padding: 10px;
    height: 300px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* this section is for placing text on the image, topleft, botleft, etc */
/* example:  <div class="bottom-left" > text you want to appear</div >*/
.container {
    position: relative;
    text-align: center;
    color: black;
}

.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

.bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Back to Top button */
.back-to-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #f2f2f2;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    display: none;
}
/* To make it visible when scrolled */
.scroll-to-top {
    display: block;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



header {
    background-color: orange;
    color: white;
    text-align: center;
    padding: 1rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 1rem;
    background-color: #f4f4f4;
}

.grid-container {
    display: grid;
}



.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
    margin: 1rem 0;
    border-radius: 8px;
    padding: 1rem;
}
/*For an image with text around it*/
.wrap {
    float: right;
    margin: 5px;
}


/*So image stays in it's container*/
.container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
