
/* page background */
body {
  background-color: #076153;
  font-family: Trebuchet MS, sans-serif;
  color: #222;
  margin: 0

}

/* Floating boxes font */
.floating-box {
  font-family: Tahoma, sans-serif;
  font-size: 14px;                        /* optional size */
  color: #222;                         /* optional color */
  line-height: 1.2;                       /* optional spacing */
  background: white;
  padding: 15px;
  border: 2px solid black;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: fixed;
  z-index: 1000;
}

.floating-video {
  position: fixed;       /* stays visible when scrolling */
  top: 50%;              /* vertically center */
  right: 50px;           /* distance from right edge */
  transform: translateY(-50%); /* exact vertical centering */
  z-index: 1000;         /* make sure it’s above other elements */
  max-width: 300px;      /* optional max size */
}

/* Video or iframe inside */
.floating-video video,
.floating-video iframe {
  width: 100%;           /* fit container */
  height: auto;          /* maintain aspect ratio */
  border: 2px solid black; /* optional border */
  border-radius: 8px;       /* optional rounded corners */
}

@media (max-width: 600px) {
  .floating-video {
    position: static;    /* no longer floating */
    max-width: 90%;      /* smaller width */
    margin: 10px auto;   /* center it */
    transform: none;
  }
}

/* center container */
.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border: 2px solid black;
}

/* headings */
h1 {
  text-align: center;
  margin-bottom: 0;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: gray;
}

/* nav */
nav {
  text-align: center;
  margin: 20px 0;
}

/* Basic floating box style */

.floating-box {
  position: fixed;
  background: white;
  padding: 15px;
  border: 2px solid black;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  max-width: 200px;
  z-index: 1000;
}

/* Stack boxes vertically on the right */
.floating-box.right {
  top: 20px;        /* first box starts 20px from top */
  right: 10px;
}

/* Stack boxes vertically on the left */
.floating-box.left {
  top: 20px;        /* first box starts 20px from top */
  left: 10px;
}

/* Optional: if you have multiple boxes, add margin for spacing */
.floating-box + .floating-box {
  margin-top: 230px; /* pushes second box below first one */
}

/* Responsive: stack inline boxes on small screens */
@media (max-width: 600px) {
  .floating-box {
    position: static; /* flow with page content */
    margin: 10px auto; 
    max-width: 90%;
  }
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: black;
}

nav a:hover {
  text-decoration: underline;
}

/* sections */
section {
  margin: 20px 0;
}

h2 {
  border-bottom: 1px solid black;
}

/* lists */
ul {
  padding-left: 20px;
}

/* image */
.image {
  text-align: center;
  margin-top: 20px;
}

.image img {
  max-width: 100%;
}

/* footer */
footer {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
}