@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #24384a;
}

a {
    text-decoration: none;
}

ul {
    list-style: disc;
    color: #e0ffff;
}

section {
    width: 100%;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    column-gap: 20px;
}

.container img {
    width: 420px;
}

.text {
    display: block;
    padding: 40px 40px;
    width: 450px;
}

.text h1 {
    color: #1ABC9C;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 15px;
}

.text p {
    font-size: 15px;
    color: #e0ffff;
    margin-bottom: 15px;
    line-height: 1.5rem;
    margin-bottom: 15px;
}

.text .input-box {
    position: relative;
    display: flex;
    width: 100%;
}

.input-box input {
    width: 85%;
    height: 40px;
    padding: 5px 15px;
    font-size: 16px;
    color: #22232e;
    border-radius: 5px 5px 0px 0px;
    border: none;
    outline: none;
}

.menu {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    margin-left: 30px;
}

.menu li a {
    display: flex;
    font-size: 1rem;
    color: #1ABC9C;
    transition: 0.1s;
}

.result-box {
    width: 85%;
}

.result-box ul {
    border-top: 2px solid #42455a;
    padding: 10px 5px;
    background: #fff;
}

.result-box ul li {
    list-style: none;
    border-radius: 3px;
    padding: 10px 5px;
    cursor: pointer;
    color: #22232e;
}

.result-box ul li:hover {
    background-color: #e0ffff;
}

.result-box {
    max-height: 100px;
    overflow: scroll;
    border-radius: 0px 0px 5px 5px;
}

.result-box li a {
    color: #22232e;
}

.result-box li:focus a {
    color: #e0ffff;
}

@media screen and (max-width:600px) {
    .container {
        display: flex;
        flex-direction: column-reverse;
    }

    .text,
    .image {
        width: 100%;
    }

    .container {
        min-width: 200px;
        padding: 40px 0px;
    }

    .text {
        display: block;
        width: 100%;
        padding: 20px 40px;
    }

    .image {
        display: flex;
        width: 200px;
        align-self: center;
        justify-content: center;
        margin: auto;
    }
}