@import url('https://fonts.googleapis.com/css2?family=Golos+Text&family=Open+Sans:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@600&family=Open+Sans:ital@1&display=swap');

@font-face {
  font-family: 'Golos Text';
  src: url('GolosText-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Golos Text SemiBold';
  src: url('GolosText-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
s

body {
  font-family:'Golos Text';
}

.center {
  text-align:center;
}

strong {
  font-family:'Golos Text SemiBold';
}

em {
  font-family: "Golos Text", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
  font-variation-settings:
    "wdth" 100;
}

h2, h1 {
  line-height: 1.6em;
  margin: 0 0 15px 0;
}

section h1, section h2, section h3, section h4 {
  line-height: 1.6em;
  font-family: 'Golos Text SemiBold';
}

section p  {
  line-height: 1.6em;
  font-size: 17px;
  margin: 16px 0;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Golos Text';
}

/* HEADER */
.top-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* logo touches top */
    padding: 0 20px;
    height: 105px;
}

.logo-area {
    display: flex;
    align-items: flex-start;
}

.logo-area img {
    height: 100px; /* touches upper edge */
    margin-left:100px;
}

.waffle-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 35px;
    margin-right: 80px;
}

.waffle-btn:hover {
    border:1px solid #333;
    border-radius:3px;
}

.waffle-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

/* Tooltip */
.tooltip-text {
    position: absolute;
    bottom: -35px; /* below the button */
    right: 0;
    background-color: #333;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Show on hover */
.waffle-btn:hover .tooltip-text {
    opacity: 1;
}


.top-header {
    position: relative;
}

/* Links menu panel */
.links-menu {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
}

/* Visible state */
.links-menu.show {
    display: flex;
}

/* Links */
.links-menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.links-menu a:hover {
    background-color: #f3f3f3;
}


.material-symbols-outlined {
    font-family:'Material Symbols Outlined';
    font-size: 32px;
    color: #333;
}

/* NAVBAR */
.navbar {
    background-color: #157a9c;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 20px;
}

.navbar a {
    display: block;
    padding: 15px 0;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.navbar a:hover {
    text-decoration: underline;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 380px;
    background-image: url("pale pink blossom.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px;
}

/* Popular box */
.popular-box {
    background-color: #f2f2f2;
    padding: 30px 25px;
    width: 380px;
    margin-left:120px;
}

.popular-box h2 {
    margin-bottom: 15px;
}

.popular-box ul {
    padding-left: 20px;
}

.popular-box li {
    margin-bottom: 10px;
}

/* Search box */
.search-box {
    position: absolute;
    right: 80px;
    top: 80px;
    border:2px solid black;
    margin-right: 25px;
}

.search-box input {
    width: 400px;
    padding: 12px;
    border: none;
    font-size: 16px;
    height:48px;
}

/* Topic Navigation Section */
.topic-navigation {
    background-color: #f3f3f3;
    padding: 60px 80px;
}

/* Grid container */
.four-items ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0;
    margin: 0;
}

/* Each item */
.nav-item a {
    text-decoration: none;
    display: block;
}

.nav-item-content {
    background: transparent;
}

/* Title styling */
.nav-item-content h3 {
    color: #01689b;
    font-size: 20px;
    margin-bottom: 10px;
}

/* Hover underline */
.nav-item a:hover h3 {
    text-decoration: underline;
}

/* Paragraph styling */
.nav-item-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* FOOTER */

footer {
    width: 100%;
    text-align: center;
}

/* Blue stripe */
.footer-main {
    background-color: #092435;
    padding: 0 20px 40px 20px;
    color: white;
}

/* Logo */
.footer-logo {
    display: block;
    margin: 0 auto;
    width: 190px;
}

/* Links */
.footer-links {
    margin-top: 25px;
    font-size: 16px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: white;
}

/* Bottom grey bar */
.footer-bottom {
    background-color: white;
    color: black;
    padding: 12px 20px;
    font-size: 14px;
}

.reglist {
  float: none;
  color: #005AA8;
  padding: 3px 3px 7px 0;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 16px;
  font-family: 'Golos Text SemiBold';
}

.reglist:before {
  font-family: 'Material Icons';
  content: 'chevron_right';
  font-size: 20px;
  margin-right: 1px;
  vertical-align: middle;
}

.reglist:hover {
  text-decoration: underline;
  color: #c42020;
}

.reglist:focus {
  background-color: #005AA8;
  color: white;
  text-decoration: underline;
}

/* Sections */

section {
  padding: 60px 80px;
}

.white-box {
 background: white;
 padding: 20px;
 text-align: center;
 border-radius: 6px;
 width: 452px;
 margin: auto;
}

.white-box p {
  font-size: 16px;
  margin: 10px 5px 10px 5px;
}

.flexbox a {
  text-decoration: none;
  color: black;
}

.flexbox a:hover {
  text-decoration: none;
}

.action-btn {
 padding: 8px;
 background: #004b91;
 color: white;
 border-radius: 6px;
 text-decoration: none;
 margin: 8px 0;
}

.action-btn:hover {
  background: white;
  color: black;
  border: 2px solid #004b91;
  text-decoration: none;
}

/* Breadcrumbs */

.breadcrumbs {
  padding:0 0 18px 0;
  font-size:14px;
  width:100%;
  list-style-type:none;
  display:flex;
  margin:0;
}

.breadcrumbs li:after {
  content:"•";
  vertical-align:top;
  margin:0 8px;
}

.breadcrumbs li:last-child:after {
  content:"";
}

.breadcrumbs a {
  text-decoration:none;
  color:white;
}

.breadcrumbs a:hover {
  color:white;
  text-decoration:underline;
}

/* Page title */

.page-title {
  background: #092435;
  padding: 60px 80px;
  color: white;
}

.last-updated {
  color: white;
  font-size: 14px;
}

/* Topic navigation with lists */

.main-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding: 0;
    margin: 0;
}

/* Remove default list styling */
.nav-item-lists,
.sub-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Section title */
.nav-item-content-lists h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.nav-item-content-lists h3 a {
  text-decoration: none;
  color: #01689b
}

/* Underline only on hover */
.nav-item-content-lists h3 a:hover {
    text-decoration: underline;
}

/* Sub-links list */
.sub-links li {
    margin-bottom: 8px;
}

/* Sub-links styling */
.sub-links a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.sub-links a:hover {
    color: #c42020;
}


