/**********************************************
Theme Name: Academia del Hule
Description: CSS for School Website
Version: 1.0
Author: Gustavo Gómez Macías (Goz)
***********************************************/

/**********************************************/
/* VARIABLES */                              
/**********************************************/
:root {
  --white: #fff;
  --light-yellow: #f6f1d5;
  --green1: #394731;
  --green2: #687c43;
  --green3: #7f8e4f;
  --green4: #d9dbb2;
  --brown1: #7e6f58;
  --brown2: #95846c;
  --dark: #555;
  --red: red;

  --font1: "Montserrat", sans-serif;
  --font2: "Raleway", sans-serif;
}


/**********************************************/
/* GENERAL STYLES */                              
/**********************************************/
body {
    background-color: var(--green1);
    margin: 0px;
    padding: 0px;
    margin-top: 3.4rem;
    font-size: 0.8rem;
    font-family: var(--font2);
}

* { scroll-behavior: smooth; scroll-padding-top: 190px; box-sizing: border-box; }
p { margin-top: 1.5rem; }


/**********************************************/
/* BULMA STYLES CHANGES */                              
/**********************************************/
.is-success { background-color: var(--light-yellow); }
.is-success:hover { background-color: var(--green2); color:var(--white); border: 2px solid #fff; }
/* fixing bulma's bug horizontal scroll */
.columns { margin-left: 0 !important; margin-right: 0 !important; }


/******************************************************/
/* HEADER  #header for web, #header2 for smartphones  */                              
/******************************************************/
#header, #header2 { position: fixed; width: 100%; top: 0px; background-color: var(--green1); margin: 0; z-index: 9999; min-height: 57px; }
#header2 { display: none; min-height: 87px; }
.header_logo { vertical-align:middle; margin-right: .4rem; width: 47px;}


/************************************************************/
/* title in HEADER  #title for web, #title2 for smartphone  */                              
/************************************************************/
#title { font-size: 1.5rem; padding-left: 8%; float:left; margin-top:.6rem;}
#title a { color: var(--white); text-decoration: none; }
#title a:hover { color:var(--white); } 

#title2 { width:100%; font-size: 1.8rem; text-align: center; }
#title2 a { color: var(--white); text-decoration: none;}
#title2 a:hover { color:var(--white); } 


/*********************************************************/
/* TOP_NAV  #top_nav for web, #top_nav2 for smartphones  */                              
/*********************************************************/
#top_nav { float:right; padding-right: 6rem;}
#top_nav ul li { display: inline-block; padding-left: 8px; padding-right: 8px;  margin-top:.6rem;}
#top_nav ul li a { color: var(--light-yellow); text-decoration: none;  font-size: 1.4rem;}
#top_nav ul li a:hover { color: var(--white); }

#top_nav2 { margin: auto; width: 100%; }
#top_nav2 ul { text-align: center; }
#top_nav2 ul li { display: inline-block; margin-right: 1rem;}
#top_nav2 ul li a { color: var(--light-yellow); text-decoration: none;  font-size: 1rem;}
#top_nav2 ul li a:hover { color: var(--white); }




/* VIDEO SECTION STARTS */
header {
  position: relative;
  background-color: black;
  height: 87vh;
  min-height: 18rem;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url('images/main.png') black no-repeat center center scroll;
  }
  
header .container { position: relative; z-index: 2; }
header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.2;
  z-index: 1;
  }

header video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
 
header {
    background: none;
}

/* VIDEO SECTION ENDS */



/**********************************************/
/* MAIN_IMAGE SECTION  */                              
/**********************************************/
#main_image {
    background-color: #000;	
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("images/main.jpg");
    height: 650px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
}

#main_image_smartphone { display: none; }
#main_title_section { margin-top: 8rem; text-align: center; }
#main_logo_section { margin-top: 4rem; text-align: left; margin-bottom:14rem; }

.main_image_title {
	font-size: 4.7rem;
	color: var(--white);
    font-family: var(--font1);
    font-optical-sizing: auto;
    font-weight: 640;
    font-style: normal;	
}

.main_image_subtitle {
	font-size: 3.5rem;
	color: var(--light-yellow);
    font-family: var(--font1);
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;	
}


/**********************************************/
/* SECTIONS STYLES   */                              
/**********************************************/
.section_title, .section_title2, .section_title3, .section_title4 {
    font-size: 2.4rem;
    font-family: var(--font1);
    color: var(dark);
    text-align: center;
    width: 100%;
    font-weight: 600;
}

