body {
  width: 100%;
}
#loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 20px;
  height: 20px;
  margin: -25px 0 0 -25px;
  border: 6px solid #e3e3e3;
  border-radius: 50%;
  border-top: 6px solid #1a73e8;
  /*#00A76F*/
  border-bottom: 6px solid #1a73e8;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

input {
  background: none;
  outline: none;
  border: none;
}

input:focus {
  border: none;
}

header {
  width: 100%;
  height: 150px;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
}

#header {
  height: 80px;
  width: 80%;
  margin-top: 25px;
  float: left;
}
#header img {
  width: 80px;
  height: 80px;
  border-radius: 80px;
  margin-left: 10px;
  border: 1px solid #fff;
  vertical-align: middle;
}
#header span {
  display: inline-block;
  color: white;
  padding-left: 10px;
  font-size: 20px;
  font-weight: bold;
}
#news {
  position: absolute;
  top: 120px;
  left: 5%;
  width: 90%;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0px 0px 15px grey;
}

#news_cont {
  margin: 8px;
  font-weight: bold;
}

#news_cont p {
  margin-bottom: 20px;
}

input[id="ti"] {
  display: block;
  width: 85%;
  height: 35px;
  background-color: #fff;
  text-align: center;
  font-size: 18px;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 20px auto;
  margin-top: 150px !important;
}

input[id="ti"]:hover,
input[id="ti"]:focus {
  box-shadow: 0px 0px 10px #1a73e8;
}

img {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

#btn_area {
  clear: both;
  width: 85%;
  /*height: 40px;*/
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#submit,
#clean {
  width: 100px;
  height: 40px;
  border-radius: 8px;
  font-weight: bold;
  -webkit-appearance: none;
  color: #fff;
  cursor: pointer;
}

#submit {
  background-color: #04be02;
}

#clean {
  background-color: rgba(15, 102, 201, 0.815);
}

#Ans {
  width: 85%;
  margin: 20px auto;
  box-shadow: 0px 0px 3px #000;
  background: #fff;
  padding: 5px;
  font-size: 18px;
  
}

#ans {
  font-size: 18px;
  
}
#Ans_p {
	word-break: break-word;
}
#ques, #ans {
	line-height: initial;
}
#Ans p:first-child{
	margin-bottom: 20px;
}
#ans {
   font-size: 18px;
}
.footer {
  position: absolute;
  bottom: 0;
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
}
.footer a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}
@media screen and (max-width:321px) {
  textarea[id="ti1"] {
    display: none;
  }

  #p_pc {
    display: none;
  }

  #header {
    width: 90% !important;
  }
}

@media screen and (min-width: 330px) and (max-width: 767px) {
  textarea[id="ti1"] {
    display: none;
  }
  #p_pc {
    display: none;
  }
}

@media screen and (min-width:768px) and (max-width:1024px) {
  textarea[id="ti1"] {
    display: none;
  }

  #p_pc {
    display: none;
  }

  #header {
    width: 45% !important;
  }

  #header span {
    font-size: 22px;
  }

  #news_cont {
    margin: 12px
  }

  #news_cont p {
    margin-bottom: 28px;
    font-size: 22px;
  }

  input[id='ti'] {
    height: 45px;
    margin-top: 230px !important;
  }

  #submit,
  #clean {
    height: 50px;
    font-size: 18px;
  }

  #Ans {
    line-height: 35px;
  }
}

@media screen and (min-width:1025px) {
  header {
    display: none !important;
  }

  #p_pc {
    font-size: 30px;
    color: #04be02;
    text-align: center;
    margin: 50px auto;
    margin-bottom: 50px;
  }

  #news {
    display: none;
  }

  input[id="ti"] {
    display: none;
  }

  #btn_area {
    flex-direction: column;
  }

#submit, #clean {
    margin: 20px auto;
    width: 60%;
    height: 50px;
    font-size: 18px;
  }
#submit {
    background-color: #04be02;
  }
  textarea[id="ti1"] {
    display: block;
    resize: none;
    width: 80%;
    height: 200px;
    font-size: 30px;
    font-weight: bold;
    margin: 20px auto;
  }
  #loading {
    top: 30%;
  }
}
