/*-----------------------------------*\
  #media_queries.css
\*-----------------------------------*/

/**
 * copyright 2022 @codewithsadee 
 */

/*@media (max-width: 504px) {
    .btn-form {
        gap: 0px;
        flex-wrap: nowrap;
    }
}*/


 @media (max-width: 991px) {
  .navbar .btn {
    display: inline;
  }
  .navbar .navbar-brand {
    display: none;
  }
  .contactUs
 {
/*    padding: 55px;*/
  }
  .contactUs .box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "form"
    "info"
    "map";;
    gap: 20px;
  }
  .work-course .box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "information"
    "info"
    "techer";
    gap: 20px;
  }
  .map {
    min-height: 300px;
  }
  .blogUs .box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 3fr 1.2fr 0.5;
    grid-template-areas:
    "n n n n" 
    "m m m m"
    "c1 c1 c1 c1"
    "s s s s"
    'f f f f';
    gap: 15px;
    
  }
  #btn-secondary {
    width: 200px;
  }
  .content1 {
    display: none;
  }
  .author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer-blog .alert {
    display: flex;
    flex-direction: column;

  }
  .footer-blog .alert .text ion-icon {
    display: none;
  }
  .footer-blog .alert .text h2 {
    padding: 0;
    padding-bottom: 15px;
  }

 }
 @media (max-width: 635px) {
  .formBox .row50 {
    display: flex;
    gap: 0;
    flex-direction: column;
  }
  .inputBox {
    width: 100%;
  }
  .cantact {
    padding: 30px;
  }
  .cantain {
    padding: 30px;
  }
 }
 @media (max-width: 546px) {
  .footer-blog .alert .text h2 {
    font-size: 10px;
  }

 }
 @media (max-width: 406px) {
  .footer-blog .alert {
     padding-left: 4px;
     padding-right: 4px;
  }

    .card {
        width: 320px;
    }

 }
 @media (max-width: 461px) {
  .login-form-container form .header-form h2 {
    font-size: 12px;
  }
  .btn-footer {
    display: flex;
    align-items: center;
    flex-direction: column;

 }
 .login-form-container form p {
  font-size: 0.8rem;
 }
}
 @media (max-width: 543px) {
  .work-course .name-logo img {
    width: 30px;
    height: 30px;
  }
  .work-course .name-logo h3 {
    font-size: 12px;
    padding-right: 15px;
  }

  .number{
      width:4rem;
  }
  
 }

@media (min-width: 375px) {

  /**
   * VARIABLE 
   */

  :root {

    --fs-1: 50px;
    --fs-2: 45px;
    --fs-7: 18px;

    --px: 30px;

  }



  .section-subtitle { font-size: var(--fs-7); }



  /**
   * HOME 
   */

  .home-left .icon-1 { top: 100px; }

  .home-left .icon-2 {
    display: block;
    top:  270px;
    right: 50px;
  }

  .home-left .icon-3 {
    display: block;
    top: 450px;
    left:  0;
  }

  .home-left .icon-4 {
    width: 60px;
    top:  150px;
    right: 50px;
  }



  /**
   * ABOUT 
   */

  .about-right .icon-1 { top: 100px; }

  .about-right .icon-2 {
    display: block;
    top: 200px;
    right: 0;
  }
  .about-left .section-title,
  .course .section-title,
  .event-left .section-title,
  .instractor .section-title,
  .testimonial .section-title
   {
    font-size: 15px;
  }
  .contact h2 {
    font-size: 25px;
  }
  

}





@media (min-width: 575px) {

  /**
   * VARIABLE 
   */

  :root { --px: 40px; }



  /**
   * HOME 
   */

  .home .shape-1 img { width: 100px; }

  .home .shape-3 img { width: 250px; }



  /**
   * ABOUT 
   */

  .about-right .icon-1 { top: 200px; }

  .about-right .icon-2 { top: 350px; }



  /**
   * EVENT 
   */

  .event .play { right: -20px; }

  .event-card {
    display:     flex;
    align-items: center;
    text-align: right;
  }

  .event-card .content-right {
    width: 100px;
    padding-bottom: 0;
    margin-bottom:  0;
    padding-left: 15px;
    margin-left:  25px;
    box-shadow: -1px 0 0 0 var(--light-gray);
  }

  .event .schedule {
    justify-content: start;
    margin-bottom: 5px;
  }

  .event-card .event-name { text-align: right; }
  .instractor .section-title {
    font-size: 20px;
  }



  /**
   * CONTACT 
   */

  .contact h2 { font-size: 28px; }

}
@media (min-width: 767px) {

  /**
   * VARIABLE 
   */

  :root {

    --fs-1: 60px;
    --fs-2: 50px;
    --fs-7: 20px;

    --px: 60px;

  }



  /**
   * #CATEGORY, COURSE, INSTRUCTOR, BLOG, FOOTER
   */

  .category .course-item-group,
  .course-grid,
  .instractor-grid,
  .blog-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category .course-item-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .footer-grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;

  }



  /**
   * #EVENT 
   */

  .event .play { right: -20px; }



  /**
   * #CONTACT 
   */

  .contact-card { padding: 40px 60px; }

}
@media (max-width: 423px) {
  .sidbar-blog {
    padding: 0;
  }
}