.section_title2 { color: var(--white); }

.section_title3 {
    font-size: 2rem;
    font-family: var(--font1);
    color: var(dark);
    text-align: center;
    width: 100%;
    font-weight: 600;
    margin-top: 4rem;
}

.section_title4 { font-size: 1.8rem; }

.section_content, .section_content2, .section_content3 , .section_content4, .section_content5 {
    font-size: 1.2rem;
    font-family: var(--font2);
    color: var(dark);
    text-align: justify;
    width: 70%;
    margin: auto;
    font-weight: 600;
    padding-bottom: 2rem;   
}

.section_content2 { width: 90%; }
.section_content3 { width: 90%; color: var(--white); }

.section_content4 {
    font-size: 1.5rem;
    width: 90%;
    color: var(--white);
    text-align: center;
}

.section_content5 {
    font-size: 1.5rem;
    width: 90%;
    text-align: center;
}

.separator {
    font-size: 2rem;
    text-align: center;
    width: 100%;
    color: var(green1);
    margin-top: 0;
}

.instructions {
    background-color: var(--light-yellow);
    text-align: center;
    font-size: 2rem;
    padding: 2rem;
    margin-top: 2rem;
}

.email { color: var(--light-yellow); }
.email2 { color: var(--green1); font-size:2rem; }
.important { color: var(--red); }

.courses_link { 
    font-size: 2.6rem;
    font-family: var(--font1);
    color: var(--green1);
    font-weight: 600; 
}

.instructor_name {
    font-size: 2rem;
    font-family: var(--font1);
    color: var(dark);
    text-align: center;
    width: 100%;
    font-weight: 600;
    margin-top: 2rem;
}


/**********************************************/
/* INTRODUCTION SECTION  */                              
/**********************************************/
#introduction {
	background-color: var(--white);
	width: 100%;	
}


/**********************************************/
/* HOW IT WORKS SECTION  */                              
/**********************************************/
#how_it_works {
	background-color: var(--light-yellow);
	width: 100%;	
}

.icon_title {
    font-size: 1.5rem;
    font-family: var(--dark);
}

.icon_content {
    font-size: 1rem;
    font-family: var(--dark);
}

.icon_content2 {
    font-size: 1.4rem;
    font-family: var(--dark);
    font-weight: bold;
}


/**********************************************/
/* BENEFITS SECTION  */                              
/**********************************************/
#benefits {
    background-color: var(--white);
    width: 100%;    
}

/**********************************************/
/* COURSES SECTION  */                              
/**********************************************/
#courses {
    background-color: var(--green1);
    width: 100%;
    padding-left: 8rem;
    padding-right: 8rem;
    padding-bottom: 6rem;    
}

.course_box {
    background-color: var(--green4);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
    border: 12px solid var(--green4);
    text-align: center;
    min-height: 370px;
    cursor: pointer;    
}

.course_name {
    background-color: #000;
    padding: 1rem;
    opacity: .8;
}

.course_name a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font1);
}

.course_name a:hover {
    color: var(--light-yellow);
}


/**********************************************/
/* INSTRUCTOR SECTION  */                              
/**********************************************/
#instructor {
    background-color: var(--white);
    width: 100%;
    padding-left: 10rem;
    padding-right: 10rem;    
}

/**********************************************/
/* GUIDE SECTION  */                              
/**********************************************/
#guide {
    background-color: var(--white);
    width: 100%;
    padding-left: 10rem;
    padding-right: 10rem;    
}

/**********************************************/
/* CONTACT SECTION  */                              
/**********************************************/
#contact {
    background-color: var(--green1);
    width: 100%;
    padding-left: 10rem;
    padding-right: 10rem;    
}


/**********************************************/
/* FOOTER SECTION  */                              
/**********************************************/
#footer {
    background-color: var(--green1);
    width: 100%;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    padding: 4rem;    
}






/**********************************************/
/* MAIN_IMAGE SECTION  */                              
/**********************************************/
#course_image {
    background-color: #000; 
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("images/main.png");
    height: 650px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
}

#course_image_smartphone { display: none; }
#course_title_section { margin-top: 8rem; text-align: center; }
#course_logo_section { margin-top: 4rem; text-align: left; }

