:root {
  --background: #111111;
  --white: #ffffff;
  --grey: #191919;
  --yellow: rgb(236, 236, 76);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background: var(--background);
}

header {
  position: fixed;
  width: 100%;
  height: 80px;
  background: rgb(25, 25, 25, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
  z-index: 3;
}

.logo {
  font-size: 1.3em;

  font-weight: bold;
  color: var(--white);
}

.logo span {
  color: var(--yellow);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.hamburger {
  display: none;
}

.nav_bar ul {
  display: flex;
  list-style: none;
}

.nav_bar ul li a {
  display: block;
  color: var(--white);
  font-size: 15px;
  padding: 10px 25px;
  border-radius: 50px;
  margin: 0 5px;
  text-decoration: none;
  transform: scale(1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;

}

.nav_bar ul li a:hover {
  color: var(--background);
  background: var(--yellow);
  transform: scale(1.06);
}

.nav_bar ul li a.active {
  background-color: var(--yellow);
  color: var(--background);
}



.home_page {
  background-color: var(--background);
  height: 600px;
}

.some-page-wrapper {
  height: 100vh;
}

.rows {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.home_left_column {
  background-color: var(--background);
}

.home_left_column span {
  color: var(--yellow);
  font-size: 40px;
  letter-spacing: 2px;
}

.gradient_border {
  border-inline-start: 3px solid;
  border-block-start: 3px solid;
  padding: 10px;
  border-image-source: radial-gradient(circle at top left,
      rgb(236, 236, 76, 0.6),
      transparent 50%);
  border-image-slice: 1;
}

.home_left_column h2 {
  color: var(--white);
  font-size: 30px;
  animation: fadeIn 5s;
  margin: 30% auto 0;
  text-align: center;
  justify-content: center;
}

.home_left_column p {
  font-size: 18px;
  margin-top: 5%;
  color: var(--white);
  animation: fadeIn 5s;
  line-height: 1.8;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  justify-content: center;
  padding: 0 30px;
  margin-bottom: 20px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.columns {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  background-color: var(--background);
  align-self: center;
}

.home_right_column {
  padding: 40px;
  height: 500px;
  background-color: var(--background);
  margin-top: 115px;
}

.home_right_column img {
  transform: translate(10px, 5px);
  animation: fadeInRight 1s ease-in-out;
  border-radius: 20px;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(300px);
  }

  to {
    opacity: 1;
  }
}

.title {
  color: var(--white);
  font-size: 30px;
  text-align: center;
  padding: 10px;
  margin-top: 30px;
}

.compare_photos_subtitle {
  color: var(--white);
  font-size: 20px;
  text-align: center;
  font-weight: lighter;
  padding: 5px 0 10px 0;
}

.compare_photos_column {
  float: left;
  width: 50%;
  padding: 5px;
}

.compare_photos_column img {
  border-radius: 15px;
}

/* Clearfix (clear floats) */
.compare_photos_row::after {
  content: "";
  clear: both;
  display: table;
}

.all_section {
  background-color: var(--background);
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  width: 85em;
  grid-gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: stretch;
  margin: 0 153px;
}

.grid_two {
  display: grid;
  width: 85em;
  grid-gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: start;
  margin: 35px 153px 0;
}

.grid_item_lessons {
  background-color: var(--white);
  overflow: hidden;
  transition: 0.2s;
  border-radius: 15px;
}

.card_img {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card_content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

.card_header {
  font-size: 30px;
  font-weight: 500;
  color: var(--background);
  margin-bottom: 0.75rem;
}

.card_description {
  font-size: 13px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.card_duration {
  font-weight: bold;
  font-size: 13px;
  padding: 5px 0;
}

.card_list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  font-weight: bold;
  font-size: 13px;
}

.card_list li {
  margin-bottom: 5px;
}

.card_pricing {
  font-weight: bolder;
  font-size: 20px;
  padding: 10px 0;
  margin-top: auto;
}

.column {
  float: left;
  width: 50%;
  padding: 10px;
  height: 350px;
  padding: 30px;
}

.column h2 {
  font-weight: 800;
  letter-spacing: 1px;
  padding-top: 20px;
}

.column p {
  font-weight: 200;
  letter-spacing: 1px;
  color: #8d8d8d;
  padding-top: 15px;
}

.debug_button {
  position: fixed;
  bottom: 0;
  left: 0;
  color: aqua;
}

.debug * {
  background: rgb(0 100 0 / 0.05) !important;
}

.grid_item {
  background-color: var(--yellow);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}

.compare_photos_row {
  padding: 1px 100px;
}

.container_footer {
  max-width: 950px;
  margin: auto;
}

.row_footer {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer {
  background-color: var(--background);
  padding: 70px 0;
}

.footer_col {
  width: 33.3%;
  padding: 0 15px;
}

.footer_col h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer_col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: var(--yellow);
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer_col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer_col ul li {
  color: var(--white);
  font-size: 16px;
}

.footer_col ul li a {
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  color: var(--white);
  display: block;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social_media {
  width: 24px;
  height: 24px;
  margin-right: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 5s;

}

.socials a:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 208, 0, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.socials a:hover .social_media {
  transform: scale(1.12) rotate(-4deg);
  filter: drop-shadow(0 0 8px rgba(255, 208, 0, 0.55));
}

.socials a:active {
  transform: translateY(0) scale(0.98);
}

/* contact site start */
.contact_form {
  height: 100vh;
  width: 100%;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 100px;
}

.container:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: url("img/bg.jpg") no-repeat center;
  background-size: cover;
  filter: blur(50px);
  z-index: -1;
}

.contact-box {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--background);
  box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.19);

  border-radius: 15px;
}



.left {
  background: url("images/contact.png") no-repeat center;
  background-size: cover;
  height: 100%;
  animation: fadeIn 5s;
}

.right {
  padding: 25px 40px;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(300px);
  }

  to {
    opacity: 1;
  }
}

h2 {
  position: relative;
  padding: 0 0 10px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.5rem;
}

h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  height: 4px;
  width: 50px;
  border-radius: 2px;
  background-color: var(--yellow);
}

.field {
  width: 100%;
  background-color: var(--grey);
  color: var(--white);
  border: 2px solid transparent;
  outline: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin-bottom: 22px;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-radius: 15px;
}

.field:focus {
  background-color: var(--grey);
  color: var(--background);
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.25);
}




textarea {
  min-height: 150px;
}

.btn {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--yellow);
  color: var(--grey);
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 15px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;


}

