@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, select, button{
    font-family: 'Noto Sans JP', sans-serif;
    color: #C1554D;
}

.options label,
select,
button,
.note-wrapper span,
.moreCoder{
    font-weight: bold;
}

h1,
.container-info h2,
ul li h3,
.note-wrapper,
.moreCoder{
    color: #642c28;
}

.container,
.container-info.active,
.egg-white, 
.options,
.btns-wrapper
{
    display: flex;
    align-items: center;
}

.eyes, 
.eyes::after,
.pupil-left,
.pupil-right,
.mouth{
    background-color: #642c28;
}

.egg-white,
select{
    background-color: #FFF8EA;
}

select, button:hover{
    border: 2px solid #C1554D;
}

select:focus,
button:focus{
    outline: none;
}

/*CONTAINER*/
.container{
    max-width: 550px;
    padding: 2em;
    margin: 2em auto;
    flex-direction: column;
    justify-content: space-around;
    background-color: #D5CABD;
    border-radius: 20px;
    position: relative;
}

.fa-info-circle{
    font-size: 1.5em;
    color: #FFF8EA;
    position: absolute;
    top: 1em;
    right: 1em;
    cursor: pointer;
    z-index: 5;
}

h1{
    letter-spacing: 2px;
    text-transform: uppercase;
}

/*INFO CONTAINER*/
.container-info{
    width: 100%;
    height: 100%;
    background-color:#D5CABD;
    border-radius: 20px;
    z-index: 3;
    display: none;
}

.container-info.active{
    flex-direction: column;
    position: absolute;
}

.container-info h2{
    margin: 3em 0;
}

ul li{
    padding: 1em 0;
    list-style: none;
}

.note-wrapper{
    padding:  3em 4.5em;
}

.moreCoder{
    text-decoration: none;
}

/*EGGY*/
#display-time{
    font-size: 3em;
    position: absolute;
    top: 1em;
}

.egg-wrapper{
    margin: 3em;
}

.fa-egg{
    color: #FFF4E0;
}

.egg-white{
    width: 310px;
    height: 390px;
    border-radius: 50% 50% 45% 45%;
    justify-content: center;
    position: relative;
}

.egg-yolk{
    width: 190px;
    height: 180px;
    background-color: #fdcb6e;
    border-radius: 50%;
    position: absolute;
    top: 9em;
}

.eyes{
    top: 6em;
    left: 1.5em;
}

.eyes::after{
    content: '';
    top: 0em;
    left: 6.5em;
}

.eyes, 
.eyes::after{
    width: 40px;
    height: 5px;
    border-radius: 4px;
    position: absolute;
}

.pupil-left{
    left: 3em;
}

.pupil-right{
    right: 1.7em;
}

.pupil-left,
.pupil-right{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 6em;
}

.pupil-left.active,
.pupil-right.active{
    animation: eyes 5s ease-in-out 1s 1;
}

.mouth{
    width: 30px;
    height: 5px;
    border-radius: 4px;
    position: absolute;
    top: 8em;
    left:5.4em;
}

.cheek-left,
.cheek-right{
    content: '';
    width: 50px;
    height: 50px;
    background-color: pink;
    border-radius: 50%;
    position: absolute;
    top: 7em;
}

.cheek-left{
    left: -0.5em;
}

.cheek-right{
    right: -0.5em;
}

.cheek-left.active,
.cheek-right.active{
    animation: cheeks 5s ease-in-out 1s 1;
}

.cheek-left.hide, .cheek-right.hide{
    visibility: hidden;
}

/*TOMATO*/
.tom-lt{
    top: 2em;
    left: -0.2em;
}

.tom-rt{
    top: 2em;
    right: -0.2em;
}

.tom-lt, .tom-rt{
    font-size: 3em;
    position: absolute;
    visibility: hidden;
}

.tom-lt.active, .tom-rt.active{
    visibility: visible;
    animation: tomato 3s ease-in-out 0.5s 1;
}

/*SELECT OPTIONS*/
select{
    width: 50%;
    padding: 10px 20px;
    border-radius: 5px;
    -moz-appearance: none;
	-webkit-appearance: none;
    appearance: none;
}

.options{
    width: 300px;
    margin: 1em 0;
    justify-content: space-between;
}

/*BUTTONS*/
.btns-wrapper{
    width: 400px;
    margin: 1em 0 2em;
    justify-content: space-between;
}

button{
    text-transform: uppercase;
    padding: 8px 30px;
    background-color: #FFF4E0;
    border: 2px solid transparent;
    border-radius: 4px;
}

/*ANIMATIONS*/
@keyframes eyes{

    0%{transform: translateX(0px);}
    15%{transform: translateX(-10px);}   
    25%{visibility: hidden;
        opacity: 1;}
    28%{visibility: hidden;  
        opacity: 0;}
    31%{visibility: hidden; 
        opacity: 0;}
    34%{visibility: visible;
        opacity: 0;}
    49%{visibility: hidden;  
        opacity: 1;}
    53%{visibility: hidden; 
        opacity: 0;}
    56%{visibility: visible;
        opacity: 0;}
    80%{transform: translateX(-10px);}
    100%{transform: translateX(0px);}
}

@keyframes cheeks{
    0%{transform: scale(0.5);}
    20%{transform: scale(1);}
    50%{transform: scale(0.5);}
    75%{transform: scale(1);}
    100%{transform: scale(1);}
}

@keyframes tomato{
    0%{transform: rotate(35deg);}
    25%{transform: rotate(-35deg);}
    50%{transform: rotate(35deg);}
    100%{transform: rotate(0deg);}
}

