@import url('https://fonts.googleapis.com/css2?family=Nerko+One&display=swap');

    *{
    box-sizing: border-box;
    }

body{
    margin: 0rem;
    font-family: 'Nerko One', cursive;
   
    }
    .content{
        margin: 1rem auto;
        max-width:70% ;
    }
   @media (max-width: 426px ) {
    .content{
        margin: 1rem auto;
        max-width:95% ;
    }
    #output3{
        max-width: 84%;
        /* max-height: fit-content; */
        margin:auto ;
    }
    img{
        max-width: 97%;
    }
   }

    .bdaypic{
        background-image: url(images/bday.jpg);
        background-size: cover;
        background-position: center;
        height: 100vh;
        position: fixed;
        left: 0;
        right: 0; 
        top: 0;
         opacity: 0.8;
        z-index:-1 ;     
    }

textarea{
    width: 80%;
    height: 14vh;
    display: block;
    padding: 1rem;
    margin:auto ;
    font-size: 1.4rem;
    text-align: center;
    border-radius: 1rem;
    background-color: rgb(207, 154, 207);
}
 #nametext1{
    background-color: rgb(183, 172, 241);
    height: 8vh;
    width: 85%;
    margin: auto;
    display: inline-block;
    overflow: hidden;
}
#inputtext2{
    background-color: rgb(184, 238, 184);
    margin-top: 1rem;
    height: 8vh;
    overflow: hidden;
    width: 75%;
}

input{
    margin:1rem auto ;
    align-items: center;
    display: flex;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background-color: rebeccapurple;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#namepara{
    color: rgb(213, 243, 78);
    margin:1rem auto;
    text-align: center;
    font-size: 2.3rem;
    text-shadow:2px 4px #f34f4f;
   
}


#inputbtn {
    display: flex;
    margin:1rem auto ;
    padding: 1rem;
    font-size:1.4rem;
    cursor: pointer;
    text-align: center;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 15px;
    box-shadow: 0 9px #999;
  }
  
  #inputbtn:hover {background-color: #3e8e41}
  
  #inputbtn:active {
    background-color: #3e8e41;
    box-shadow: 0 0.5rem #666;
    transform: translateY(0.5rem);
  }

  #namebtn{
    display: inline-block;
    margin: auto;
    padding: 0.5rem 1rem;
    font-size:1rem;
    cursor: pointer;
    text-align: center;
    color: white;
    background-color: #2cd7ee;
    border: 1px solid black ;
    border-radius: 1rem;
  }

#output1{
    width: 80%;
    height: 13vh;
    display: block;
    padding: 1rem;
    font-size: 1.4rem;
    margin:1rem auto ;
    text-align: center;
    border: 1px solid black;
    border-radius: 1rem;
    background-color: rgb(223, 134, 134);
}
#output2{
    width: 80%;
    height: 13vh;
    display: block;
    padding: 1rem;
    font-size: 1.4rem;
    margin:1rem auto ;
    text-align: center;
    border: 1px solid black;
    border-radius: 1rem;
    background-color: rgb(196, 238, 168);
}

.container{
    display: grid;
    grid-template-columns: auto auto;
}

.margit{
    margin-top: 2rem;
    margin-bottom: 1rem;
}

img{
    border-radius: 3rem;
    margin: auto;
    display: flex;
}

.textdefine{
    text-align: center;
    margin:auto;
    color: white;
    font-size: 1.3rem;
}

footer{
    height: 10vh;
    width: 100%;
    text-align: center;
    color: rgb(73, 43, 73);
    padding-top: 0.3rem;
    font-size: 1.3rem;
    background-color: yellow;
    margin:0rem;
    border-radius: 0.7rem;
    position: sticky;
    bottom: 1px;
}

a{
    text-decoration: none;
    padding-left: 1rem;
    padding-right: 1rem;
    color: rgb(109, 111, 136);
}

#namedate{
    width: 75%;
    height: 8vh;
    display: block;
    padding: 1rem;
    margin:auto ;
    font-size: 1.4rem;
    text-align: center;
    border-radius: 1rem;
    border:1px solid red;
    background-color: rgb(207, 154, 207);
}

.displayit{
    visibility:hidden;
  }