@import url(../fonts/stylesheet.css);

/* VARIABLES */
:root {
  --c-white: #ffffff;
  --c-light-blue: #bef4fe;
  --c-blue: #005099;
  --font-base: "Gellix", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.5s ease;
}

/* HELPERS & RESETS */
* {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-blue);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*::selection {
  background-color: black;
  color: #ffffff;
}
body {
  color: var(--c-white);
  background-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3.h4.h5.h6 {
  font-weight: 800;
  color: var(--c-blue);
}
p {
  color: var(--c-blue);
}

a {
  text-decoration: none;
  color: var(--c-blue);
  transition: var(--transition);
  font-size: 18px;
}

a:hover {
  color: var(--c-light-blue);
}

.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
  background-color: #ddddc7;
}
img {
  max-width: 100%;
  height: auto;
}

/* Navbar */
header a {
  font-size: 22px;
  font-weight: bold;
  font-weight: 500;
}
header a:hover {
  color: black;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-skip-ink: none;
  text-underline-offset: 2px;
  text-decoration-color: white;
  text-align: center;
}

/* HERO */
#hero {
  background-image: url(../images/blog_hero.webp);
  background-size: cover;
  height: 60vh;
  background-position: center;
}

#hero span:first-child {
  font-size: 30px;
  font-weight: 700;
}
#hero .hero-text {
  margin: 100px 0;
}
#hero span:nth-child(2) {
  font-size: 55px;
  font-weight: 700;
}
#hero button {
  background-color: #005099;
  color: white;
  padding: 12px 20px;
  border-radius: 0px;
  font-size: 18px;
  font-weight: 600;
  width: 154px;
}
#hero button:hover {
  background-color: white;
  color: #005099;
}

/* BLOG */
#blog ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
}
#blog button {
  color: #005099;
  font-size: 18px;
  padding: 7px 12px;
  border-radius: 20px;
  border: 2px solid #005099;
}
#blog .active {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-skip-ink: none;
  text-underline-offset: 4px;
  text-decoration-color: #91dfb9;
}
#blog .grid {
  grid-template-columns: 1fr 1fr 1fr;
}
.card {
  height: 360px;
  width: 360px;
}
.card img {
  transition: transform 1s cubic-bezier(0.5, -0.02, 0, 0.98);
}
.card img:hover {
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background-color: #235e6b;
  padding: 10vh 0;
}
footer * {
  color: var(--c-white);
  list-style: none;
}
footer li {
  padding: 5px 0px;
  font-size: 18px;
  font-weight: 500;
}
footer a:hover {
  color: #91dfb9;
}
footer h5 {
  font-size: 22px;
}
footer p {
  opacity: 0.8;
  font-size: 16px;
}
footer span {
  font-size: 12px;
  opacity: 0.8;
}
footer i {
  font-size: 2rem;
}






.container_imgh {
  position: relative;
  width: 84%;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container_imgh:hover .image {
  opacity: 0.3;
}

.container_imgh:hover .middle {
  opacity: 1;
}

.text {
  background-color: transparent;
  color: green;
  
  font-size: 26px;
  padding: 16px 32px;
}