/* ------------------------------------------- */
/* Selectors & Basic Properties - Hero Section */
/* ------------------------------------------- */

/* Universal Slector */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Element Selector */
body {
  background: #f7f7f7;
  color: #333;
  font-family: "Pacifico", cursive;
}

/* Class Selector */
.hero {
  color: blue;
  padding: 100px;
}

.hero__title {
  color: #f5f5f5;
}

.hero__description {
  color: midnightblue;
}

.hero__highlight {
  color: #dbfbe0;
}

/* ------------------------ */
/* Fonts - Features Section */
/* ------------------------ */

.feature {
  /* Padding is the gap from the edge inside the box */
  padding: 25px;
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature__item {
  /* Top Down, Left Right */
  padding: 30px 0;
}

.feature__title {
  /* px= Pixel size em= huge? rem= Consistent result across browsers || Takes the root of browser */
  font-size: 1.5rem;
  /* Determines the thicccccnesss */
  font-weight: 500;
  /* Transforms the text to uppercase without the need to type it all */
  text-transform: uppercase;

  color: #000;
  /* margin is the gap from the edge outside the box */
  margin-top: 20px;
  margin-bottom: 5px;
  text-decoration: underline;

  display: block;
  text-align: right;
}

.feature__title--selected {
  text-decoration: underline;
}

.feature__link {
  text-decoration: none;
  color: #333;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  display: block;
  text-align: right;

  padding: 0;
  /* Space in the middle of sentences */
  line-height: 2.4rem;
  /* Space between words */
  word-spacing: 0.4rem;
  /* Space between letters */
  letter-spacing: 0.18rem;
}

.feature__list-item {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #5d5d5d;
}

/* You can duplicate any and modify it with the :before and :after */
.feature__list-item:before {
  /* U can add stylish text into the site as so */
  content: "★";
  margin-right: 10px;
  display: block;
  text-align: left;
  color: #34c;
}

.feature__container {
  flex-basis: 30%;
  margin-left: 400px;
}

.feature__image-container {
  height: 1200px;
  width: 600px;
  margin-right: 300px;
}

.feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------- */
/* Colors - Call to Action Section */
/* ------------------------------- */

.cta {
  padding: 100px;
  background-color: rgba(114, 10, 220);
  color: #000;
  text-align: center;
}

.cta__description {
  padding: 15px 0;
  color: #dbdbdb;
}

button {
  color: none;
  border: none;
}

.cta__button {
  padding: 10px 20px;
}

/* ------------------------- */
/* Box Model - Video Section */
/* ------------------------- */

.video {
  text-align: center;
  padding: 100px;
  font-weight: 500;
}

.video_title {
  font-size: 32px;
  font-weight: 500;
}

.video__description {
  margin-top: 10px;
  font-weight: 300;
  color: #6e6e6e;
}

.video__controls {
  margin-top: 20px;
}

.video__button {
  border: 4px solid #5bb471;
  background: none;
  padding: 10px 20px;
}

.video__button--primary {
  margin-right: 10px;
}

.video__container {
  margin-top: 20px;
  background-color: #ccc;
  width: 100%;
  height: 500px;
  box-shadow: -1px 0px 54px 5px rgba(255, 0, 0, 1);
}

/* ----------------------- */
/* Flex - Programs Section */
/* ----------------------- */
.programs {
  padding: 100px;
  background-color: #eee;
  padding-bottom: 200px;
}

.programs__cards {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  gap: 20px;
  margin-top: 20px;
}

.programs__card {
  background-color: #b5b5b5;
  padding: 30px;
  flex-basis: 30%;
  height: 400px;
}

/* ------------------------------------- */
/* HTML Elements & images - Form Section */
/* ------------------------------------- */
.element {
  display: flex;
  margin-top: 2px;
  justify-content: space-between;
  padding: 100px;
  gap: 60px;
  background-color: #f8f9fa;
}

/* Flex with 1 if 2 boxes with take 50% */
.element__left {
  flex: 1;
}

.element__right {
  flex: 1;
}

.element__subtitle {
  color: #5d5d5d;
  margin-top: 10px;
  margin-bottom: 30px;
}

.element__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.element__placeholder {
  background-color: grey;
  width: 100%;
  height: 100%;
}

.element__list {
  list-style-type: none;
  padding-left: 0;
}

.element__list-item {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #5d5d5d;
}

/* You can duplicate any and modify it with the :before and :after */
.element__list-item:before {
  /* U can add stylish text into the site as so */
  content: "↪";
  margin-right: 10px;
  color: #34c759;
}

.element__form--group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.element__form--group label {
  color: #333;
  font-weight: 500;
}

/* use , if selecting more than one item needing to be changed */
.element__form--group input,
.element__form--group select {
  padding: 12px;
  border: 1px solid #e0e0e0;
  /* Round out the edges */
  border-radius: 4px;
  /* The text inside doesn't automatically use the same font being used */
  font-family: inherit;
}

/* This will enable a focus effect when clicking the boxes
the "focus" is a sudo class */
.element__form--group input:focus,
.element__form--group select:focus {
  outline: none;
  border-color: #34c759;
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.2);
}

/* This will enable a pointer when hovering over a selection of a
list or drop down menu */
.element__form--group select {
  cursor: pointer;
  background-color: white;
}

.element__form--group option {
  padding: 8px;
}

.element__button {
  background-color: #34c759;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  /* UI Experience when hovering over it || Animation */
  transition: background-color 0.2s;
}

/* This enables the hover effect with the color change animation */
.element__button:hover {
  background-color: #2db14e;
}

/* ------------------------ */
/* Images and Final Styling */
/* ------------------------ */
.hero {
  /* always take 50% of the entire screen */
  height: 50vh;
  background-image: url(images/17.jpg);
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.55);
  background-blend-mode: overlay;
  text-align: center;
  align-content: center;
}

.cta__title {
  font-size: 24px;
  font-weight: 400;
}

.cta__button--primary:hover {
  background-color: #d0d0d0;
  cursor: pointer;
}

.video__button--primary {
  color: #5bb471;
}

.video__button--primary:hover {
  background-color: #5bb471;
  color: white;
  cursor: pointer;
}

.video__button--secondary {
  color: #5bb471;
}

.video__button--secondary:hover {
  background-color: #5bb471;
  color: white;
  cursor: pointer;
}

.video__container {
  background-image: url("images/13.jpg");
  background-size: cover;
  background-position: center;
  height: 700px;
  background-color: rgba(0, 0, 0, 0.05);
  background-blend-mode: overlay;
}

.programs__card {
  background: none;
  padding: 0;
  flex-basis: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  height: 690px;
  border-radius: 8px;
}

.programs__card-img {
  width: 100%;
  height: 600px;
  /* "min" The minimum the cards can have
    if your images are too small this will make them stretch */
  min-height: 200px;
  object-fit: fill;
  border-radius: 20px;
}

.programs__card-description {
  color: #6e6e6e;
  font-weight: 300;
  margin-bottom: 20px;
}

.programs__button {
  background-color: #34c759;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
}

.programs__button:hover {
  background-color: #2db14e;
}

.element__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
