@import '../variables'; @import '../mixins'; .main{ display: flex; justify-content: center; } .form { display: flex; flex-direction: column; height: 80%; width: 50%; @include down(840){ width: 100%; } justify-content: center; gap: 10px; opacity: 1; animation: fade 0.2s ease-in-out forwards 1; } @keyframes fade { from { opacity: 0; } to { opacity: 1; } } .title{ font-size: 2.5em; text-align: center; } .swipe { transition: 0.6s; transform: translateX(-200%); } .activeToggler{ transition: .3s; cursor: pointer; display: flex; align-items: center; & svg{ width: 20px; height: 20px; transition: .3s; transform: rotate(-90deg); } } .active{ color: $primary; font-weight: 800; & svg{ transform: rotate(0); } }