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


body{
    display: grid;
    place-items: center;
}

.container {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-inline: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  
  input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius:5px;
    border:1px solid #a1a0a0;
  }
  
  button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #000000;
    color: #ffffff;
    font-size: medium;
    cursor: pointer;

  }
  .logo{
    background: #ffff;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  #shortenedURL {
    margin-top: 20px;
    word-break: break-all;
    width: 100%;

  }

  .fade-in{

    animation-name: fadeIn ;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transition: opacity 1s ease-in-out;
  }
  @keyframes fadeIn {
    from {
        opacity: 0;
        }
        to{
            opacity: 0.9;
        }
  }
.show_error{

    border:1px solid hsl(0, 82%, 66%);
    position: block;
    padding: 1rem;
    border-radius: 5px;
    color: hsl(0, 82%, 66%);
    text-align: center;
    display: none;
}


.url-div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border:1px solid;
    padding: 1rem;
    border-radius: 5px;
}
.icons{
    display: flex;
    align-items: center;
    gap:1rem;
    
}


.social_links img, .icons img{
  
    object-fit:fill;
    cursor: pointer;
}
.social_links img,.icons img{
    width: 30px;
    height: 30px;
}
.social_links{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap:1rem;
    justify-content: center;
    position: fixed;
    left: 10%;
    top: 50%;
    border-radius:10px;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.social_links img:hover,.icons img:hover{
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}
.share_via{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-direction: column;

}
hr{
    width: 40%;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
    border:1px solid #e9e5e5;
}
.share_via span{
    display: block;
    width: max-content;
    text-align: center;
    padding-inline: .4rem;
    background-color: #fff;
    color:#a1a0a0;
    position: absolute;
    left: 45%;
    top:22%;
    z-index: 10;
}


@media screen and (max-width:1200px) {

    .social_links{
        left: 5%;
    }
    
}
@media screen and (max-width:1000px) {

    .social_links{
        position: relative;
        flex-direction: row;
        left: 50%;
        transform: translateX(-50%);
        margin-block: 1rem;
        width: max-content;
        justify-content: center !important;
        align-content: center;
        flex-wrap: nowrap;
        
    }
    
}