@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,200;1,300&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    line-height: 1.6;
    /* height: 100%; */
    /* background: rgb(27,153,139); */
    background: linear-gradient(180deg, rgba(27,153,139,1) 0%, rgba(46,41,78,0.7823275862068966) 62%, rgba(244,96,54,0.8038793103448276) 100%);
}
h1{
    font-size: 56px;
    padding-bottom: 20px;
    font-weight: bold;
    text-align: center;
    margin: 40 0 60 0;
    font-family: 'Tangerine', cursive;
    color: #C5D86D;
    text-shadow:  2px 2px 4px #2f302bb4;;

}
form{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    /* font-family: 'Poppins', sans-serif; */
}

#search-input{
    width: 20pc;
    max-width: 400px;
    border: none;
    padding: 10px 20px;
    box-shadow: 0 0 6px rgb(0, 0,0,0.2);
    border-radius: 5px;
    font-size:18px;
    color: #333;
}
#btn{
    padding: 10px 20px;
    background-color:#E71D36;
    color: white;
    border: none;
    font-size: 18px;
    box-shadow: 0 0 6px rgb(0, 0,0,0.2);
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.results{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 20px;
}
.result{
    margin-bottom:60px ;
    width: 30%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 6px rgb(0, 0,0,0.2);
    overflow: hidden;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
.result img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
}
.result:hover img {
    opacity: 80%;
}
.result a{
    font-size: 20px;
    text-decoration: none;
    color: #000000;
    text-transform: capitalize;
    display: block;
    align-items: center;
    text-align: center;

}
#button-more{
    background-color: #C5D86D;
    font-size: 18px;
    border: none;
    color:rgb(0, 0, 0);
    padding: 10px 20px ;
    text-align: center;
    display: block;
    margin: 30px auto;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
@media screen and (max-width: 768px) {
    .results{
        padding: 20px;
        /* border-color: black 5px; */
    }
    .result{
        width: 45%;
    }
    form{
        flex-direction: column;
    }
    #btn{
        margin: 7.5%;
    }
    #search-input{
        width: auto;
    }


}
@media screen and (max-width: 480px) {
    .result{
        width: 100%;
    }
    .open-card-button{
        display: none;
    }

}

.contact-card {
     position: fixed;
    top: 20px;
    right: 10px;
    /*transform: translateY(-50%);
    */background-color: #f9f9f9;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.contact-card h2 {
    margin-top: 0;
    font-size: 16px;
}

.contact-card ul {
    font-size: 13px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-card p{
    font-size: 14px;
}
.contact-card li {
    margin-bottom: 10px;
}




.open-card-button{
    position: fixed;
    display: none;
    top: 20px;
    right: 10px;
    border: none;
    /*transform: translateY(-50%);*/
    background-color: #dab5ac;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
/* Media query for screens up to 940px */
@media (max-width: 940px) {
    .contact-card {
        display: none;
    }
    .open-card-button{
        display: block;
    }
}

.header{
    display: inline;
    margin-left: 30px;
}