@import url('https://fonts.googleapis.com/css2?family=Autour+One&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: rgb(31, 30, 30);
    font-family: 'Autour One', cursive;
}

h2 {
    color: #cecece;
    text-align: center;
    margin-top: 50px;
    font-size: 40px;
}

.search-bar {
    display: flex;
    height: 80vh;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.search {
    position: relative;
    height: 50px;
    border-radius: 20px;
}

.search .input {
    background-color: #cecece;
    color: rgb(0, 0, 0);
    border: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    font-size: 18px;
    padding: 15px;
    height: 50px;
    width: 50px;
    transition: width 0.3s ease;
}

.btn {
    background-color: #cecece;
    color: rgb(0, 0, 0);
    border: 0;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    transition: transform 0.3s ease;
}

.btn:focus,
.input:focus {
    outline: none;
}

.search.active .input {
    width: 200px;
}

.search.active .btn {
    transform: translateX(198px);
}






/* 

.
} */