/*
    #404040
*/

body {
    font-family: roboto;
    overflow: hidden;
}

.container {
    /*background-color: #404040; */
    display: flex;
    height: 100vh;
    flex-direction: column;
}

.margin--6px {
    margin: 6px;
}

.container--top {
    display: flex;
    height: 60px;
    align-items: center;
    gap: 20px;
    font-size: 15px;
}

.color {
    color: #404040;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline solid #404040;
}

.lampshade--png {
    height: 28px;
}

.image--lampshade {
    height: 40px;
    width: 40px;
    background-color: #404040;
    border-radius: 50px;
}

.apps--png {
    height: 22px;
}

.image {
    height: 40px;
    width: 40px;
}

.image:hover {
    border-radius: 50px;
    transition: 0.6s;
    background-color: #4343435f;
}

.login {
    margin-right: 15px;
    font-size: 15px;
    color: #ffffff;
    background-color: rgb(48, 103, 254);
    border: none;
    height: 40px;
    width: 100px;
    border-radius: 20px;
}

.login:hover {
    box-shadow: 0 0.1px 2px #404040;
    background-color: rgb(58, 109, 249);
}

.container--middle {
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.container--google {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container--google img {
    height: 92px;
}

.input--area {
    margin-top: 20px;
    border: solid 1px #40404035;
    height: 50px;
    border-radius: 25px;
    width: 500px;
}

.text--area {
    outline: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.search {
    height: 20px;
    margin-left: 8px;
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) hue-rotate(30deg);
}

input {
    border: none;
}

.svg--middle {
    display: contents;
}

.keyboard {
    height: 13px;
    margin: 0 15px;
}

.height--25 {
    height: 25px;
    margin-right: 15px;
}

.center {
    margin: 30px;
}

.center button {
    height: 35px;
    font-size: 15px;
    margin: 0 5px;
    padding: 0 15px;
    border: 1px solid #40404000;
    background-color: #f8f8f8;
}

.center button:hover {
    border: 1px solid #4040401c;
}

.container--bottom {
    height: 100vh;
    justify-content: end;
}

.sub--footer {
    margin: 5px 30px;
    font-size: 15px;
}

.underline {
    width: 100%;
    border-top: 1px solid #4040403a;
    margin: 10px 0px;
}

.footer {
    margin: 10px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

/* Variáveis para o tema light */
:root {
    --bg-color: #ffffff;
    --text-color: #404040;
    --button-bg: #f8f8f8;
    --button-hover: #4040401c;
    --input-border: #40404035;
    --icon-filter: brightness(0) saturate(100%) invert(50%) sepia(100%) hue-rotate(30deg);
    --login-bg: rgb(48, 103, 254);
    --login-hover: rgb(58, 109, 249);
    --login-bg: rgb(48, 103, 254);
    --login-text: #ffffff;
    --lampshade-bg: #404040;
    --hover-bg: #4343435f;
  }
  
  /* Variáveis para o tema dark */
  .dark-mode {
    --bg-color: #202124;
    --text-color: #e8eaed;
    --button-bg: #303134;
    --button-hover: #3c4043;
    --button-text: #e8eaed;
    --input-border: #5f6368;
    --icon-filter: brightness(0) saturate(100%) invert(100%);
    --login-bg: #c3c3c3;
    --login-hover: #d1d1d1;
    --login-bg: #c3c3c3;
    --login-text: #000000;
    --lampshade-bg: #c3c3c3;
    --hover-bg: #5f636833;
  }
  
  /* Aplicando as variáveis */
  body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .color {
    color: var(--text-color);
  }
  
  a:hover {
    text-decoration: underline solid var(--text-color);
  }
  
  .image--lampshade {
    background-color: var(--lampshade-bg);
  }
  
  .image:hover {
    background-color: var(--hover-bg);
  }
  
  .login {
    background-color: var(--login-bg);
    color: var(--login-text);
  }
  
  .login:hover {
    background-color: var(--login-hover);
  }
  
  .input--area {
    border: solid 1px var(--input-border);
  }
  
  .search {
    filter: var(--icon-filter);
  }
  
  .center button {
    background-color: var(--button-bg);
    color: var(--button-text);
  }
  
  .center button:hover {
    border: 1px solid var(--button-hover);
  }

  .dark-mode .text--area {
    background-color: var(--bg-color);
    color: var(--text-color);
    outline: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
  }

  @media (max-width: 530px){
    .container--google img {
        height: 70px;
    }

    .input--area {
        height: 40px;
        width: 390px;
    }

    .text--area {
        font-size: 15px;
    }

    .search {
        margin-left: 10px;
        height: 17px;
    }

    .keyboard {
        display: none;
    }

    .height--25 {
        height: 20px;
        margin-left: -5px;
    }

    .center {
        margin: 15px;
    }
}

  /* MOBILE */
  @media (max-width: 435px) {
    .container--top {
        height: 50px;
        gap: 10px;
        font-size: 14px;
    }

    .container--google img {
        height: 70px;
    }

    .container--middle {
        margin-top: -100px;
    }

    .input--area {
        height: 30px;
        width: 300px;
    }

    .text--area {
        font-size: 13px;
    }

    .search {
        margin-left: 10px;
        height: 16px;
    }

    .keyboard {
        display: none;
    }

    .height--25 {
        height: 18px;
        margin-left: -5px;
    }

    .center {
        margin: 15px;
    }
    
    .center button {
        height: 30px;
        font-size: 12px;
    }

    .container--bottom {
        display: none;
    }

}
