/*Normal stuff below*/

:root{
    --main: silver;
    --mainB: white;
    --second: lightyellow;
    --transitionSpeed: 0.1s;
    --transition: background-color var(--transitionSpeed) ease, box-shadow var(--transitionSpeed) ease, transform var(--transitionSpeed) ease;

    /*Site-tastic!*/
    --mainSite: rgba(174, 62, 205, 0.605);
    --btn: mediumaquamarine;
    --containerBorRad: 0;
    --imgBorStyle: ridge;
}

*{
  font-family: "Joti One", serif;
  box-sizing: border-box;
}

/*Site-tastic! stuff below*/

nav{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: var(--mainSite);
  padding: 15px;
  border-radius: var(--containerBorRad);
  width: 100%;
}

#logoSite{
  width: 80%;
  height: auto;
  border-color: mediumaquamarine;
}

nav a{
  display: flex;
  justify-content: space-around;
}

.navI{
  width: 78%;
  height: auto;
}

nav img{
  border-style: var(--imgBorStyle);
  border-width: 8px;
  border-radius: 20%;
  border-color: var(--btn);
}

footer{
    width: 100%;
    margin-top: 30px;
    padding: 8px 15px;
    background-color: var(--mainSite);
    color: white;
    text-align: left;
    font-size: 14px;
}

/*Normal Palindrome finder stuff below*/

body {
    background-color: var(--main);
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow-x: hidden;
    overflow-y: auto;
}

#title{
    width: 90vw;
    height: auto;
    max-height: 150px;
    min-height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--second);
    border-radius: 20px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
    margin-top: 20px;
    padding: 2%;
    transition: var(--transition);
    gap: 10px;
}

#title:hover{
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.3);
    background-color: lightgoldenrodyellow;
    transform: translateY(10px);
    cursor: default;
}

h1{
    text-align: center;
    box-sizing: border-box;
    width: auto;
    height: auto;
    font-size: 8vw;
    text-decoration: underline;
    white-space: nowrap;
}

#logo{
    width: auto;
    height: 13.7vw;
}

.input{
    background-color: var(--mainB);
    color: black;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    border: 0px;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
}

#txt{
    background-color: var(--mainB);
    color: black;
    font-weight: 900;
    text-align: center;
    font-size: 30px;
    width: 50%;
    height: auto;
    transition: var(--transition);
}

#txt:focus{
    background-color: var(--second);
    text-align: center;
}

#txt:hover{
    background-color: var(--second);
    box-shadow: 0px 0px 5px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

#random{
    color: black;
    font-weight: 900;
    text-align: center;
    font-size: 20px;
}

#btn{
    font-weight: 900;
    text-align: center;
    font-size: 25px;
    transition: var(--transition);
}

#btn:hover{
    background-color: var(--second);
    box-shadow: 0px 0px 5px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transform: scale(1.1);
}

#words{
    color: black;
    font-weight: 900;
    text-align: center;
    font-size: 250%;
    background-color: var(--second);
    border-radius: 20px;
    width: 90vw;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
}

.info-box{
    color: black;
    font-weight: 900;
    text-align: center;
    font-size: 20px;
    background-color: var(--second);
    border-radius: 15px;
    margin: 10px;
    padding: 0px;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
    width: 90vw;
    transition: var(--transition);
}

.info-box:hover{
    background-color: var(--second);
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0px 0px 5px 10px rgba(0, 0, 0, 0.3);
    width: 90vw;
    transform: scale(1.05);
    cursor: default;
}