:root {
    --bs-primary: #EF0F83;
    --bs-primary-hover: #d01073;

    --bs-btn-border-color: #EF0F83;
    --bs-primary-rgb: 239, 15, 131;

    --bs-dark: var(--bs-gray-700);

    --p-text-color: var(--bs-gray-600);
    --bs-heading-color: var(--bs-dark);

    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--bs-primary-hover);

    --bs-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    
}

* {
    outline: none !important;
}

body {
    font-family: 'Lato', sans-serif;
    --bs-body-color: var(--bs-dark);
}

main {
    padding-top: 1rem;
}

p {
  color: var(--p-text-color);
}

a {
  color: var(--bs-primary);
  text-decoration: none;
  transition: color .3s ease-in-out;
}

a:hover {
  color: var(--bs-primary-hover);
}

/* Typo */

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'Abril Fatface';
}

.abril-fatface {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
}

.courier {
  font-family: 'Courier New', Courier, monospace;
}

.lato-thin {
  font-family: "Lato", serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", serif;
  font-weight: 900;
  font-style: italic;
} 

.text-muted {
  color: var(--bs-gray-500) !important;
}

.fs-2 {
  font-size: .5rem;
}
.fs-3 {
  font-size: 1rem;
}
.fs-4 {
  font-size: 1.5rem;
}
.fs-5 {
  font-size: 2rem;
}


/* Buttons */

.btn {
  --bs-btn-font-family: 'Lato', sans-serif;
  --bs-btn-padding-x: 1rem;
  font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary-hover);
    --bs-btn-hover-border-color: var(--bs-primary-hover);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

/* Forms */

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: none;
}

/* Navbar */

.navbar {
  --bs-navbar-toggler-font-size: 2rem;
  position: sticky;
    top: 0;
    z-index: 1020;
    background-color: rgba(248, 249, 250, 0.85) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-item {
    padding-right: 1.5rem;
}

.nav-link {
    font-size: 1.2rem;
    --bs-navbar-active-color: var(--bs-primary);
    --bs-nav-link-hover-color: var(--bs-primary);
}

@media only screen and (max-width: 990px) {
  .offcanvas-custom {
    clip-path: polygon(0 200px, 100% 0, 100% 100%, 0 100%);
    padding: 1rem;
    max-width: 80%;
  }
  
  .offcanvas-header {
    align-items: flex-start;
  }
  
  .offcanvas-custom .offcanvas-title {
    margin-top: 10rem;
  }
  
  .offcanvas-custom .btn-close {
    margin-top: 1.5rem;
  }
}

/* DETAIL */

#article {
  p {
    padding: 1rem 2rem;
    font-family: 'Courier New';
  }
  .photo-caption {
    color:  var(--bs-gray-500);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 300;
    font-style: italic;
  }
}
