@import url(fonts/stylesheet.css);

/* VARIABLES */
:root {
  --c-white: #ffffff;
  --c-light-blue: #bef4fe;
  --c-black: black;
  --font-base: "Playfair Display", 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-black);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*::selection {
  background-color: black;
  color: #ffffff;
}

body {
  color: var(--c-white);
  /* background-color: var(--c-light-blue); */
  overflow-x: hidden;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3.h4.h5.h6 {
  font-weight: 800;
  color: var(--c-black);
}

p,
span {
  color: var(--c-black);
  font-family: 'Poppins';
}

a {
  text-decoration: none;
  color: var(--c-black);
  transition: var(--transition);
  font-size: 18px;
}

.section-padding {
  min-height: 40vh;
  background-color: #f6f5f4;
}

img {
  max-width: 100%;
  height: auto;
}


header a {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;

}

header .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 0px;
  padding: 10px 60px;
  background-color: #C80406;
}

header a:hover {
  color: red;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-skip-ink: none;
  text-underline-offset: 2px;
  text-decoration-color: red;
  text-align: center;
}

/* nav */
.form__group {
  position: relative;
  padding: 20px 0 0;
  width: 100%;
  max-width: 180px;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 2px solid #6b6b6b;
  outline: 0;
  font-size: 17px;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.form__field::placeholder {
  color: transparent;
}

.form__field:placeholder-shown~.form__label {
  font-size: 17px;
  cursor: text;
  top: 20px;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #ffe699;
  pointer-events: none;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, #ffe699, #5d3294);
  border-image-slice: 1;
}

.form__field:focus~.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #ffe699;
  font-weight: 700;
}

/* reset input */
.form__field:required,
.form__field:invalid {
  box-shadow: none;
}




/* 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);
}

.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;
}





/* footer */
footer {
  background-color: black;
  color: white;
}

footer * {
  color: white;
  font-family: 'Poppins';
  font-weight: 400;
}

footer p {
  opacity: 0.5;
}

footer li {
  opacity: 0.5;
  list-style: none;
}

footer img {
  width: 400px;
  padding: 40px 0px;
}

footer .services img {
  width: 200px;
  padding: 10px 30px;
}

footer .social li {
  padding: 10px 20px;
}

footer .form-control {
  border-radius: 0px;
  padding: 10px 20px;
  margin: 20px 0px;
}

footer .btn {
  border-radius: 0px;
  color: white;
  padding: 10px 20px;
  margin: 10px 0px;
}

footer .service-box {
  background-color: #c80406;
  width: 40px;
}

footer a {
  font-size: 14px;
  color: #2a519d;
}

footer p {
  font-size: 13px;
}

footer li {
  font-size: 16px;
  padding: 5px 0px;
  font-weight: lighter;
}

footer i {
  font-size: 40px;
}