@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

:root {
  --bg-color: #2388db;
  --poppins: "Poppins", sans-serif;
  --playfair: "Playfair Display", serif;
  --dark-bg-color: rgb(5, 62, 109);
  --dark-bg-hover-color: rgb(3, 30, 51);
  --highlight: rgb(35, 136, 219);
  --secondary: rgb(218, 245, 228);
  --font-awesome: "Font Awesome 5 Free";

    /* Master variables */
    --font-size-base: 16px; /* Paragraphs, span, links */
    --font-size-h1: 2.5rem; /* 40px if base 16px */
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-h6: 1rem;
    --font-size-small: 0.875rem;
    --font-size-button: 1rem;
    --font-size-input: 1rem;
    --font-size-label: 1rem;
    --font-size-table-header: 1rem;
    --font-size-table-cell: 0.95rem;
  }

  
  /* Body and Common Elements */
  body, p, span:not(.accessibility-controls span), a,.container_enlaces a,.enlaces, li, div,tr, td, th, label, input, select, textarea, button {
    font-size: var(--font-size-base);
    line-height: 1.4;
  }
  
  /* Headings */
  h1 {
    font-size: var(--font-size-h1);
  }
  h2 {
    font-size: var(--font-size-h2);
  }
  h3 {
    font-size: var(--font-size-h3);
  }
  h4 {
    font-size: var(--font-size-h4);
  }
  h5 {
    font-size: var(--font-size-h5);
  }
  h6 {
    font-size: var(--font-size-h6);
  }
  
  /* Small text */
  small, .small-text {
    font-size: var(--font-size-small);
  }
  
  /* Buttons */
  button {
    font-size: var(--font-size-button);
  }
  
  /* Inputs and Forms */
  input, select, textarea {
    font-size: var(--font-size-input);
  }
  
  /* Labels */
  label {
    font-size: var(--font-size-label);
  }
  
  /* Tables */
  th {
    font-size: var(--font-size-table-header);
    font-weight: bold;
  }
  
  td {
    font-size: var(--font-size-table-cell);
  }
  
  /* Footer or minor text */
  footer {
    font-size: var(--font-size-small);
  }
  


.theme-controls .custom-select > * ,  .accessibility-controls > * >*{
  font-size: 0.8rem !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: var(--poppins);

  /*border: 1px solid red;*/
}
::-moz-selection { /* Code for Firefox */
  color: white;
  background:var(--bg-color);
}

::selection { 
  color: white;
  background:var(--bg-color);
}
/* width */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--bg-color);
}

