:root {
    --nav-color: #d9dfd7;
    /* --primary-color: #e8e8e8; */
    --primary-color: #e3e4e6;
    --secondary-color: #e8e8e8;
    --green-kenko: #003709
}

@font-face {
    font-family: roboto;
    src: url("fonts/roboto/Roboto-Regular.ttf");
}

* {
    font-family: "roboto", sans-serif;    
    margin: 0;
}

/* nav code */

nav {
    background: var(--nav-color);
    position: fixed;
    top: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 7fr 3fr;
    justify-content: space-around;
    align-items: center;
    justify-items: center;
    min-height: 11vh;
    font-family: "roboto", sans-serif;
}
.navbar-brand img{
    width: 90%;
}
.logo {
    display: grid;
}
.dist_auto {
    padding-left: 17%;    
    font-size: 10px;
}

.nav-links {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 20px;
    justify-content: space-around;
    width: 30%;
}

.nav-links li {
    list-style: none;
    /* border-right: 3px transparent darkgray;
    border-left: 3px transparent darkgray; */
    border-width: 2px;
    padding-left: 5px;
    padding-right: 4px;
}

.nav-links a, .nav-links .subnavbtn {
    color: #414833;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 16px;    
}
.nav-links a:hover {
    opacity: 75%;
}

.contact{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 8fr;
    grid-gap: 10px;
}
.contact a{
    align-self: center;
}
.contact img {
    max-height: 20px;
}
.contact-phone {
    padding-left: 10px;
    font-size: 14px;
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.contact img:hover {
    opacity: 85%;
}

/* subnav */
/* The subnavigation menu */
.subnav {
    float: left;
    overflow: hidden;
  }
  
  /* Subnav button */
  .subnav .subnavbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: #414833;
    /* padding: 14px 16px; */
    background-color: inherit;
    font-family: inherit;
    /* margin: 0; */
  }
  
  /* Add a red background color to navigation links on hover */
  /* .navbar a:hover, .subnav:hover .subnavbtn {
    background-color: red;
  } */
  
  /* Style the subnav content - positioned absolute */
  .subnav-content {
    display: none;
    position: absolute;    
    /* top: 1.5em; */
  }
  
  /* Style the subnav links */
  .subnav-content a {
    /* float: left; */    
    color: #414833;
    text-decoration: none;
    /* padding-top: 30px; */
    margin-top: 20px;
    margin-left: 11px;
    padding-bottom: 3px;
    padding-right: 10px;
    font-size: 14px;
  }
  
  .subnav-content .trav{
      letter-spacing: 1px;
      margin-left: 7px;
      padding-bottom: 10px;
  }

  /* Add a grey background color on hover */
  .subnav-content a:hover {
    /* background-color: #414833; */
    /* color: black; */
    opacity: 75%;
  }
  
  /* When you move the mouse over the subnav container, open the subnav content */
  .subnav:hover .subnav-content {
    display: grid;
    background: var(--nav-color);
    /* left: 0; */
  }


/* end nav */

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows:     4fr 
    /* grid-template-rows:     5fr */
                            3.7fr   /*kenko light*/
                            1.3fr   /*stamps*/
                            4fr     /*comparacao*/
                            4fr     /*thumbs*/                            
                            1.5fr     /*vantagens*/
                            0.7fr;    /*footer*/
    grid-template-areas: 
        /* "nav nav nav nav nav nav" */
        "banner banner banner banner banner banner"
        "foto-kenko-light foto-kenko-light foto-kenko-light info-kenko-light info-kenko-light info-kenko-light"
        "icone1 icone2 icone3 icone4 icone4 icone5"
        "comparacao comparacao comparacao comparacao comparacao comparacao"
        "minicolchoes minicolchoes minicolchoes minicolchoes minicolchoes minicolchoes"
        "vantagem1 vantagem1 vantagem2 vantagem2 vantagem3 vantagem3"
        "footer footer footer footer footer footer";
    /* grid-gap: 0.3rem;     */
    margin-top: 11vh;
}

/* banner */
#banner {
    grid-area: banner;
    align-items: center;
    justify-content: center;
    display: flex;  
    background: var(--secondary-color);
    /* border-bottom: 5px solid;
    border-color: #5C6B73; */
    /* border-top: 10px solid; */
}

