@keyframes slideLeft {
    from {
        transform: translateX(-700px);
    }
    to {
        transform: translate(0px);
    }
    
}

@keyframes slideRight {
    from {
        transform: translateX(700px);
    }
    to {
        transform: translateX(30px);
    }
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Chakra Petch', sans-serif;
    font-family: 'Roboto Mono', monospace;
    font-family: 'Victor Mono', monospace;
    font-family: 'Work Sans', sans-serif;
}

body {
    background-color: lightyellow;
}

.logo{
    font-size: 30px;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: #333;
}

.bar {
    /* background-color: green; */
    display: flex;
    justify-content: space-between;
    margin: 10px;
    height: 60px;
    padding: 20px;
}

.bar ul {
    display: flex;
}

.bar ul li {
    margin-left: 30px;
    list-style: none;
}

.bar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
}

.section {
    background-color: rgb(255, 166, 0);
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-info {
    width: 500px;
    
    text-align: center;
}

.section-info img {
    width: 250px;
    border-radius: 50% ;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
}

.section-info h3 {
    margin-top: 20px;
    color: lightyellow;

}

.animate {
    display: flex;
    text-align: center;
}

#ani1 {
    animation: slideLeft 4s ease infinite;  
}

#ani2 {
    animation: slideRight 4s ease infinite;
}

.contents {
    /* border: 2px solid red; */
    height: 1000px;
    max-width: 960px;
    margin: 1rem auto;
    text-align: center;
    padding: 60px;
}

#title1 {
        margin: 40px;
        color: #333;
}

#userinputId {
    width: 250px;
    height: 40px;
    border-radius: 10px;
    background-color: lightgray;
    font-size: 25px;
}

#title2 {
    margin: 40px;
    color: #333;
}

#title3 {
    margin: 40px;
    color: #333;
}

#resdisplay {
    margin: 20px;
    color: red;
}



#btn {
    width: 120px;
    height: 40px;
    font-weight: 700;
    font-size: 20px;
    background-color: lightyellow;
    border: 4px solid orange;
    border-radius: 10px;

    transition: transform 0.3s ease, background-color 0.6s, color 0.6s;
}

#btn:hover {
    transform: translateY(-15px);
    background-color: orange;
    color: white;
}