@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap');

:root{
    --primary-color: #b33a3a;
    --secondary-color: white;
}


body{
    margin: 0px;
    box-sizing: border-box;
    text-align: center;
    color: var(--secondary-color);
    font-family: 'Rubik', sans-serif;
    background-color: black;
    background-image: url("pirate7.png");
    background-repeat: repeat;
    background-size: cover; 
    padding: 1rem 0rem;
}

@media only screen and (min-width: 600px) {
    body { 
       background-image: url("pirate2.jpg"); 
       background-size: 250px;
       background-repeat: no-repeat;
    }
  }

.heading h1{
    text-shadow: 5px 2px 5px red;
}

.heading small{
    font-size: large;
}

#input-txt{
    width: 60%;
    display:block;
    padding: 1rem;
    margin: 2rem auto;
    height: 12vh;
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
}

div h3{
    text-shadow: 5px 2px 5px red;
}

#output{
    border: 2px solid var(--primary-color);
    background-color: var(--secondary-color);
    color: black;
    width: 60%;
    height: 12vh;
    padding: 1rem;
    margin: 2rem auto;
    border-radius: 1rem;
}

.btn{
    text-align: center;
}


#btn-translate {
    background-color: var(--secondary-color); 
    color: black; 
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 20px;
  }
  
#btn-translate:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
  }


.footer{
    background-color: var(--primary-color);
    border-top-right-radius:1rem;
    border-top-left-radius:1rem;
    height: 12vh;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color:var(--secondary-color);
    padding-bottom: 2rem;
}
