@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&family=Open+Sans:wght@300&family=PT+Sans&family=Ubuntu:ital,wght@0,300;1,300&display=swap');
body{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #f8f9fa;
    font-family: Google Sans,Roboto,Arial,sans-serif;
}
.counter-container{
   display: grid;
    width: 100%;
padding:10px 20px;
     justify-content: space-between;
   align-items: self-start;
    box-sizing: border-box;  
    grid-template-columns:70% 30%;
    grid-template-rows: auto 1fr;
    grid-gap: 15px;
    
}
.banner-top{
    grid-column: 1/span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90px;
    overflow: hidden;
    box-sizing: border-box;

}
.ads-banner-top{
    height: 90px;
    border: 2px solid #8e93cb;
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;

}
nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display:flex;
  background-color: #fff;
  border-bottom: 1px solid #dadce0;
  height: 64px;
  align-items: center;
  justify-content: space-between;
}
a.terms {
    font-size: 12px;
}
 nav a{
 text-decoration:none;
 color:black;
 padding:10px 20px;
 }
.container {
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;    
    position: relative;
    padding: 10px;
    border: 1px solid #dadce0;
    box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%), inset 0 -1px 0 rgb(0 0 0 / 7%);
    /* margin: 0px 20px; */

}
  
.container h1 {
    font-size: 25px;
}
.title-sub{
    width: 100%;
    text-align: left;
    padding:0px 10px;
    box-sizing: border-box;
}
  
.heading {
    padding: 5px;
    font-weight: 700;
    text-align: center;
    width: 400px;
}

  
textarea {
    position: relative;
    height: 300px;
    overflow: scroll;
    font-size: 15px;
    font-weight: 400;
    resize: none;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #dadce0;
    
}
textarea::placeholder {
    color: black;
    font-size: 17px;
    font-weight: 500;
    opacity: 0.6;
}
textarea:focus {
    outline: none;
}
  
.result {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    padding: 5px 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    justify-content: space-around;
}
  
#word,
#char {
    font-size: 21px;
    font-weight: bold;
    color: #000000;
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
}
.result div {
    display: flex;
    flex-direction: column;
        font-weight: 400;
}
.counter-form{
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
}
.container.details {
    width: 100%;
    grid-column: 2;
    grid-row: 2/span 2;
    justify-self: center;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid rgb(26, 115, 232);


}

.tips{
    justify-self: flex-start;
    grid-column: 1;
    grid-row: 3;
    border: 1px solid rgb(26, 115, 232);
    overflow: hidden;
}
.tips p{
    width: 100%;
    text-align: left;
    padding:0px 20px;
}
h2,h3{
    text-align: left;
    width: 100%;
    padding: 0px 20px;
    margin: 10px;
    font-size:20px;
}
p{
    font-size: 15px;
}
.sub-heading{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.btn-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
.btn-copy{
    border: 1px solid rgb(26, 115, 232);
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: rgb(26, 115, 232);
    background: #fff;
    transition: all 0.3s ease-in-out;
    margin-right: 10px;
    height: fit-content;
    white-space: nowrap;
}
.btn-copy:hover{
    background: rgb(26, 115, 232);
    color: #fff;
}
.btn-paste{
    border: 1px solid rgb(26, 115, 232);
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: rgb(26, 115, 232);
    background: #fff;
    transition: all 0.3s ease-in-out;
    height: fit-content;
    white-space: nowrap;
    margin-right: 10px;

}
.btn-paste:hover{
    background: rgb(26, 115, 232);
    color: #fff;
}
.btn-clear{
    background: url(./clean.png) no-repeat center;
    background-size: 20px;
    border: 1px solid rgb(26, 115, 232);
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    width: 20px;
    height: 20px;
}
.btn-clear:hover{
    background-color: rgb(26, 115, 232);
}
.ads-container-long{
    width:100%;
    overflow: hidden;
    border: 2px solid #8e93cb;
    border-radius: 5px;
    min-height: 250px;
}
@media screen and (max-width: 768px) {
    .container.details {
        width: 100%;
    }
    .counter-container{
        grid-template-columns: 100% !important;
        padding: 10px 10px;
        box-sizing: border-box;
        
    }
    .counter-form{
        grid-column: 1;
        grid-row: 2;
    }
    .container.details {
        width: 100%;
        grid-column: 1;
        grid-row: 3;
    
    }
    .tips{
        grid-column: 1;
        grid-row: 4;
    }
    .title-sub{
        font-size: 11px !important;
    }
    .ads-banner-top{
        min-width: 250px;
    }
    .banner-top{
        grid-column: 1;
        grid-row: 1;
    }
    nav{
        height: 40px !important;
        font-size: 12px;
        font-weight: bolder;
    }
    .heading{
        padding: 0px !important;
    }
}

.playstore {
    position: fixed;
    right: 20px;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    z-index: 2;
    bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* padding: 20px; */
}
