/*
https://fonts.googleapis.com/css2?family=Honk&family=Nabla:EDPT,EHLT@193,22&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap
https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap
*/

/**/

 
@import url("https://fonts.googleapis.com/css2?family=Honk&family=Nabla:EDPT,EHLT@193,22&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");


* {
  margin: 0;
  box-sizing: border-box;
  user-select: none;
}

html {
  font-size: 62.5%;
}

:root {
  --container-height: 90%;
  --container-width: 90%;
  --component-background: rgba(0, 0, 0, 0.45);
}

body {
  background: url('../img/bg72.jpg');
  background-size: cover;
  background-attachment: fixed;
  display: block;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Ubuntu", sans-serif;
}

@mixin windowButton($color) {
  width: 1.5rem;
  height: 1.5rem;
  background: $color;
  display: inline-block;
  border-radius: 50%;
  transition: 0.3s ease;
  &:hover {
    transform: scale(1.2);
  }
}

.container {
  background: rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  backdrop-filter: blur(30px);
  border-radius: 15px;
  
   
  position: relative;
}

header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 30px;
  position: relative;
}

section.window--buttons {
  position: absolute;
  top: 15px;
  left: 15px;
  .window__close {
    @include windowButton(#f00);
  }

  .window__minimize {
    margin-left: 5px;
    @include windowButton(#f57c00);
  }

  .window__maximize {
    margin-left: 5px;
    @include windowButton(#4caf50);
  }
}

aside {
  overflow: scroll;
  height: 90%;
  margin-top: 20px;
  float: left;
  width: 200px;
  position: sticky;
  top: 0;
  button {
    display: block;
    margin-top: 7px;
    margin-left: 15px;
    padding: 0.7rem 4rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    background: none;
    width: 170px;
    border-radius: 10px;
    border: 0;
    color: white;
    transition: 0.2s ease;
    cursor: pointer;
    &:hover {
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(20px);
    }
    &.active {
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(20px);
    }
  }
  input[type="text"] {
    font-size: 1.5rem;
    width: 170px;
    margin-left: 15px;
    padding: 0.9rem;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    border: 0;
    outline: 0;
    text-align: center;
    transition: 0.3s ease;

    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;

    &::-webkit-input-placeholder {
      text-align: center;
    }

    &:-moz-placeholder {
      /* Firefox 18- */
      text-align: center;
    }

    &::-moz-placeholder {
      /* Firefox 19+ */
      text-align: center;
    }

    &:-ms-input-placeholder {
      text-align: center;
    }
  }
  .profile {
    position: absolute;
    left: 15px;
    display: flex;
    bottom: 15px;
    align-items: center;
    .profile--pic {
      width: 4rem;
      border-radius: 50%;
    }
    h1 {
      color: #fff;
      font-weight: 400;
      margin-left: 10px;
      font-size: 1.3rem;
    }
  }
}

.content {
  color: white;
  padding: 15px;
  border-radius: 30px;
  height: 90%;
  margin-right: 20px;
  margin-top: 20px;
   
  .ideas {
    display: flex;
    .idea {
      background: none;
      width: 100%;
      padding: 20px;
      border-radius: 20px;
      backdrop-filter: blur(20px);
      transition: 0.3s ease;
      &:nth-of-type(2) {
        margin-left: 15px;
      }
      
      &:hover {
        transform: scale(1.06);
      }
    }
  }

  .updates {
    margin-top: 20px;
    h1:nth-of-type(1) {
      font-size: 2.2rem;
    }

    .update {
      width: 100%;
      background: var(--component-background);
      padding: 1.3rem 0.7rem;
      border-radius: 10px;
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: 0.4s ease;
      &:hover {
        transform: scale(1.03);
      }
      .updt-left {
        display: flex;
        align-items: center;
        h1 {
          font-size: 1.7rem;
          margin-left: 10px;
        }

        img {
          width: 35px;
        }
      }

      .buttons {
        button {
          background: none;
          color: dodgerblue;
          border: 0;
          font-size: 1.6rem;
          transition: 0.2s ease;
          cursor: pointer;
          font-family: "Poppins", sans-serif;
          &:hover {
            color: blue;
          }
        }
      }
    }
  }

  .trending {
    margin-top: 20px;
    h1:nth-last-of-type(1) {
      font-size: 2.2rem;
    }

    .grid {
      display: grid;
      grid-template-rows: repeat(4, 25%);
      grid-template-columns: 25% 25% 25% 25%;
      margin-top: 10px;
      gap: 5px;
      .grid__app {
        background: var(--component-background);
        padding: 13px;
        display: inline-block;
        display: flex;
        height: fit-content;
        border-radius: 10px;
        justify-content: space-between;
        &.margin {
          margin-top: 20px;
        }
        h1 {
          font-size: 1.7rem;
        }
        button {
          background: dodgerblue;
          color: #fff;
          border: 0;
          outline: 0;
          border-radius: 30px;
          width: 30%;
          cursor: pointer;
        }
      }
    }
  }

  .links {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(2, 50%);
    a {
      text-align: center;
      color: #fff;
      font-size: 1.4rem;
      &:nth-of-type(3),
      &:nth-of-type(4) {
        margin-top: 7px;
      }
    }
  }
}

@media (max-width: 768px) {
  .content .trending .grid {
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(4, 25%);
  }
  aside {
    display: none;
  }

  .links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
  }
}

.idea {
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.idea h2{
  position: absolute;
  left:90px;
  top:40px;
  font-size: 26px;
}
.ideabox{
  height:250px;
}
.ideaimg{
  width:50px;
}
img.special {
    height: 200px;
    right: 1px;
    bottom: 2px;
    position: absolute;
    border-radius: 20px;
}
p.here{
  font-size: 16px;
  color: #efefef;
  text-align: right;
  position: absolute;
  right: 15px;
  top:5px;

}
p.lang_en{
  color:#fff;
  font-size: 20px;
  margin-top: 15px;
}
p.lang_pt{
  color:#fff;
  font-size: 20px;
  margin-top: 15px;
}
.lang_en{
  display: block;
}

.lang_pt{
  display: none;
}
.showen_yes{
  display:block;
}
.showen_no{
  display:none;
}
.showpt_yes{
  display:block;
}
.showpt_no{
  display:none;
}
.idea>p>button{
  background-color: green;
  color: #fff;
  height:35px;
  width:250px;
  font-size: 18px;
  position: absolute;
  bottom: 20px;
  right:20px;
}

.footer-copy{
            font-size:14px;
            text-shadow:1px 1px 1px #000;
        }
        h2.welcome1{
            left:10px;
            top:20px;
        }
        h2.welcome2{
            left:70px;
            top:100px;
        }
        h2.welcome3{
            left:40px;
            top:60px;
        }
        span.flagsicon{
            width:50px;
            height:50px;
        }


 .afterH2 {
    padding: 3px 5px 3px 5px;
    font-size: 18px;
    color: #0a875a !important;
    background-color: #fff8eb !important;
    border-color: #0a875a !important;
}