@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FDF0D5;
    color: #780000;
    font-family: 'Nunito', sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.phone-body {
    width: 300px;
    height: 550px;
    background-color: #FDF0D5;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    border: #780000 7px solid;
    overflow: hidden;
}

.phone-top {
    width: 100%;
    height: 25px;
    background-color: #000000;
    position: absolute;
    top: 0;
}
.phone-top::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #3f3b3b;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 30%;
    transform: translateX(-50%);
}

.phone-speaker {
    width: 60px; 
    height: 4px;
    background-color: #3f3b3b; 
    border-radius: 2px;
    position: absolute;
    top: 8px; 
    left: 50%; 
    transform: translateX(-50%);
    margin-top: 1px;
    padding: 2px;
}

.phone-bottom {
    width: 100%;
    height: 35px;
    background-color: #000000;
    position: absolute;
    bottom: 0;
}
.inner-phone {
   width: 100%;
   height: 100%;
   background:  linear-gradient(
    to bottom,
    #F25C54,
    #F27059,
    #F4845F,
    #F79D65,
    #F7B267);   
}

input[type="text"] {
    width: 80%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 20px 0; 
    font-size: 16px;
    display: block; 
    text-align: center; 
}
input[type="text"]:focus {
    border-color: #780000;
    background-color: #FDF0D5;
    box-shadow: 0 0 8px rgba(242, 92, 84, 0.6);
    outline: none;
}

.welcome-message {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    color: #FDF0D5;
    font-family: 'Fredoka', sans-serif;  
}

.enter {
    font-size: 20px;
    text-align: center;
    margin: 10px;
    color: #FDF0D5;
    font-family: 'Baloo 2', sans-serif;  
}

.input-container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    margin-top: 20px; 
    gap: 12px;
}

button {
    background-color: #780000;
    color: #FDF0D5;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0; 
    display: block; 
    text-align: center; 
}
button:hover {
    background-color: #FDF0D5;
    color: #780000;
    border: 2px solid #780000;
}

#main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    padding-top: 50px; 
}