@import '../global/global.css';

body{
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

main{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    background: radial-gradient(circle,rgba(255, 255, 255, 1) 0%, rgba(199, 199, 199, 1) 100%);
}

main.act{
    background: radial-gradient(circle,rgba(77, 77, 77, 1) 0%, rgba(31, 31, 31, 1) 100%);
}

.theme-button{
    /* adjust as you want, but remember, the scale is 13px * 6px */
    width: 195px; 
    height: 90px;
    /* border-radius and the height are the same */
    border-radius: 90px;
}

.Light-Dark-Button{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 3px solid #000;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 90px; /* same from the height above */
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: .3s;
}
.Light-Dark-Button.ative{
    border: 3px solid #f4f4f4;
}

.Light-Dark-Button:hover, .Light-Dark-Button:hover{
    cursor: pointer;
    transform: scale(1.02);
}

.Light-Dark-Button .selector{
    content: "";
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 5px;
    left: 5px;
    transition: .3s;
    z-index: 3;
}

.Light-Dark-Button .selector.activate{
    background-color: #f4f4f4;
    left: 109px;
}

.Light-Dark-Button .moon{
    display: none;
    content: "";
    width: 74px;
    height: 74px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 6px;
    box-shadow: inset -23px -7px 0 #958300;
    transition: .3s;
}
.Light-Dark-Button .moon.act{
    display: inline;
}

.Light-Dark-Button .sun{
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #ffc400;
  box-shadow: 0 0 13px rgba(255, 196, 0, 0.803);
  transition: .3s;
}
.Light-Dark-Button .sun.act{
    display: none;
}

.content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
}

.botao{
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background-color: #303030;
    position: relative;
    transition: .3s;
}

#aumentar::after{
    content: "";
    width: 40px;
    height: 4px;
    background-color: #f7f7f7;
    position: absolute;
    left: 10px;
    top: 28px;
    border-radius: 3px;
}
#aumentar::before{
    content: "";
    height: 40px;
    width: 4px;
    background-color: #f7f7f7;
    position: absolute;
    left: 28px;
    top: 10px;
    border-radius: 3px;
}

#diminuir::after{
    content: "";
    width: 40px;
    height: 4px;
    background-color: #f7f7f7;
    position: absolute;
    left: 10px;
    top: 28px;
    border-radius: 3px;
}

.botao.maximum{
    background-color: #51515157;
}
.botao.maximum.act{
    background-color: #7373736b;
}
.botao.act{
    background-color: #f7f7f7;
}
#aumentar.act::after, #aumentar.act::before, #diminuir.act::after{
    background-color: #303030;
}

.tituloPrincipal.act{
    color: #f4f4f4;
}

@media(max-width:700px){
    body{
        height: 100vh;
        grid-template-columns: 1fr;
        font-size: 12px;
    }
    main{
        height: 400px;
    }
}

@media(max-width:900px){
    .content{
        width: 96%;
    }
}

@media(max-width:530px){
    body{
        font-size: 10px;
    }
}

@media(max-width:390px){
    .content{
        flex-direction: column;
        gap: 30px;
    }

    .tituloPrincipal{
        bottom: 15px;
    }
}