:root {
    --color-titulos: rgb(0, 160, 139);
    --texto-formulario: rgb(133, 133, 133);
    --texto-parrafos: rgb(56, 56, 56);
    --texto-citas: rgb(167, 167, 167);
}

html{
    box-sizing: border-box;
    height: 100%;
    /* font-family: Optima,Segoe,Segoe UI,Candara,Calibri,Arial,sans-serif;  */
    font-family: Calibri; 
}
*, *:before,*:after{
    box-sizing: inherit;
}
*{
    margin: 0;
    padding: 0;
}
body{
    margin: 0;
    padding: 0;
    /* background-color: #f6f5f3; */
    background-image: url('../img/fondo.jpg');
    /* background-position: center; */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
}
a{
    text-decoration: none;
    color: #5a5a5a;
}
p{
    color: #5a5a5a;
    font-size: 15pt;
}
h1{
    color: #5a5a5a;
}


/* Body ------------------------------------------------------- */

.container_gral {
  display: grid; 
  grid-template-columns: 1fr 1024px 1fr; 
  grid-template-rows: auto auto auto auto auto; 
  gap: 0px; 
  grid-template-areas: 
    ". header ."
    ". hero ."
    "left_courses courses right_courses"
    ". about ."
    "footer footer footer"; 
}

/* fixed ------------------------------------------------------- */

.background_navbar {
  overflow: hidden;
  background-color: #ffffff;
  opacity: 0;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100%; /* Full width */
  height: 60px;
}

/* header ---------------------------------------------------------- */

.header { 
    grid-area: header; 
    height: 60px;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto 70px;
    grid-template-rows: auto; 
    gap: 0px;
    grid-template-areas: "logo search . . . . . navbar login";
}

.logo{
    display: flex;
    padding-top: 10px;
    grid-area: logo;
    position: fixed;
}
.logo img{height: 40px;}

.navbar{
    /* background-color: azure; */
    grid-area: navbar;
    height: 60px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: normal;
}

