@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,100;0,300;0,400;0,600;0,700;1,100;1,300;1,400;1,600&family=Mulish:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root{
    --font-primary: "Baloo Da 2", Serif;
    --font-secundary: "Josefin Slab", Serif;
    --font-action: "Muli", Serif;
}

header{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.img-wrapper{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color:  rgba(0, 0, 0,0.9);
}

.img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    animation: zoom 20s;
}

@keyframes zoom {
    0%{
        transform: scale(1.3);
    }
    100%{
        transform: scale(1);
    }
}

.banner{
    position: absolute;
    top: 30%;
    left: 10%;
}

@keyframes moveBanner{
    0%{
        transform:translateY(10rem) rotateY(-30deg);
    }
    100%{
        transform: translateY(0) rotateY(0);
        opacity:1;
    }
}

.hamburguer{
    width: 2rem;
    height: 2rem;
    position: fixed;
    z-index: 100;
    right: 2rem;
    top: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
}

.banner h1{
    color: #ffff;
    font-size: 3rem;
    font-family: var(--font-primary) ;
    font-weight: 200;
    text-shadow: .3rem .3rem 2px rgba(0, 0, 0,.1);
    line-height: 4rem; 
    animation: moveBanner 1s 0.5s forwards;
    opacity: 0;
}

.banner p{
    font-family: var(--font-primary);
    color: rgb(162, 159, 159);
    font-size: 2rem;;
    text-shadow: .2rem .3rem 2px rgba(0, 0, 0,.2);
    margin-bottom: 2rem;
    animation: moveBanner 1s 0.7s forwards;
    opacity: 0;
}

.banner button{
    font-family: var(--font-action);
    color: rgba(255, 255, 255, 0.686);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: .1rem;
    padding: 0.5rem 3rem;
    border: none;
     background: #8E2DE2;  
    background: -webkit-linear-gradient(to left, #4A00E0,#8E2DE2);  
    background: linear-gradient(to left, #4A00E0,#8E2DE2); 
    border-radius: 5px;
    cursor: pointer;
    animation: moveBanner 1s 0.8s forwards;
    opacity: 0;
}
.banner button:hover{
    opacity: 0.7;
}


.sidebar{
    width: 20rem;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0; 
    right: -20rem; 
    transition: all 1s;
    z-index: 20;
    border-left: 1px solid #8E2DE2;
}

.show-menu .sidebar{
     right: 0; 
}
.show-menu .hamburguer{
    right: 16rem;
}

.hamburguer span{
    position: absolute;
    left: 3rem;
    background-color: #8E2DE2;
    height: 2rem;
    width: 6rem;
    font-size: 1.2rem;
    border-radius: 3px;
    font-weight: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: var(--font-action);
    opacity: 0;
}

.show-menu .hamburguer:hover span{
    opacity: 1;
}

.menu{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-item{
    text-align: center;
    margin-bottom: .5rem;
}

.line{
    width: 100%;
    height: .1rem;
    background-color: #ffff;
    box-shadow: 0.1rem 0.1rem 1px #000;
    transition: transform 1s;
}


.show-menu #line1{
    transform: rotate(45deg) translate(.2rem, .4rem);
}
.show-menu #line2{
    opacity: 0;
}
.show-menu #line3{
    transform: rotate(-45deg) translate(.2rem, -.50rem);
}

.menu-link{
    font-family: var(--font-action);
    font-size: 2rem;
    color: #555;
    transition: color 0.5s;
}

.menu-link:hover{
    color: #8E2DE2;
   
}

.social-media{
    position: absolute;
    bottom:  2rem;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.social-media i {
    background-color: #5d2982;
    color:  #ffff;
    height: 2.5rem;
    width: 2.5rem;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 1s;
}

.social-media i:hover{
    background-color:#9e3bf4 ;
} /*=========================================== FIM HEADER */


/* =========================== slider section starts here  */

.container-slide {
    width: 95%;
    margin:4rem auto;
  }
  .carousel {
    border: 2px solid #9e3bf4;
    height: 31.5rem;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
   

  }
  .slider {
    display: flex;
    height: 100%;
    width: 500%;
  }
  .slider section {
    flex-basis: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 20px;
  }
  .left, .right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .arrow i {
    font-size: 70px;

    color:  #9e3bf4;
  }
  .left {
    left: 10px;
  }
  .right {
    right: 10px;
  }
  .control ul {
    list-style: none;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin: 0;
    padding: 0;
    transform: translate(-50%);
  }
  .control ul li {
    width: 10px;
    height: 10px;
    background: #333;
    border: 2px solid #333;
    border-radius: 50px;
    margin: 10px;
    cursor: pointer;
  }
  .control ul li.selected {
    background: transparent;
  }
  
/* ===========fim Slide section  */

/* =================== IMC CONFIG */

.content{
    font-family: var(--font-primary);
    background-color: #fff;
    width: 17rem;
    height: 26rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:  2px 3px 5px 4px rgba(0, 0, 0, 0.228);
}

.content h1 {
    margin: 1rem;
}

label{ 
    margin-right: 0.9rem;
    font-size: 0.9rem;

}
input{
    border-top: none;
    border-left: none;
    border-right: none;
     width: 9.2rem; 
}

#peso{
    margin-left: 0.4rem;
}