.btn:hover {
  transform: scale(1.05);
}

.field:focus {
  border: 2px solid var(--yellow);
  background-color: #fff;
}

/* contact site end  */

/*responsive*/
@media (max-width: 574px) {
  .logo {
    font-size: 1.2em;
  }

  .footer_col {
    width: 100%;
  }

  .compare_photos_row {
    padding: 50px 50px;
  }

  .home_page {
    height: 520px;
  }

  .home_right_column img {
    display: none;
  }

  .rows {
    display: block;
  }

  .home_left_column h2 {
    max-width: 400px;
  }

  .home_left_column p {
    font-size: 14px;
  }

  .grid {
    width: 35em;
  }

  .grid_two {
    width: 35em;
  }

  .blog_detail_container {
    height: 2300px;
  }

  .gradient_border {
    display: none;
  }

  .home_left_column h2 {
    font-size: 35px;
  }

  .home_right_column {
    display: none;
  }

  .compare_photos_subtitle {
    padding: 0 10px;
  }

  .container_blog h2 {
    font-size: 20px;
  }

  .blog_post {
    padding: 0;
  }

  .blog_post_img img {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }

  .container {
    padding: 20px 45px;
  }

  .blog_post_info {
    padding: 0.7rem;
  }

  .blog_post_date span {
    font-size: 12px;
  }

  .blog_post_title {
    font-size: 18px;
  }

  .blog_post_cta {
    font-size: 10px;
    margin: 0;
  }

  .blog_detail_date {
    margin: 0;
  }

  .blog_detail_title {
    margin: 0;
    padding: 10px;
  }

  .blog_detail_description {
    margin: 0;
    padding: 5px 10px;
    width: clamp(30ch, 100%, 75ch);
  }

  .blog_detail_image img {
    margin: 0;
    padding: 0;
  }

  .arrow_back {
    margin: 10px 0;
  }
}

@media (max-width: 800px) {
  .footer_col {
    width: 50%;
    margin-bottom: 30px;
  }

  .home_right_column img {
    display: none;
  }

  .some-page-wrapper {
    height: 100vw;
  }

  .rows {
    display: block;
  }

  .grid {
    width: 35em;
  }

  .blog_post {
    flex-direction: column;
  }

  .blog_post_img {
    min-width: 100%;
    max-width: 100%;
    transform: translate(0, 0.1rem);
  }
}

@media only screen and (max-width: 900px) {
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger .line {
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 6px 0;
  }

  .nav_bar {
    height: 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--background);
    transition: 0.5s;
    overflow: hidden;
  }

  .nav_bar.active {
    height: 450px;
  }

  .nav_bar ul {
    display: block;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }

  .nav_bar.active ul {
    opacity: 1;
  }

  .nav_bar ul li a {
    margin-bottom: 12px;
  }

  .some-page-wrapper {
    height: 80vw;
  }

  .home_right_column img {
    display: none;
  }

  .rows {
    display: block;
  }

  .grid {
    width: 35em;
  }

  .left {
    display: none;
  }

  .right {
    padding: 0;
  }

  .contact-box {
    display: block;
  }

  .blog_post {
    max-width: 70rem;
  }
}

@media only screen and (max-width: 1100px) {
  header {
    padding: 0 30px;
  }

  .home_right_column img {
    display: none;
  }

  .gradient_border {
    display: none;
  }

  .blog_post {
    max-width: 80rem;
  }
}

@media only screen and (max-width: 1320px) {
  header {
    padding: 0 50px;
  }
}

@media only screen and (min-width: 1320px) {
  .home_page {
    width: 1290px;
    margin: 0 auto;
  }

  .grid {
    width: 70em;
  }

  .grid_two {
    width: 70em;
  }

  .compare_photos_row {
    padding: 0px 240px;
  }
}