* {
    box-sizing: border-box;
}



ul {
    list-style-type: none;
}

input,
button {
    padding: 5px 10px;
    height: 5vh;
    font-size: 1.2vh;
    border: none;
    outline: none;
    line-height: 4.5vh;
}

input {
    margin-left: 1vw;
    width: calc(80vw - 14vw);
    border-radius: 0.5vh 0 0 0.5vh;
    font-size: large;
}

button {
    width: 14vw;
    background-color: #1FA0F0;
    color: white;
    border-radius: 0 0.5vh 0.5vh 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0FAAFF;
}

input#search {
    margin-top: 5vh;
    width: 80vw;
    height: 5vh;
}

#list {
    /* border: 1px solid #ccc; */
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;

    padding: 0;


    margin-top: 5vh;
}

#list>a {
    flex-basis: 48%;
    margin-bottom: 20px;

    border: 1vw solid rgb(255, 255, 255);
    border-radius: 1vw;
    background-color: rgb(255, 255, 255);



    padding: 0;


    text-decoration: none;
    outline: none;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;

    box-shadow: 0.5vw 0.5vw gray;
}



#list>a>img {
    width: 100%;
    height: 100%;
    margin: 0;


}

#list>a>p {

    height: 5vh;
    width: 100%;

    margin: 0;
    margin-top: 3vh;

    text-align: center;
    font-size: 3vw;
    color: rgb(0, 0, 0);
}

.ad {
    background-color: whitesmoke;
    top: 0;
    position: fixed;
    width: 100vw;
    height: 10vh;
}


@media (orientation: landscape) {

    #search-form {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;

    }

    #searchBtn {
        margin-top: 5vh;
        width: 5vw;
    }

    input#search {
        margin-top: 5vh;
        width: 45vw;
        height: 5vh;
    }

    #list {
        justify-content: center;
    }

    #list>a {
        flex-basis: 51%;
        margin-bottom: 5vh;





        padding: 0;


    }

    #list>a>p {
        font-size: 30px;
    }
}