/* Importing Poppins font from Google Fonts */
@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;
}

html, body {
    display: grid;
    height: 100vh;
    place-items: center;
    /* background-color: #4682B4; */
}

.container {
    position: relative;
    height: 65px;
    width: 250px;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 5px 5px 5px 4px rgba(0, 0, 0, 0.35);
}

.container::before {
    content: "share";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background-color: beige; */
    border-radius: 4px;
    color: #4682B4;
    font-size: 25px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s linear;
}

.container:hover::before {
    left: -250px;
}

.container .icons {
    position: absolute;
    top: 0;
    right: -250px;
    height: 100%;
    width: 100%;
    /* background-color: beige; */
    border-radius: 4px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

.container:hover .icons {
    right: 0;
}

.icons i {
    font-size: 22px;
    color: #4682B4;
    transition: all 0.3s ease;
}

.icons i:hover {
    transform: scale(1.5);
}