.container1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.navbar
{
  background-color: white;
  position:sticky;
  top:0;
  z-index: 2000;
}
.hero {
  /*background-image: url("/images/header_image.jpeg");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;*/
  text-align: center;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.hero h1 {
  font-family: var(--playfair);
  font-size: 30px;
  font-weight: 900;
  color: var(--bg-color);
  word-spacing: 2px;
}
.hero h1 span {
  display:block;
  font-family: var(--playfair);
  font-size: 15px;
  font-weight: 900;
  color: var(--bg-color);
  word-spacing: 2px;
}

.hero img {
  width: 90px;
  height: 100px;
  object-fit: contain;
}

.responsive-nav-wrapper {
  display: flex;
  justify-content: center;
  background: var(--bg-color);
  width: 100%;
  height: auto;
}

.responsive-nav-wrapper nav {
  position: relative;
  display: flex;
  margin: 0;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

nav .content {
  display: flex;
}

nav .content .links {
  display: flex;
  background: var(--bg-color);
}

.content .links li .fa-xmark {
  display: none;
  color: white;
  font-size: 1.2rem;
  margin-left: 20px;
}

.fa-xmark:hover {
  cursor: pointer;
}

.content .links li {
  list-style: none;
}

.content .links li a,
.content .links li label {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 10px 5px;
  text-transform: capitalize;
  transition: all 0.3s;
}

.content .links li a i {
  padding: 0 5px 0 5px;
}

.content .links li label {
  display: none;
}
.content .links ul li a:hover,
.content .links ul li label:hover {
  background: var(--dark-bg-hover-color);
}

.responsive-nav-wrapper .menu-icon {
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 47px;
  width: 47px;
  text-align: center;
}

.responsive-nav-wrapper .menu-icon {
  display: none;
}

.responsive-nav-wrapper input[type="checkbox"] {
  display: none;
}

/* Dropdown Menu code start */
.content .links ul {
  position: absolute;
  background: var(--bg-color);
  top: 50px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

.content .links li:hover > ul {
  top: 37px;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease;
  border-top: 2px solid white;
  width:fit-content;
}

.content .links ul li a {
  display: block;
  min-width: 175px;
  line-height: 25px;
}
.content .links ul li{
  border-bottom: 1px solid var(--secondary);
  opacity: 0.9;
  transition: all 0.2s ease-in-out;
}
.content .links ul li:hover{
  opacity: 1;
}

.content .links ul ul {
  position: absolute;
  top: 0;
  margin-top: 5%;
  border-left:2px solid white;
  left: 100%;
}

.content .links ul li {
  position: relative;
}

.content .links ul li:hover ul {
  top: 0;
}

.content .links li label i {
  transition: all 0.5s ease;
}


.social-link-1 {
  font-size: 1.2rem;
  color: var(--bg-color);
  
}
.social-link-2 {
  display: none;
  font-size: 1.2rem;
  color: white;
}
.nav-text-1
{
  font-size: 0.9rem;
  color:var(--bg-color);
}
.nav-text-2 {
  display: none;
  font-size: 0.9rem;
  color:white;
}
.name-follow
{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.name-follow h1
{
font-size:2.5rem;
}
.name-follow h1 span
{
font-size:1.5rem;
}
.social-links-1
{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.social-links-2 {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
 /* Accessibility Controls Styles */
 .accessibility-controls {
  
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
}

.font-controls {
  display: flex;
  gap: 5px;
}

.font-btn {
  padding: 4px 6px;
  border: none;
  border-radius: 4px;
  background-color: var(--bg-color);
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.font-btn:hover {
  opacity: 0.9;
  background: var(--dark-bg-hover-color);
}

.theme-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-controls select {
  padding: 4px;
  border-radius: 4px;
  border: none;
  font-family: var(--poppins);
}

.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
  font-size: 0.8rem !important;

}

.selected-option {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  
}

.options-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: max-content;
  text-align: left;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.options-list.show {
  display: block;
}

.option {
  padding: 8px 12px;
  cursor: pointer;
  
  font-size: 0.8rem !important;
}

.option:hover {
  background-color: #f5f5f5;
}
 
/*responsive code*/

/* Responsive code start */
@media screen and (min-width: 1251px) {
  nav .content .links {
    display: flex;
  }
  
}

@media screen and (max-width: 1250px) {
  .hero h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: rgb(20, 61, 196);
  }
  
.social-link-1,.nav-text-1,.social-links-1 {
  display: none;
  
}

.social-links-2,.nav-text-2,.social-link-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
  .responsive-nav-wrapper
  {
    display: block;
    position:sticky;
    top: 0;
    z-index: 999;
  }
  .responsive-nav-wrapper nav
  {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;

  }
  .responsive-nav-wrapper .menu-icon {
    display: block;
  }

  .main-d
  {
    display: flex;
    justify-content: space-between;
  }
  .main-d #close-menu{
    margin-top: 10px;
    margin-right: 10px;
    font-size: 1.5rem;
  }
  .content .links ul li{
    border-bottom: none;
  }
  nav .content .links {
    display: none;
    position: fixed;
    background: #14181f;
    height: 100%;
    width: 100%;
    top: 0;
    left: -100%;
    overflow-x: scroll;
    margin-left: 0;
    min-width: 350px;
    text-wrap: wrap;
    padding-bottom: 100px;
    transition: all 0.3s ease;
    left: 0%;
    z-index: 4;
  }

  .content .links li {
    margin: 15px 20px;
  }

  .content .links li .fa-xmark {
    display: block;
  }

  .content .links li a,
  .content .links li label {
    line-height: 30px;
    font-size: 1rem;
    display: block;
    padding: 8px 18px;
    cursor: pointer;
  }
  .content .links ul ul {
    position: absolute;
    top: 0;
    margin-top: 0;
    border-left:2px solid white;
    left: 100%;
  }

  .content .links li a.desktop-link {
    display: none;
  }

  /* dropdown responsive code start */
  .content .links ul,
  .content .links ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    background: none;
    max-height: 0px;
    overflow: hidden;
  }

  .content .links input:checked ~ ul {
    max-height: 100%;
  }

  .content .links input:checked ~ label i {
    transform: rotate(180deg);
  }

  .content .links ul li {
    margin: 7px 15px;
  }

  .content .links ul li a {
    font-size: 1rem;
    line-height: 30px;
    border-radius: 5px !important;
  }

  .content .links ul li label,
  .content .links li label {
    position: relative;
  }

  .content .links ul li a i,
  .content .links li label i {
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all 0.5s esae;
  }
  .content .links li:hover > ul {
    top: 37px;
    opacity: 1;
    visibility: visible;
    transition:none;
    border-top: none;
  }
  
  .content .links ul ul {
    border-left:none;
  }
  .custom-select {
    color: white;
  }
  .option {
    color: black;
  }
  .selected-option {
    text-align: center;
    border:none;
  }
  .selected-option i 
  {
    border-radius:50%;
    font-size: 20px;
    border: 2px double #efecec;
  }
  .selected-option span, .option span
  {
    display: none;
  }

}


@media screen and (max-width: 450px) {


  
  .hero
  {
    flex-direction: column;
  }
  .hero h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: rgb(20, 61, 196);
  }
  #hero-img-2,#hero-img-3,#hero-img-4
  {
    display: none;
  }
  .main-d
  {
    display: flex;
    justify-content: space-between;
  }
  .content .links ul li{
    border-bottom: none;
  }
  .main-d #close-menu{
    margin-top: 10px;
    margin-right: 10px;
    font-size: 1.5rem;
  }
  .responsive-nav-wrapper nav {
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
  }

  .content .links li .fa-xmark {
    display: block;
  }
  .social-links
  {
    display: inline-flex !important;
  }
  .content .links ul li label,
  .content .links li label {
    position: relative;
  }

  .content .links ul li a i,
  .content .links li label i {
    position: absolute;
    right: 15px;
    top: 15px;
  }
  .content .links ul ul {
    border: none;
  }

}
