/* ======================= */ #copy_ws { position: relative; display: flex; flex-direction: row; align-items: center; margin: 0; padding: 0; line-height: 0; transition: 0.5s all ease; } #copy_ws span { position: absolute; padding: 8px 7px; margin: 0 0 0 -42px; border: solid 1px #000; border-radius: 4px; font-family: 'Poppins'; font-size: 9px; font-weight: 400; text-transform: capitalize; text-align: center; color: #000; cursor: default; filter: contrast(0.1) brightness(10); opacity: 0.4; transition: 0.5s all ease; } #copy_ws span::after { content: ""; position: absolute; left: 100%; top: 4px; background: none; border-top: 4px solid transparent; border-left: 7px solid #000000; border-bottom: 4px solid transparent; } #copy_ws .letra { position: absolute; right: 0; z-index: 0; transition: 0.5s all ease; } #copy_ws .letra img { width: 25px; padding: 3px; border: solid 1px #000; border-radius: 100px; filter: contrast(0.1) brightness(10); opacity: 0.4; transition: 0.5s all ease; } #copy_ws .logo{ position: relative; margin-right: -50px; opacity: 0; transition: 0.5s all ease; } #copy_ws .logo a { cursor: default; transition: 0.5s all ease; } #copy_ws .logo img { width: 120px; filter: contrast(0.1) brightness(10); opacity: 0.4; transition: 0.5s all ease; } /* ======================== */ /* //////// HOVER ////////*/ #copy_ws:hover .letra { margin-right: 130px; transform: rotate(360deg); opacity: 0; transition: 0.7s all ease; transition-delay: 0.3s; } #copy_ws:hover .logo { margin-right: 0; opacity: 1; transition-delay: 0.5s } #copy_ws:hover .logo a{ cursor: pointer; } #copy_ws:hover span{ margin: 0 0 0 -95px; opacity: 0; transform: scale(0.5); transition: 0.7s all ease; transition-delay: 0.1s; } /* ======================== */ /* ////// RESPONSIVE //////*/ @media (max-width: 1024px){ #copy_ws { display: flex; flex-direction: column; align-items: center; justify-content: center; } #copy_ws .letra { right: 0; } #copy_ws:hover .letra { margin-right: 120px; } #copy_ws:hover .logo { margin-top: 5px; z-index: 2; } #copy_ws span{ margin: 0 0 0 -85px; } } /* ======================== */ @media (max-width: 600px){ #copy_ws { display: flex; justify-content: center; flex-direction: column; align-items: center; } #copy_ws .letra { right: 48px; } #copy_ws:hover .letra { margin-right: 0px; } #copy_ws .logo{ margin: 0; opacity: 0; transition: 0.6s all ease; } #copy_ws:hover .logo { margin-top: 5px; z-index: 2; } #copy_ws span{ top: -22px; margin: 0; } #copy_ws:hover span{ margin: 0; } #copy_ws span::after { left: 41%; top: 16px; border-top: 4px solid #000000; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 4px solid transparent; } }