.course_image_title {
    font-size: 4.7rem;
    color: var(--white);
    font-family: var(--font1);
    font-optical-sizing: auto;
    font-weight: 640;
    font-style: normal; 
}

.course_image_subtitle {
    font-size: 3.5rem;
    color: var(--light-yellow);
    font-family: var(--font1);
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal; 
}


/**********************************************/
/* COURSE DESCRIPTION SECTION  */                              
/**********************************************/
#course_description {
    background-color: var(--white);
    width: 100%;    
}

/**********************************************/
/* COURSE INFORMATION SECTION  */                              
/**********************************************/
#course_information {
    background-color: var(--light-yellow);
    width: 100%;    
}

.icon_title2 {
    font-size: 1.5rem;
    font-family: var(--dark);
}

.icon_content2 {
    font-size: 1.4rem;
    font-family: var(--dark);
    font-weight: bold;
}


/**********************************************/
/* LEARNING SECTION  */                              
/**********************************************/
#learning {
    background-color: var(--white);
    width: 100%;
    padding-left: 10rem;
    padding-right: 10rem;    
}

.course_list li {
  margin-left: 2rem;
  color: var(--green2);
}


/**********************************************/
/* PROFILE SECTION  */                              
/**********************************************/
#profile {
    background-color: var(--green1);
    width: 100%;
    padding-left: 8rem;
    padding-right: 8rem;
    padding-bottom: 6rem;    
}


/**********************************************/
/* SUSCRIPTION SECTION  */                              
/**********************************************/
#suscription {
    background-color: var(--white);
    width: 100%;    
}



/**********************************************************/
/* RESPONSIVE STYLES */                             
/**********************************************************/

@media (min-width: 200px) and (max-width: 1199.9px) {
    
    body { margin-top: 6rem; }

    #header2 { display: inline; min-height: 96px;  }
    #header { display: none; }
    .header_logo { width: 37px; }

    #main_image { height: 750px; }
    #main_image_smartphone { display: inline; }

    #main_image_web { display: none; }
    #main_title_section { margin-top: 0rem; text-align: center; }

    #main_image_web_tablet { display: inline; }
    #main_title_section_tablet { margin-top: 2.6rem; text-align: center; }

    #main_logo_section { margin-top: 1rem; text-align: center;  margin-bottom:0rem; }
    #main_logo_section img { width: 70%; }
    .main_image_title { font-size: 3rem; line-height: 1.2; }
    .main_image_subtitle { font-size: 1.5rem; }

    .section_content, .section_content2, .section_content3 , .section_content4, .section_content5 { 
      font-size: 1rem;
      text-align: left;
    } 
    .section_content { width:100%; text-align:left; }
    .section_content2, .section_content3 { width:90%; text-align:left; }
    .section_title, .section_title2, .section_title3, .section_title4 {
      font-size: 1.6rem; }
    .separator { font-size: 1.5rem; }

    #courses, #instructor, #guide, #learning, #profile { 
      padding-left: 0rem;
      padding-right: 0rem;
      padding-bottom: 6rem;
     }

    #course_information .column { padding-top: 3rem; }
    #learning .column { padding-top: 2rem; text-align:left; }



    #course_image { height: 750px; }
    #course_image_smartphone { display: inline; }
    #course_image_web { display: none; }
    #course_image_tablet {display: none;}

    #course_title_section { margin-top: 0rem; text-align: center; }
    #course_logo_section { margin-top: 1rem; text-align: center; }
    #course_logo_section img { width: 70%; }
    .course_image_title { font-size: 2.6rem; line-height: 1.2; }
    .course_image_subtitle { font-size: 1.5rem; }


    .course_name a { font-size: 1rem; }

    .email { font-size: 1.2rem; color: var(--light-yellow); }
    .email2 { font-size: 1rem; color: var(--dark); }    
    .instructions { font-size: 1.2rem; color: var(--dark); }


    #footer { padding: 2rem 1rem; font-size: .8rem; }


}


@media (min-width: 769px) and (max-width: 1199.9px) {
    #course_image { height: 340px; }
    #course_image_smartphone { display: inline; }
    #course_image_web { display: none; }
    #course_image_tablet {display: inline;}
    #course_title_section { margin-top: 0rem; text-align: center; }
    .course_image_title { font-size: 2.6rem; line-height: 1.2; margin-top: 3rem; }
    .course_image_subtitle { font-size: 1.5rem; }
}



