*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    background-color: #000;
    display:flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    padding: 30px 10px;
    transition: background 0.4s ease-in;
}

.menu{
    background: #40E0D0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
    transition: box-shadow 5s ease-in-out;
    z-index: 1;
}

.menu:hover{
    box-shadow: 0 0 0 8px #40E0D0, 0 0 0 8px #40E0D0;
}

.hamburguer{
    position: relative;
    display: block;
    background: #000;
    width: 30px;
    height: 2px;
    top: 30px;
    left: 15px;
    transition: .5s ease-in-out;
}

.hamburguer:before,
.hamburguer:after{
    background: #000;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: .5s ease-in-out;
}

.hamburguer:before{
    top: -10px;
}
.hamburguer:after{
    bottom: -10px;
}
input{
    display:none;
}
input:checked ~ ul{
   opacity: 1;
   z-index: 2;
}

input:checked ~ label .menu{
    box-shadow: 0 0 0 130vw #000, 0 0 0 130vw #000;
}

input:checked ~ label .hamburguer{
    transform: rotate(45deg);
}
input:checked ~ label .hamburguer:before{
    transform: rotate(90deg);
    top: 0;
}
input:checked ~ label .hamburguer:after{
    transform: rotate(100deg);
    bottom: 0;
}
ul{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    opacity: 0;
    transition: .25s 1s ease-in-out;
}


.a1{
    display:block;
    margin-bottom: 40px;
    color: #fff;
    font-size: 47px;
    text-decoration: none;
    font-family: Courier New;
    text-align: center;
    transition: all 0.5s ease-out;
}

.a1:hover,
.a1:focus {
  color: #060d13;
  background-color: #b3ffb3;
  transform: scale(1.1);
}


.container{
    padding: 25px 9%;
    text-align: center;
}
.container .heading{
    font-size: 30px;
    padding-bottom: 25px;
    color: #fff;
}
.container #search-box{
    text-align: center;
    border-radius: 30px;
    font-size: 20px;
    padding: 12px 15px;
    border: 3px solid #000;
    width: 600px;
}
.container .container-image{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    padding: 30px;
}

@keyframes fadeIn{
    0%{
        transform: scale(.7) translateY(-10px);
        opacity: 0;
    }
}

.container .container-image .image{
    width: 350px;
    border-radius: 5px;
    border: 2px solid #000;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 15px;
    animation: fadeIn .2s linear;
}
.container .container-image .image img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}
.container .container-image .image img:hover{
    transform: scale(1.2);
}
.container .container-image .image h3{
    font-size: 20px;
    color: #2c3e50;
}
@media (max-width:768px){
    .container .container-image{
        display:grid;
        grid-template-columns: repeat(1,1fr);
        padding: 25px 20px;
    }
    .container .container-image .image{
        width: 100%
    }
    .container #search-box{
        width: 90%;
    }
}
@media(max-width:450px){
    .container .container-image{
        display:grid;
        grid-template-columns: repeat(1,1fr);
        padding: 25px 20px;
    }
    .container .container-image .image{
        width: 100%;
    }
}