/* Global box-sizing for predictable sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Base */
body {
    margin: 0;
    padding: 0;
    background: url('media/images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow: auto;
    font-family: "Arial";
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,1);
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%; /* content-box now includes padding */
    margin: 0 auto;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    padding: 10px;
    /* background: rgba(0, 0, 0, 0.7); */
}

.column {
    flex: 1;
}

.col-glass {
    background-image:
        linear-gradient(
            rgba(48, 48, 48, 0.4),
            rgba(26, 26, 26, 0.4),
            rgba(26, 26, 26, 0.4)
        );
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
    border-bottom: 1px solid #525252;
    border-top: 1px solid #797979;
    border-left: 1px solid #777777;
    border-right: 1px solid #797979;
    border-radius: 7px;
    padding: 7px;
    margin: 11px 0;
    width: 100%;
}

.col-bg {
    background: rgba(27, 27, 27, 0.8);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
    border-radius: 6px;
    padding: 15px 10px 10px 10px;
    width: 100%;
    max-width: none;
}

/* Main columns */
.columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
    margin: 0 auto;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.column:first-child {
    flex-basis: 80%;
}

.column:last-child {
    flex-basis: 20%;
}

/* Glass panels */
.col-glass {
    background-image:
        linear-gradient(
            rgba(48, 48, 48, 0.4),
            rgba(26, 26, 26, 0.4),
            rgba(26, 26, 26, 0.4)
        );
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
    border-bottom: 1px solid #525252;
    border-top: 1px solid #797979;
    border-left: 1px solid #777777;
    border-right: 1px solid #797979;
    border-radius: 7px;
    padding: 7px;
    margin: 11px auto 11px auto;
}

.col-bg {
    background: rgba(27, 27, 27, 0.8);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
    border-radius: 6px;
    padding: 15px 10px 10px 10px;
    max-width: 935px;
}

/* Headings */
h3 {
    background: linear-gradient(
        to bottom,
        rgba(119, 119, 119, 0.925) 0%,
        rgba(97, 97, 97, 0.925) 10%,
        rgba(35, 35, 35, 0.925) 55%,
        rgba(0, 0, 0, 0.925) 56%,
        rgba(0, 0, 0, 0.925) 60%,
        rgba(32, 32, 32, 0.925) 100%
    );
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
    border-top: 1px solid #858585;
    border-left: 1px solid #616161;
    border-bottom: 3px solid #161616;
    border-right: 1px solid #616161;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 970px;
    font-weight: normal;
    font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif, Arial, Helvetica, sans-serif;
    position: relative;
}

.nav-header {
    /* same as h3 but smaller */
    background: linear-gradient(
        to bottom,
        rgba(119, 119, 119, 0.925) 0%,
        rgba(97, 97, 97, 0.925) 10%,
        rgba(35, 35, 35, 0.925) 55%,
        rgba(0, 0, 0, 0.925) 56%,
        rgba(0, 0, 0, 0.925) 60%,
        rgba(32, 32, 32, 0.925) 100%
    );
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 8px;
    border-top: 1px solid #858585;
    border-left: 1px solid #616161;
    border-bottom: 3px solid #161616;
    border-right: 1px solid #616161;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 970px;
    font-weight: normal;
    font-size: 0.9rem;
    font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif, Arial, Helvetica, sans-serif;
    position: relative;
}

p {
    font-family: "Segoe UI Semilight", Tahoma, Geneva, Verdana, sans-serif, Arial, Helvetica, sans-serif;
}

/* .link which contains an image and a link for navbar */
/* image should be left aligned and link should be center aligned of remaining space */
.link {
  display: flex;
  align-items: center;  /* vertically center image + text */
  width: 100%;          /* make it fill its parent, if you like */
}

.link img {
  margin-right: 0.5rem; /* optional spacing between image & text */
  flex-shrink: 0;       /* never shrink the image smaller than its natural size */
}

.link a {
    flex: 1;
    display: block;
    color: white;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline; /* underline on hover */
}

.active-link {
    /* linear gradient with lime green at bottom and clear at top */
    background: linear-gradient(
        to top,
        rgba(87, 250, 111, 0.6) 0%,
        rgba(87, 250, 111, 0) 75%
    );
    color: white;
    text-decoration: underline;
}

.link a:visited {
    color: inherit;
}

hr {
    /* use same gradient style as background of h3 */
    background: linear-gradient(
        to bottom,
        rgba(119, 119, 119, 0.925) 0%,
        rgba(97, 97, 97, 0.925) 10%,
        rgba(35, 35, 35, 0.925) 55%,
        rgba(0, 0, 0, 0.925) 56%,
        rgba(0, 0, 0, 0.925) 60%,
        rgba(32, 32, 32, 0.925) 100%
    );
    height: 2px; /* height of the line */
    border: none; /* remove default border */
    margin-top: 0;
}