@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* General CSS */
body {
    background-color: #fbf9e9;
}

/* If using a background image */
body::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/red-texture.jpg');
    background-size: cover; /* Adjust as needed */
    opacity: 0.15;
    z-index: -1; /* Place it behind the content */
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}

/* Organization of sections */
#box {
    display: flex;
    flex-flow: column;
    height: 100vh;
}

.box-container {
    display: contents;
}

/* Header Section */
#header {
    position: sticky;
    z-index: 0;
    flex: 0 1 auto;
}

.header {
    margin-left: 10%;
    margin-top: 7.5%;
}

/* Main Section */
#main {
    margin: auto;
    flex: 1 1 auto;
    display: flex;
    justify-content: space-around;
}

.main {
    width: 50%;
    display: flex;
    align-items: center;
}

.main h6 {
    margin: 1rem 0;
    margin-left: 3px;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5rem;
}

/* Footer Section  */
#footer {
    width: 80%;
    flex: 0 1 0px;
    font-size: 1rem;
    display: flex;
    flex-flow: row;
    margin-bottom:7.5%;
    margin-left: 10%;
}

.footer {
    display: contents;
}

.copyright {
    text-align: left;
    flex: 0 1 auto;
}

.links {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
}

ul li {
    list-style: none;
    margin: 0 1rem;
    display: flex;
}

 /* Popup container */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.popup:hover {
    background-color: #fff400;
}

/* The actual popup (appears on top) */
.popuptext {
    visibility: hidden;
    width: 14rem;
    background-color: #ffffff;
    color: #fff;
    text-align: right;
    border-radius: 6px;
    padding-right: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    margin-left: -7.25rem;
}

/* Popup arrow */
.popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/* Toggle to hide and show popup */
.popup .show {
    visibility: visible;
}

img {
    max-width: 13rem;
}

@media only screen and (max-width: 567px){
    .popuptext {
        margin: 0 0 -17rem -7.25rem;
    }

    .popup .popuptext::after {
        content: "";
        position: absolute;
        top: -.6rem;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #ffffff transparent;
    }
}

/* Utility Classes */
.ubuntu-mono {
    font-family: 'Ubuntu Mono', monospace;
}

b {
    font-family: "Ubuntu Mono", monospace;
    font-weight: 700;
}

a {
    text-decoration: none;
    font-size: 1rem;
    color: black;
}

a:hover {
    background-color: #fff400;
}
