@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

/* hero */

.hero {
    width: 100%;
    height: 100vh;
    background: linear-gradient(#f44336, #730228);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* selector (container) */

.selector {
    width: 350px;
}

/* select field */

.select {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* down arrow */

.select i {
    transition: transform 0.5s;
}

/* list items container (ul)*/

#list {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    overflow: hidden;
}

/* options or list items */

.options {
    width: 100%;
    padding: 15px 0 15px 70px;
    list-style: none;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.options:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* option icons */

.options i {
    font-size: 20px;
    position: absolute;
    left: 25px;
}

.options i.fa-facebook {
    color: #1877F2;
    /* Facebook Blue */
}

.options i.fa-youtube {
    color: #FF0000;
    /* YouTube Red */
}

.options i.fa-instagram {
    color: #E1306C;
    /* Instagram Pink */
}

.options i.fa-twitter {
    color: #1DA1F2;
    /* Twitter Blue */
}

.options i.fa-whatsapp {
    color: #25D366;
    /* WhatsApp Green */
}

/* hide class for list */

.hide {
    visibility: hidden;
}

/* rotate class for down arrow */

.rotate {
    transform: rotate(180deg);
}

/* responsiveness */

@media (max-width: 400px) {

    .selector {
        width: 300px;
    }
}

@media (max-width: 340px) {

    .selector {
        width: 280px;
    }
}