@mn-cl: #3394e6; @wht: #fff; @txt: #000; @blk: #000; @keyframes flipInY { from { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); transform: perspective(400px) rotate3d(0, 1, 0, 90deg); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; opacity: 0; } 40% { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); transform: perspective(400px) rotate3d(0, 1, 0, -20deg); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } 60% { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); transform: perspective(400px) rotate3d(0, 1, 0, 10deg); opacity: 1; } 80% { -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); transform: perspective(400px) rotate3d(0, 1, 0, -5deg); } to { -webkit-transform: perspective(400px); transform: perspective(400px); } } .flipInY { backface-visibility: visible !important; animation-name: flipInY; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } .ox__gad { padding: 20px 0; } .ox__gad * { box-sizing: border-box; } .ox__gad *:focus { outline: none; } .ox__btn { cursor: pointer; border-radius: 6px; padding: 0.5rem 2.5rem 0.5rem; text-align: center; font-size: 1.2rem; font-weight: 400; text-decoration: none; display: inline-block; border: 0px solid transparent; line-height: 1; background: @mn-cl; color: @wht; border: 1px solid darken(@mn-cl, 5%); transition: all 250ms ease-out; &:focus { box-shadow: 0px 0px transparent; } &:hover { background: lighten(@mn-cl, 10%); color: @wht; } &:active, &:focus { background: @mn-cl; color: @wht; border: 1px solid darken(@mn-cl, 5%); &:hover { background: lighten(@mn-cl, 10%); color: @wht; } } } .ox { &__input { padding: 0.5rem 1rem 0.5rem; display: inline-block; background: @wht; border: 1px solid darken(@wht, 15%); border-radius: 6px; } &__title { text-align: center; margin: 15px 0; padding: 0; @media (max-width: 560px) { font-size: 1.35rem; } } &__input { padding: 0.5rem 1rem 0.5rem; display: inline-block; background: @wht; border: 1px solid darken(@wht, 15%); border-radius: 6px; } &__title { text-align: center; margin: 15px 0; padding: 0; @media (max-width: 560px) { font-size: 1.35rem; } &-big { font-weight: 800; font-size: 2rem; @media (max-width: 560px) { font-size: 1.5rem; } } } &__names { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 15px; grid-template-rows: auto; @media (max-width: 767px) { grid-template-columns: 1fr; } &-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; label { margin-bottom: 5px; } } } &__rezult { display: none; padding: 15px; } &__item { .alignleft { float: left; margin-right: 10px; margin-bottom: 16px; } &:after { content: ''; display: block; width: 100%; height: 1px; clear: both; } } } .koloda { text-align: center; &__img { max-width: 100%; cursor: pointer; } } .kards { display: flex; justify-content: center; margin-bottom: 1.5rem; display: none; &__item { margin: 0.5rem; border: 1px solid darken(#fff, 15%); border-radius: 10px; } &__img { box-shadow: 0px 15px 20px -15px rgba(0, 0, 0, 0.5); transition: all 250ms ease-out; opacity: 0; max-width: 100%; } } .show { opacity: 1; &.clicker { cursor: pointer; &:hover { box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.5); opacity: 0.85; } } } .forkards { display: none; margin-bottom: 1.5rem; } .findking { display: grid; grid-template-rows: auto; grid-template-columns: 1fr 1fr 1fr; max-width: 400px; margin: 0 auto; &__item { text-align: center; //width: 33%; img { max-width: 100%; box-shadow: 0px 15px 20px -15px fade(@blk, 50%); } } } .uking { transition: all 250ms ease-out; transform: rotate(0deg); &.spin { transform: rotate(360deg); } } .btns { text-align: center; margin: 20px auto; } .ox_smalltext { display: block; font-size: 1rem; } #ox__rezult { display: none; max-width: 750px; margin: 0 auto; border: 1px solid lighten(@blk, 15%); border-radius: 5px; padding: 5px 15px; } .rezult-list { display: grid; grid-template-rows: auto; grid-template-columns: 150px calc(~'100% - 150px - 2rem'); grid-gap: 2rem; margin: 1rem auto 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid lighten(@blk, 15%); @media (max-width: 560px) { grid-template-columns: 100%; grid-gap: .5rem; } &__img { position: relative; height: 200px; @media (max-width: 560px) { text-align: center; } img { width: 115px; } } &__title { font-weight: 800; font-size: 1.75rem; @media (max-width: 560px) { text-align: center; font-size: 1.35rem; width: 100%; } } &__cardtitle { background: darken(@wht, 10%); padding: 10px 15px; grid-column: span 2; font-weight: 800; font-size: 1.75rem; @media (max-width: 560px) { grid-column: span 1; text-align: center; font-size: 1.35rem; } } &__info { display: flex; align-items: center; } }