* {
    margin: 0;
    padding: 0;
}
body {
background-color: rgb(161 216 155);
}

.images {
width: 50%;
height: 50%;
cursor: pointer;
}

.images img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.taimer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 270px;
    cursor: pointer;

}

.taimer  img{
     width: 100%;
    height: 100%;
    
}

#time{
    position: absolute;
    font-size: 70px;
   /* top: 210px;
    right: 725px;*/
}
.btn{
     width: 75%;
height: 75%;
    margin-bottom: 50px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    
}
#alarm {
    
    background-color: transparent;
    outline: none;
    border: 1px solid orange;
    border-radius: 10px;
}

.timer-btn{
    margin: 100px auto;
    width: 250px;
    height: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    background-color: transparent;
    cursor: pointer;
}

body {
    background: #fef6f0;
    font-family: 'Arial', sans-serif;
}

.hidden {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}
#gameOverScreen {
    display: none;
     z-index: 1;
}

.game-over-content {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: softPop 0.5s ease;
   
}

.game-over-content h1 {
    font-size: 28px;
    color: #ff7aa2;
    margin-bottom: 25px;
}

.game-over-content button {
    background: #7dd3fc;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.game-over-content button:hover {
    background: #38bdf8;
}

@keyframes softPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.buttton.title{
    width: 300px;
    height: 100px;
    position: absolute;
    bottom: 150px;
    right: 170px;
    background: linear-gradient(to right, #f8e83b, #5dd2fb, #1a1920, #4ebd55, #f0303b);
    border: none;
    outline: none;
    border-radius: 10px;
    
    box-shadow: #1ca7d8 0px 0px 10px 4px;
}

.buttton.title a {
    text-decoration: none;
    color:white;
    font-size: 35px;

}

.bodyTitle {
    width: 100%;
    height: 100%;
    background-image: url(images/title3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    margin-left: 20px;
}

.dropdown-btn {
    background: linear-gradient(to right, #fe3537, #05bcf6);
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    font-size: 16px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    min-width: 150px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
}

.dropdown-content a,li {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #444;
    transition: 0.2s;
    cursor: pointer;
}

.dropdown-content a,li:hover {
    background: #f5f5f5;
}


.popup-container{
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
.popup {
        width: 450px;
        height: 200px;
        background-color: #ffffff;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-weight: 600;
        font-size: 40px;
        color: rgb(1 113 191);
        padding: 20px;
        border-radius: 10px;
        position: absolute;
        top: calc(50% - 150px);
        left: calc(50% - 250px);
        display: block;
        border: 2px solid #b45b6d;
    
   }
   .popup p {
    text-align: center;
    vertical-align: middle;
   }
.small_button {
    width: 76px;
    height: 76px;
    border-radius: 15px;
    background-color: rgb(244 150 36);;
    cursor: pointer;
    outline: none;
    border: none;
    margin: 0 auto;
    display: block;
    margin: 0 auto;

}

.footer{
    margin-top: 50px;
    padding: 50px;

}

.rights{
    font-size: 20px;
    color: #1a1920;
}

.players_info{
    display: flex;
    justify-content: space-around;
}
.button{
    width: 133px;
    height: 45px;
    background-color: rgb(1 156 228);
    border-radius: 10px;
    color:#ffffff;
    font-size: 22px;
    font-family: Arial, Helvetica, sans-serif;   
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
     border: none;
     outline: none;
     cursor: pointer;
}
.button:hover {
    background-color: rgb(255 174 39);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.for_player_1{
    font-family: Arial, Helvetica, sans-serif; 
    color: #ffffff;
    font-size: 20px;
}

.score{
    font-family: Arial, Helvetica, sans-serif; 
    color: #cd0000;
    font-size: 20px;
}
.for_player_2{
    font-family: Arial, Helvetica, sans-serif; 
    color: #ffffff;
    font-size: 20px;
}
.input{
    width: 151px;
  padding: 3px 5px;
  border: 1px solid transparent;
  background-color: transparent;
  font-size: 23px;
  color: #019ce4;
}
.input:focus {
    border: none;
    outline: none;
}
.lisence{
    display: flex;
    gap: 10px;
    justify-content: center;
}
.rights{
    display: flex;
    justify-content: center;
    gap: 10px;
}
footer {
    margin-top: 30px;
    padding: 0 60px 0 60px;
}
footer p {
    text-align: center;
    font-size: 20px;
    color: aqua;
}
footer p a {
    text-decoration: none;
    color: white;
}
footer p a:hover {
    text-decoration: underline;
    color:#451dd8
}
.main-screen p{
    display: inline;
}
    