@import url('https://fonts.googleapis.com/css?family=Oswald:400, 700');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}
body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #434750;

}
ul{
    position: relative;
    transform: skewY(-15deg);
}
ul li{
    position: relative;
    list-style: none;
    width: 200px;
    background: #3e3f46;
    padding: 15px;
    z-index: var(--i);
    transition: 0.5s;
}
ul li:hover
{
    background: #33a3ee;
    transform: translateX(50px);
}
ul li::before
{
   content: '';
   position: absolute; 
   top: 0;
   left: -40px;
   width: 40px;
   height: 100%;
   background: #2e3133;
   transform-origin: right;
   transform: skewY(45deg);
   transition: 0.5s;
}
ul li:hover::before{
   background: #1f5378; 
}
ul li::after
{
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #35383e;
    transform-origin: bottom;
    transform: skewX(45deg);
    transition: 0.5s;
}
ul li:hover::after{
    background: #2982b9; 
 }
ul li a
{
    text-decoration: none;
    color: #999;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
ul li:hover a
{
    color: #fff;
}
ul li:last-child::after
{
 box-shadow: -120px 120px 20px rgba(0,0,0,0.25);
}
.social-panel-container {
    position: fixed;
    right: 0;
    bottom: 80px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel-container.visible {
    transform: translateX(-10px);
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 31px -17px rgba(0, 31, 97, 0.6);
    border: 5px solid #001F61;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Muli';
    position: relative;
    height: 169px;
    width: 444px;
    max-width: calc(100% - 10px);
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel #heart {
    color: red;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel button.close-btn {
    border: 0;
    color: #97A5CE;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel button.close-btn:focus {
    outline: none;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel p {
    background-color: #001F61;
    border-radius: 0 0 10px 10px;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    padding: 2px 17px 6px;
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    text-align: center;
    width: 235px;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel p i {
    margin: 0 5px;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel p a {
    color: white;
    text-decoration: none;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel h4 {
    margin: 20px 0;
    color: #97A5CE;
    font-family: 'Muli';
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel ul li {
    margin: 0 10px;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel ul li a {
    border: 1px solid #DCE1F2;
    border-radius: 50%;
    color: #001F61;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    text-decoration: none;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.social-panel ul li a:hover {
    border-color: #FF6A00;
    box-shadow: 0 9px 12px -9px #FF6A00;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.floating-btn {
    border-radius: 26.5px;
    background-color: #001F61;
    border: 1px solid #001F61;
    box-shadow: 0 16px 22px -17px #03153B;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
    padding: 12px 20px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.floating-btn:hover {
    background-color: #ffffff;
    color: #001F61;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.floating-btn:focus {
    outline: none;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

.floating-text {
    background-color: #001F61;
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-family: 'Muli';
    padding: 7px 15px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 998;
}

.floating-text a {
    color: #FF7500;
    text-decoration: none;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}
.social-panel-container1 {
    position: fixed;
    right: 0%;
    bottom: 80px;
    z-index: 2; /* Stay on top */
    top: 2; /* Stay at the top */
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
  .social-panel-container.visible {
        transform: translateX(0px);
    }
    .floating-btn {
        right: 10px;
    }
}