.inp-div{
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

#calcular{
    padding: 0.1rem;
    font-size: 1.1rem;
    width: 8rem;
    background: linear-gradient(90deg, rgba(117, 3, 109, 0.694) 0%, rgba(0, 44, 53, 0.842) 100%);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-primary);
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
    box-shadow:  1px 1px 8px 3px rgba(0, 0, 0, 0.335);
}

#calcular:hover{
    background: linear-gradient(90deg, rgba(171, 7, 160, 0.694) 0%, rgba(8, 109, 129, 0.842) 100%);
}

textarea:focus, input:focus{
    box-shadow: 0 0 0 0;
    outline: 0;
}

#resultado{
    font-weight: bold;
    font-size: 1rem;
    padding: 0.3rem;
    letter-spacing: 0.1rem;
    text-align: center;
    width: 13rem;
    height: 8rem;
    margin-top: 1rem;
    background-color: rgba(128, 128, 128, 0.249);
    color: white;
    box-shadow:  1px 1px 6px 2px rgba(0, 0, 0, 0.204); 
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.409) ;
    display: flex;
    flex-wrap: wrap;
    
}

/* ============ FIM IMC  */

/* ===========START LAMPADA CONFIG */

.section-lampada{
    display: flex;
    flex-direction: column;

}
#turnOn , #turnOff{
    width: 70px;
    height: 40px;
    border-radius: 10px;
    font-weight: bolder;
    font-size: 0.9em;
    border: none;
    box-shadow: 1px 1px 1px 2px rgba(0, 0, 0, 0.123);
    margin: 5px;
}

#turnOn{
    background-color: rgba(32, 210, 32, 0.589);
    color: white;
}

#turnOff{
    background-color: rgba(215, 38, 38, 0.637);
    color: white;
}

#turnOn:hover{
    background-color: green;
}

#turnOff:hover{
    background-color: red;
  
}

.botao{
    display: flex;
    justify-content: center;
    align-items: center;

}

.titulo-projetos{
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2.3rem;
    text-decoration: overline 1px;

}

/*  =========== END LAMPADA */

/* ========== START CALCULADORA  */

.calculator-wrap {
    display: flex;
    justify-content: center;
    width: 14.5rem;
    background-color: #b1ff21c3;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 0 15px black;
}

.display{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 60px;
    margin-bottom: 12px;
    padding: 4px;
    background-color: black;
    color: white;
    font: normal 3rem serif;
    overflow: hidden;
    border-radius: 5px;
}

.calculator-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
}

.calculator-buttons button {
    width: 3rem;
}

.calculator button{
    width: 3.1rem;
    background-color: black;
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    outline: none;
    cursor: pointer;
    border: 2px solid black;
}

button:hover{
    background-color: #b1ff21c3;
    color: black;
}

 .output > .previous-operand {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    position: relative, fixed;
    right: 6rem;
  } 



/* ========== START QRCODE  */



.qrcode-section{
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;

}

#titulo-qr{
    font-size: 1.2em;
    font-weight: bolder;
    margin-bottom: 15px;
    color: rgb(139, 0, 177);
  
}

.container-form-qr{
    display: flex;
    flex-direction: column;
    height: 420px;
    width: 310px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    border: 2px rgb(200, 0, 255) solid; 
    box-shadow: rgba(0, 0, 0, 0.223) 5px 2px 15px 1px;;

}

.input-container-qr{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100px;   
}

.input-qr{
    width: 200px;
    height: 38px;
    border-radius: 10px;
    border: solid 0.2em rgb(153, 75, 154);
 
}

.input-qr::placeholder {
    color: rgba(93, 93, 93, 0.39);
    font-weight: bold;
    padding-left: 8px;

  }

.img-qrcode{
    width: 165px;
    height: 165px;
    margin: 10px;
    border: solid 2px rgb(200, 0, 255) ;
}

.botao-qr{
    font-size: 0.9em;
    background-color: rgba(255, 255, 255, 0.864);
    box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.28);
    text-transform: uppercase;
    width: 100%;
    padding: 4px 4px;
    font-weight: 500;
    border-radius: 20px;
    max-width: 100px;
    margin-top:5px;
    border-color: #8E2DE2;
     
    
}

.botao-qr:hover {
    background-color: rgb(200, 0, 255);
    color: rgb(255, 255, 255);
}






 


































