:root {
  --main-font: "Sequel Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; 
  --heading-font: "Century Schoolbook", Georgia, serif;
  
  --bg-color: #ffffff;       
  --text-color: #34495e;
  --accent-color: #2980b9;   
  --navbar-bg: #ffffff;      
  --navbar-text: #2980b9;    
}

body {
  font-family: var(--main-font);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding-top: 70px; 
}

h1.title {
  text-align: center;
  margin-top: 40px; 
  margin-bottom: 0px;
}

.pronunciation {
  color: #34495e;
  font-weight: 400;     
  font-style: italic;   
  font-size: 0.95em;    
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: #111;
  font-weight: normal;
  margin-top: 0px;
  margin-bottom: 0px;
  letter-spacing: -0.5px; 
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9; 
  text-decoration: underline;
}

.navbar {
  background-color: var(--navbar-bg);
  border-bottom: 1px solid #eaeaea;
  box-shadow: none; 
}

.navbar-default .navbar-brand {
  color: #000;
  font-weight: bold;
  font-family: var(--heading-font);
  letter-spacing: -0.5px;
}

.navbar-default .navbar-nav > li > a {
  color: var(--navbar-text);
  font-weight: 500;
}

.navbar-default .navbar-nav > li > a:hover {
  color: var(--accent-color);
}

.slides {
    padding: 0;
    width: 100%;
    height: 800px;
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
    position: relative;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.slides input { display: none; }
.slide-container { display: block; }

.slide {
    top: 0;
    opacity: 0;
    width: 100%;
    height: 800px;
    display: block;
    position: absolute;
    background-color: #ffffff; 
    transform: scale(1);
    filter: blur(8px);
    transition: all 0.8s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 1.1em;
    font-family: var(--main-font);
    box-sizing: border-box;
    z-index: 5;
}

.nav label {
    width: 80px;
    height: auto; 
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    z-index: 9;
    cursor: pointer;
    transition: all 0.2s;
    background-color: transparent; 
    color: var(--accent-color); 
    font-size: 80pt;
    text-align: center;
    line-height: 100%;
}

.slide:hover + .nav label { opacity: 0.5; }
.nav label:hover { opacity: 1; transform: translateY(-50%) scale(1.2); }
.nav .next { right: 0; }

input:checked + .slide-container .slide {
    opacity: 1;
    filter: blur(0px);
}
input:checked + .slide-container .nav label { display: block; }

.nav-dots {
    width: 100%;
    bottom: -25px;
    height: 11px;
    display: block;
    position: absolute;
    text-align: center;
    z-index: 10; 
}

.nav-dots .nav-dot {
    top: -5px;
    width: 11px;
    height: 11px;
    margin: 0 4px;
    position: relative;
    border-radius: 100%;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.1); 
}

.nav-dots .nav-dot:hover { cursor: pointer; background-color: rgba(0, 0, 0, 0.5); }

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5,
input#img-6:checked ~ .nav-dots label#img-dot-6,
input#img-7:checked ~ .nav-dots label#img-dot-7,
input#img-8:checked ~ .nav-dots label#img-dot-8 {
    background: rgba(0, 0, 0, 1);
}