.mySlides {
    /* height: 70%; */
    max-width: 100%;
    border: 5px transparent;
    /* border-radius: 10px; */
    /* border-color: #5C6B73; */
}

/* end banner */

/* KENKO LIGHT */
#info-kenko-light {
    grid-area: info-kenko-light;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;    
}
#info-kenko-light .texto p,  #info-kenko-light .texto h1{
    margin: 20px;
}
#foto-kenko-light {
    grid-area: foto-kenko-light;
    background: var(--secondary-color);
    display: flex;
    justify-content: left;
    align-items: center;
    /* padding: 10px */
}

#foto-kenko-light img {
    width: 100%; 
    height: auto;   
}
/* KENKO LIGHT FIM*/

/* stamps area */

#icone1 {
    grid-area: icone1;
}

#icone2 {
    grid-area: icone2;
}

#icone3 {
    grid-area: icone3;
}

#icone4 {
    grid-area: icone4;
}

#icone5 {
    grid-area: icone5;
}

.selos{
    display: flex;
    align-items: center;
    justify-content: center;  
    /* background: var(--secondary-color);   */
}

.selos img {
    /* height: 150px; */
    width: 45%;
    height: auto;
}

/* end stamps */

/* comparacao */
#comparacao {
    grid-area: comparacao;
    /* background: var(--primary-color); */
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#comparacao img {
    /* max-height: 80%; */
    width: 60%;
}

/* end comparacao */

/* minicolchoes */

#minicolchoes {
    grid-area: minicolchoes;
    background: var(--secondary-color);
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr 1.5fr;    
    /* border-bottom: 1px solid;
    border-color: #5C6B73; */
}
.mini-colchao {
    display: grid;
    grid-template-rows: 3fr 0.5fr 1.7fr 0.3fr;
    align-items: center;
    justify-items: center;
    /* max-width: 250px; */
    
}
.mini-colchao .image{
    max-width: 300px;
    align-self: end;
    text-decoration: none;
}
.mini-colchao a {
    text-decoration: none;
    color: var(--green-kenko);
}

.mini-colchao img {
    max-width: 300px;
    align-self: end;
    /* position: static; */
}
.mini-colchao a:hover {
    opacity: 70%;
}
.mini-colchao h1 {
    font-family: sans-serif;
    font-size: 1em;
    max-width: 250px;  
    /* padding-top: 10px;
    padding-bottom: 10px; */
    color: #003709;  
}
.mini-colchao .texto_thumb{
    font-family: sans-serif;
    /* font-size: 1em; */
    text-align: justify;
    max-width: 250px;    
}
.mini-colchao h1{
    text-align: justify;
}
.mini-colchao .seta {
    font-size: 28px;    
    max-width: 250px;
    display: grid;
    /* justify-self: end; */
    /* padding-right: 20%; */
}

.mini-colchao .seta:hover{
    opacity: 70%;
}
.em-estoque {
    display: none;
    position: relative;
    top: 25px;
    left: 10px;
    color: white;
    background: var(--green-kenko);
    max-width: 90px;
    padding-left: 3px;

}

/* minicolchoes fim */

/* vantagens */
#vantagem1 {
    grid-area: vantagem1;
}

#vantagem2 {
    grid-area: vantagem2;
}

#vantagem3 {
    grid-area: vantagem3;
}

.vantagem {
    background: var(--secondary-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    font-size: 1.3rem;
    color: #003709;
}
.vantagem img {
    height: 65px;
    justify-self: end;
}
.vantagem .legenda {
    justify-self: start;
    padding-left: 20px;
}

/* vantagens fim */

/* footer */

footer {
    grid-area: footer;
    background: var(--nav-color);
    display: grid;
    align-items: center;
    justify-items: center;
    font-size: 1rem;
    color: #003709;
}
footer .content {
    display: grid;
    align-items: center;
    justify-items: center;    
}
footer .content .social-media img{
    max-width: 25px;
    padding: 2px;
    padding-top: 8px;
}

footer .content .social-media img:hover{
    opacity: 85%;
}

/* end footer */

/* whatsapp button */
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}
/* whatsapp fim */

.footer {
    height: 13vh;
}