.navbar ul, .navbar li {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.navbar ul{
    display: flex;
    position: fixed;
}

.navbar li{
    margin: 20px;
    list-style: none;
    display: inline-block;
    font-size: 20pt;
    font-weight: bold;
    /* position: relative; */
}

.navbar ul li a{
    margin: 0;
    padding: 0;
}

.header .login{
    grid-area: login;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-left: 10px; */
    /* position: fixed; */
}

.header button {
  background-color: #24d4a0;
  color: white;
  font-size: 15pt;
  padding: 5px 10px;
  margin: 8px 0;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  width: auto;
  height: 40px;
  /* z-index: -1; */
  position: fixed;
  transition: 0.3s;
}

.header button:hover{
    background-color: #1b8f6c;
}


/* hero ---------------------------------------------------------- */

.hero { 
    grid-area: hero; 
    height: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
    grid-template-rows: 500px; 
    gap: 0px;
    grid-template-areas: "slogan slogan slogan slogan slogan slogan slogan slogan";
    /* grid-template-areas: "slogan slogan slogan slogan . . img img img"; */
}

.slogan{
    grid-area: slogan;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: left; */
}

.slogan .frase{
    font-size: 4rem;
    text-align: center;
}


/* .image img{
    grid-area: img;
    height: 650px;
} */

/* courses ---------------------------------------------------------- */
.left_courses{
    grid-area: left_courses;
    display: grid;
    grid-template-rows: 292px auto;
    grid-template-columns: auto;
    grid-template-areas: "."
                         "left_cards";
}
.left_courses .left_cards{
    grid-area: left_cards;
    /* background-image: url(../websiteLIA/home/static/home/img/back_cards.jpg); */
}
.right_courses{
    grid-area: right_courses;
    display: grid;
    grid-template-rows: 292px auto;
    grid-template-columns: auto;
    grid-template-areas: "."
                         "right_cards";
}
.right_courses .right_cards{
    grid-area: right_cards;
    /* background-image: url(back_cards.jpg); */
}

.courses { 
    grid-area: courses; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.courses .separata{
    display: flex;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 40px;
}

.courses .description_courses{
    width: 800px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.description_courses .title_courses{
    text-align: center;
    color: #4f8ec9;
    margin-bottom: 10px;
    font-size: 30pt;
}

.description_courses p{
    text-align: center;
    margin-bottom: 20px;
}

.courses .cards{
    display: grid;
    grid-template-columns: auto 280px 20px 280px 20px 280px auto;
    grid-template-rows: auto 310px 100px 310px auto;
    grid-template-areas: ". . . . . . ."
                         ". card1 . card2 . card3 ."
                         ". conection conection conection conection conection ."
                         ". . . ml . . ."
                         ". . . . . . .";
    /* background-image: url(back_cards.jpg); */
    background-repeat: repeat-x;
    align-items: center;
    height: 800px;
    width: 1024px;
}

.card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 280px;
    height: 310px;
    /* background-color: #ffffff; */
    border-radius: 10px;
    transition: 0.1s;
}

.card1{
    grid-area: card1;
    background-color: #c5f5fc;
}

.card:hover {
    border: 3px solid rgb(54, 54, 54);
}


.card2{
    grid-area: card2;
    background-color: #fcf7c5;
}
.card3{
    grid-area: card3;
    background-color: #c7fcc5;
}

.card img{
    width: 260px;
}
.card h1{
    font-size: 18pt;
    text-align: center;
    margin-top: 3px;
    margin-bottom: 3px;
}
.card p{
    text-align: justify;
    font-size: 11pt;
    margin-left: 10px;
    margin-right: 10px;
}

.cards .conection{
    grid-area: conection;
    display: flex;
}

.cards .card_ML{
    grid-area: ml;
    border-radius: 10px;
    /* background-color: #8d8d8d; */
    background-image: url('../img/back_card_ml.jpg');
}

/* about ---------------------------------------------------------- */
.about { 
    grid-area: about; 
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

.about .separata{
    display: flex;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 20px;
}

.about h1{
    font-size: 20pt;
}
.about p{
    text-align: justify;
}

.about .description_about{
    width: 800px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.about .title_about{
    text-align: center;
    color: #e66868;
    margin-bottom: 10px;
    font-size: 30pt;
}

.description_about p{
    text-align: center;
    margin-bottom: 20px;
}

.about .image_about{
    margin: 40px;
}


/* footer ---------------------------------------------------------- */
.footer { 
    grid-area: footer; 
    background-color: #274663;
    height: 200px;
    display: grid;
    grid-template-columns: auto 186px 194px 194px 150px 150px 150px auto;
    grid-template-rows: 40px auto 40px auto;
    grid-template-areas: ". . . . . . . ."
                         ". logo . . menu1 menu2 menu3 ."
                         ". . . . . . design ."
                         ". . . . . . . .";
}

.footer .logo_footer{
    grid-area: logo;
}

.footer .menu1{
    grid-area: menu1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: first baseline;
}
.footer .menu2{
    grid-area: menu2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: first baseline;
}
.footer .menu3{
    grid-area: menu3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: first baseline;
}

.footer .design_by{
    grid-area: design;
    display: flex;
    justify-content: right;
    align-items: center;
}

.design_by .p_desing_by{
    font-size: 15px;
    color: #f3f3f3;
}

.footer .title_menu{
    font-size: 18pt;
    color: #f3f3f3;
}
.footer a{
    color: #f3f3f3;
}






/* temario ---------------------------------------------------------------------------------- */

/* #select_check:checked ~ * .menu_lateral{
    visibility: visible;
} */

#menu_lateral{
    position: absolute;
    /* visibility: hidden; */
    transform: translateX(-100%);
    /* transform: translateY(60%); */
    transition-duration: 0.5s;
}

