body{
    background-color: #1e1e1e;
    text-align: center;
    color: white;
    font-family: Arial;
    /* background-image: url(./icon/sunrise.png);
    background-position: center;
    background-attachment: fixed;
    background-size: cover; */
    background: rgb(96,48,18);
    background: linear-gradient(0deg, rgba(96,48,18,1) 0%, rgba(96,48,18,1) 0%, rgba(8,7,25,1) 60%, rgba(12,11,29,1) 100%); 
    background-position: center;
    background-attachment: fixed;
    background-size: cover; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 97vh;
    text-wrap: wrap;
    transform: translateY(100vh);
    opacity: 0;
    overflow-y: hidden;
    animation: flyUp 1s forwards;
    animation-delay: 0.3s;
}

#vtotalurl{
    font-size: small;
    opacity: 0;
    transition: 0.3s;
}

#vtotalurl:hover{
    color: #eb5f08;
}

#output{
    color: #be5413;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 475px;
}

#output:hover{
    color: #eb5f08;
}

#policy{
    size: small;
}

.p{
    margin: 5px;
}

h4{
    margin: 0px;
    align-self: start;
}

rest{
    align-self: start;
    text-align: start;
}

#header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.679);
    font-style: normal;
    text-decoration: none;
    position: absolute;
    top: 7px;
    justify-content: center;
    /* border: 1px solid black; */
}

#header img{
    border-radius: 4px;
}

#footer{
    opacity: 0;
    color: rgba(255, 255, 255, 0.143);
    display: block;
    position: fixed;
    bottom: 0px;
    font-weight: bold;
    animation: footerAppear 2s forwards;
    animation-delay: 2s;
}

a{
    color: #be5413;
    margin-left: 5px;
    margin: 0px;
}

.helpatag{
    color: rgba(255, 255, 255, 0.609);
    font-style: italic;
    margin: 3px;
    transition: 0.3s;
    /* border: 1px solid black; */
}

#maindiv{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}

#copy{
    font-size: 10px;
    margin-top: 0px;
    width: max-content;
    align-self: end;
    justify-self: end;
    border-radius: 99px;
    background-color: transparent;
    transition: 0.3s;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

#submit{
    margin-top: 5px;
    width: 102.5%;
    border-radius: 4px;
    height: 35px;
    font-size: 0.7em;
    transition: 0.2s;
}

#hr{
    width: 40%;
    margin-top: 0px;
    border: 1px solid rgba(255, 255, 255, 0.347);
    position: fixed;
    top: 50px;
    left: 5px;
}

#hrpol{
    width:  120%;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.347);
}

button{
    border-radius: 3px;
    border: 0px;
    background-color: #be5413;
    color: white;
    width: 100%;
    font-size: x-large;
    padding: 5px;
}

.options{
    border-radius: 4px;
    border: 0px;
    background-color: #be5413;
    color: white;
    width: max-content;
    font-size: small;
    padding: 5px;
    align-self: start;
    margin: 0px;
    display: none;
    transition: 0.3s;
    font-size: 0.6em;
}

#viewfull{
    margin-bottom: 10px;
}

#url{
    text-align: center;
    width: 100%;
    height: 30px;
    background-color: transparent;
    /* border: 0px;
    border-bottom: 2px solid white;
    outline: 0;
    outline: 2px solid transparent;
    outline-offset: -2px;
    border-radius: 0px; */
    border: 1px solid rgba(255, 255, 255, 0.132);
    color: white;
    padding: 5px;
    border-radius: 5px;
    outline: 0px;
}

.helpatag:hover{
    color: white;
}

#copy:hover{
    background-color: rgba(255, 255, 255, 0.047);
}

#url::placeholder{
    text-align: center;
    color: rgba(255, 255, 255, 0.378);
    font-size: 1em;
    font-weight: normal;
}

button:hover{
    cursor: pointer;
    background-color:#eb5f08;
}

#confirm{
    display: block;
    color: rgba(255, 255, 255, 0.347);
    font-style: italic;
    border-radius: 5px;
    background-color: transparent;
    margin: 5px;
    padding: 2px;
    padding-right: 4px;
    padding-left: 4.5px;
    width: max-content;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.5s ease;
    opacity: 0;
}

#inputdetails{
    border: 1px groove rgba(255, 255, 255, 0.267);
    border-radius: 15px;
    width: 400px;
    height: 400px;
    padding: 50px;
    box-shadow: 0px 50px 50px rgba(0,0,0,0.2);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    position: relative;
    text-wrap: wrap;
    text-overflow: ellipsis;
}

#inputdetailspol{
    border: 1px groove rgba(255, 255, 255, 0.267);
    border-radius: 15px;
    width: 400px;
    height: 600px;
    padding: 50px;
    box-shadow: 0px 50px 50px rgba(0,0,0,0.2);
    background: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: small;
}

#confirmouter{
    display: inline-block;
    text-align: center;
    align-items: start;
    justify-content: start;
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: small;
    /* border: 1px dashed black; */
}

#helpouter{
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-size: small;
}


#helpouter{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: end;
    text-align: left;
    padding-left: 25px;
    color: white;
    font-style: normal;
    text-decoration: none;
    position: absolute;
    bottom: 10px;
    left: -40px;
    /* border: 1px solid black; */
}

#confirmouter{
    width: min-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    text-align: left;
    padding-left: 0px;
    color: white;
    font-style: normal;
    text-decoration: none;
    position: absolute;
    /* border: 1px solid black; */
}

@keyframes flyUp {
    from {
      opacity: 0;
      transform: translateY(100vh);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }  

@keyframes footerAppear {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


/* below are rules for moible devices (phones)*/

@media screen and (max-width:600px) {
    #submit{
        font-size: small;
    }
    #url{
        font-size: small;
    }
    #maindiv{
        font-size: small;
    }
    #output{
        font-size: small;
    }
    #header{
        font-size: small;
    }
    #kstext{
        top: 30px;
    }
    #inputdetails{
        width: 200px;
        height: 300px;
    }
}