/* Import Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --bg-black-900: rgb(255, 248, 251);
    --bg-black-100: #d8fdfd;
    --bg-black-50: #f8f0ff;
    --text-black-900: #302e4d;
    --text-black-700: #504e70;
}

body{
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 15px;
    font-family: 'poppins' sans-serif;
}

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

::before, ::after{
    box-sizing: border-box;
}

ul{
    list-style: none;
}

section{
    min-height: 100vh;
    display: block;
    top: 0;
    padding: 0 30px;
}

.main-content .hidden{
    display: none;
}

.container{
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.row{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}

.btn{
    display: inline-block;
    padding: 10px 30px;
    font-weight: 500;
    border-radius: 40px;
    border: none;
    background: lightseagreen;
    color: black;
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover{
    transform: scale(1.09);
}

/* Sidebar */
.sidebar{
    width: 350px;
    background: var(--bg-black-100);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    border-right: 2px var(--bg-black-50);
    z-index: 10;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo{
    position: absolute;
    font-size: 32px;
    text-transform: capitalize;
}

.logo a{
    color: var(--text-black-900);
    font-weight: 700;
    padding: 16px 20px;
    font-size: 30px;
    position: relative;
}

.logo a:hover{
    color: var(--text-black-700);
}

.logo a span{
    font-family: 'Clicker Script', cursive;
    font-size: 45px;
    margin-left: 15px;
}

.memory{
    position: fixed;
    top: 25px;
    left: 55px;
    font-size: 32px;
    text-transform: capitalize;
    letter-spacing: 10px;
}

.from{
    position: fixed;
    margin-left: 18px;
    left: 61px;
    top: 0px;
    font-size: 32px;
    text-transform: capitalize;
    letter-spacing: 7px;
}

.sidebar .nav{
    margin-top: 50px;
}

.sidebar .nav li{
    margin-bottom: 20px;
    display: block;
}

.sidebar .nav li i{
    padding: 10px;
    margin-right: 10px;
}

.sidebar .nav li a{
    font-size: 18px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid rgb(247, 150, 5);
    color: var(--text-black-900);
    padding: 5px 15px;
}

.sidebar .nav li a{
    margin-right: 16px;
}

.sidebar .nav li .active{
    color: rgb(126, 75, 0);
    font-weight: 700;
    
    transition: all.3s ease-in-out;
}

.sidebar .nav li .active:hover{
    transform: scale(1.09);
}

/* Main Content */
.main-content{
    margin-left: 330px;
}

.qa-section{
    min-height: 100vh;
    display: flex;
    color: var(--text-black-900);
}

.padd-15{
    padding-right: 15px;
    padding-left: 15px;
}

/* Home Section */
#home-section{
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgb(248, 238, 224), antiquewhite);
    /* display: none; */
}

.home-container{
    display: flex;
    flex-direction: row;    
}

.home-text{
    margin-top: 20%;
}

.heading h1{
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
    margin-top: 1px;
}

.sub-title h3{
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 1px;
}

.sub-title h6{
    text-align: center;
    color: #ac7e00;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.sub-title h6:hover{
    color: brown;
    font-weight: 700;
    font-size: 15px;
}

.fa-hand-point-up{
    font-size: 20px;
    margin-left: 220px;
    margin-top: 5px;
    color: rgb(0, 35, 80);
}



.heading h1 span{
    font-family: 'Clicker Script', cursive;
    font-size: 75px;
    margin-left: 15px;
    color: #6d4f2e;
    letter-spacing: 12px;
}

.home-img{
    display: flex;
}

.home-img1{
    margin-left: 120px;
}

.home-img2{
    margin-left: 190px;
    margin-top: 463px;
}

/* qa section */
#qa-section{
    padding-top: 100px;
    padding-bottom: 100px;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgb(248, 238, 224), antiquewhite);
    /* display: none; */
}

#btn{
    justify-content: center;
    align-items: center;
    margin-top: 25%;
    display: flex;
    flex-direction: column;
}

.button{
    width: 250px;
    height: 50px;
    border: none;
    background: #d8fdfd;
    border-radius: 50px;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    padding-left: 15px;
    padding-right: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    color: black;
    margin-bottom: 20px;
    transition: all.3s ease-in-out;
}

.button:hover{
    transform: scale(1.05);
    background-color: antiquewhite;
}

/* Create Flashcard form */
.create-box {
    width: 430px;
    height: 400px;
    background: transparent;
    border: 2px solid black;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    color: black;
    border-radius: 50px;
    padding: 10px;
    margin-left: 630px;
  }

  .form{
      justify-content: center;
      align-items: center;
      height: 450px;
      margin-top: 20px;

  }
  
  .create-box h1 {
    text-align: center;
    font-size: 40px;
  
  }
  
  .create-box .form-group {
    position: relative;
    width: 100;
    height: 50px;
    margin: 30px 0;
  }
  
  .form-group input {
      width: 100%;
      height: 100%;
      border: none;
      outline: none;
      background: transparent;
      border: 1px solid black;
      border-radius: 50px;
      font-size: 20px;
      font-family: 'Times New Roman', Times, serif;
      padding-left: 20px;
  }
  
  .form-group input::placeholder {
      color: #6d4f2e;
      font-size: 20px;
      padding-left: 10px;
      font-family: 'Times New Roman', Times, serif;
      font-weight: 700;
  }
  
  .form-group i {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
  }

  #btns{
    align-items: center;
    justify-content: space-evenly;
    display: flex;
    flex-wrap: wrap;
}

.add-btn, .cancel-btn{
    width: 110px;
    height: 50px;
    border: none;
    background: #d8fdfd;
    border-radius: 50px;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    padding-left: 15px;
    padding-right: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    color: black;
    margin-bottom: 20px;
    transition: all.3s ease-in-out;
}

.add-btn:hover, .cancel-btn:hover{
   transform: scale(1.09);
   background: rgb(245, 222, 191);
}


#flash-section, #favorites-section, #memorized-section, #not-memorized-section{
    background: radial-gradient(circle, rgb(248, 238, 224), antiquewhite);
    border-top: 50px;
}

.flashcard-container{
    border: 1px solid transparent;
    border-radius: 50px;
    outline: none;
    padding: 20px;
}

.flashcards{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
}

.flashcard{
    width: 400px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    margin-right: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    transition: all.3s ease-in-out;
}

.flashcard:hover{
    transform: scale(1.09);
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    background: radial-gradient(circle, rgb(250, 240, 184), rgb(255, 193, 112));
}

.flashcard .question{ 
    padding: 15px; 
    margin-top: 20px;
    text-align: center;

}

.flashcard .answer{
    text-align: center;  
    display: none; 
    color: rgb(156, 102, 1); 
    font-size: 17px; 
    font-weight: 700;
    padding: 15px;
}

.far{
    font-size: 20px;
    color: rgb(156, 102, 1);
    margin-right: 10px;
    margin-left: 20px;
    text-align: center;
}
 