@media (min-width: 850px) {

  /**
   * #VARIABLE 
   */

  :root { --px: 140px; }

}





@media (min-width: 992px) {

  /**
   * #VARIABLE 
   */

  :root {

    --fs-5: 16px;
    
    --px: 30px;
    --py: 120px;

  }



  /**
   * #HEADER 
   */

  .navbar { padding: 20px var(--px); }
  .navbar{
    padding-bottom: 5px;
    padding-top: 5px;
  }

  .navbar-nav {
    background: transparent;
    position: static;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    display:     flex;
    align-items: center;
    gap: 20px;
  }

  .nav-item:not(:last-child) a { border-bottom: none; }

  .nav-toggle-btn { display: none; }

  .navbar .btn { display: block; }
  .dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 10rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--default-transition);
    
  }
  .dropdown ul {
    position: relative;
    border-radius: 8px;
  }
  
  .dropdown-link > a {
    display: flex;
    color: var(--oxford-blue);
    padding: 0.5rem 1rem;
    align-items: center;
    justify-content: center;
    transition: var(--default-transition);
    background-color: var(--red-orange-color-wheel);
  }
  .dropdown-link:hover a {
    background-color: var(--oxford-blue);
    color: #fff;
  }
  .dropdown-link:not(:nth-last-child(2)){
    border-bottom: 1px solid #efefef;
  }
  .arrow {
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 15px;
    background-color: var(--red-orange-color-wheel);
    transform: rotate(45deg);
    cursor: pointer;
    transition: var(--default-transition);
    z-index: -1;
  }
  .dropdown-link:first-child:hover ~ .arrow{ 
    background-color: var(--oxford-blue);
  }
  .nav-item:hover > .dropdown,
  .dropdown-link:hover > .dropdown {
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
  }



  /**
   * #HOME 
   */

  .home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .home::before {
    top:  -100px;
    left: -300px;
  }

  .home::after { top: 0; }

  .home-left { margin-bottom: 0; }

  .home .section-subtitle,
  .main-heading,
  .home .section-text { text-align: right; }

  .home .section-text { margin: 0 0 30px; }

  .home-btn-group { justify-content: start; }
  .home .home-left .icon-1 {
    top: 139px;
  }



  /**
   * #ABOUT 
   */

  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-right { margin-left: -70px; }

  .about-right img { max-width: unset; }

  .about-right { padding-top: 0; }



  /**
   * #COURSE 
   */

  .course { position: relative; }

  .course .section-subtitle,
  .course .section-title { max-width: 600px; }

  .course-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
  }

  .course .btn-primary {
    position: absolute;
    top: 130px;
    left: var(--px);
  }



  /**
   * #EVENT 
   */

  .event {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    align-items: center;
  }

  .event-right { margin-bottom: 0; }

  .event .play { right: -10px; }



  /**
   * #FEATURES 
   */

  .featuers {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .featuers-left { height: auto; }



  /**
   * #TESTIMONIALS 
   */

  .testimonial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }



  /**
   * #BLOG 
   */

  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .blog .wrapper a {
    font-size: 12px;
  }

  /**
   * #CONTACT 
   */

  .contact-card { grid-template-columns: 1fr 1fr; }

  .contact-card h2 { text-align: center; }

  .contact .btn-primary {
    justify-self: end;
    align-self: center;
  }



  /**
   * #FOOTER 
   */

  .footer-grid { grid-template-columns: 2fr 2fr 2fr; }
  .footer-grid-contact {
    grid-template-columns: 2fr 2fr 2fr;

  }

}





@media (min-width: 1200px) {

  /**
   * #VARIABLE 
   */

  :root {

    --fs-1: 70px;
    --fs-2: 55px;
    --fs-3: 40px;
    --fs-4: 25px;
    --fs-7: 22px;

    --px: 120px;

  }



  /**
   * #HOME 
   */

  .home-right { padding-bottom: var(--py); }

  .home .section-text { font-size: 18px; }



  /**
   * #CATEGORY 
   */

  .category .course-item-group { grid-template-columns: repeat(3, 1fr); }



  /**
   * #EVENT 
   */

  .event { grid-template-columns: 1fr 1fr; }



  /**
   * #INSTRUCTOR 
   */

  .instractor-grid { grid-template-columns: repeat(4, 1fr);  }



  /**
   * #CONTACT 
   */

  .contact-card h2 { font-size: 35px; }

}