dupPRdetect/static/css/wave.css

1274 lines
26 KiB
CSS

/* percent */
.circle-chart {
cursor: pointer;
float: left;
margin: 10px;
height: 400px;
position: relative;
width: 400px;
}
.circle-chart.small {
height: 200px;
width: 200px;
}
.circle-chart p {
color: #d2eeff;
font-family: sans-serif;
font-size: 6em;
font-weight: 600;
line-height: 1em;
margin-top: -0.5em;
position: absolute;
top: 50%;
left: 0;
text-align: center;
width: 100%;
-webkit-animation: fadein 1.5s;
/* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 1.5s;
/* Firefox < 16 */
-ms-animation: fadein 1.5s;
/* Internet Explorer */
-o-animation: fadein 1.5s;
/* Opera < 12.1 */
animation: fadein 1.5s;
}
.circle-chart.small p {
font-size: 3.3em;
}
.circle-chart .bar {
height: 80%;
margin: -40% 0 0 -5px;
position: absolute;
left: 50%;
top: 50%;
width: 3%;
}
.circle-chart .bar:after, .circle-chart.double .bar:before {
background: #fffbd2;
border-radius: 10px;
content: "";
height: 15%;
position: absolute;
top: -10%;
left: 0;
width: 100%;
}
.circle-chart.double .bar:after, .circle-chart.double .bar:before {
height: 10%;
width: 80%;
}
.circle-chart.double .bar:before { left: 125%; }
.circle-chart.green p { color: #8CC63F; }
.circle-chart.green .bar:after, .circle-chart.green .bar:before {
background: #8CC63F;
}
.circle-chart .bar:nth-child(2) {
-ms-transform: rotate(10deg);
-webkit-transform: rotate(10deg);
transform: rotate(10deg);
}
.circle-chart .bar:nth-child(3) {
-ms-transform: rotate(20deg);
-webkit-transform: rotate(20deg);
transform: rotate(20deg);
}
.circle-chart .bar:nth-child(4) {
-ms-transform: rotate(30deg);
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
}
.circle-chart .bar:nth-child(5) {
-ms-transform: rotate(40deg);
-webkit-transform: rotate(40deg);
transform: rotate(40deg);
}
.circle-chart .bar:nth-child(6) {
-ms-transform: rotate(50deg);
-webkit-transform: rotate(50deg);
transform: rotate(50deg);
}
.circle-chart .bar:nth-child(7) {
-ms-transform: rotate(60deg);
-webkit-transform: rotate(60deg);
transform: rotate(60deg);
}
.circle-chart .bar:nth-child(8) {
-ms-transform: rotate(70deg);
-webkit-transform: rotate(70deg);
transform: rotate(70deg);
}
.circle-chart .bar:nth-child(9) {
-ms-transform: rotate(80deg);
-webkit-transform: rotate(80deg);
transform: rotate(80deg);
}
.circle-chart .bar:nth-child(10) {
-ms-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
.circle-chart .bar:nth-child(11) {
-ms-transform: rotate(100deg);
-webkit-transform: rotate(100deg);
transform: rotate(100deg);
}
.circle-chart .bar:nth-child(12) {
-ms-transform: rotate(110deg);
-webkit-transform: rotate(110deg);
transform: rotate(110deg);
}
.circle-chart .bar:nth-child(13) {
-ms-transform: rotate(120deg);
-webkit-transform: rotate(120deg);
transform: rotate(120deg);
}
.circle-chart .bar:nth-child(14) {
-ms-transform: rotate(130deg);
-webkit-transform: rotate(130deg);
transform: rotate(130deg);
}
.circle-chart .bar:nth-child(15) {
-ms-transform: rotate(140deg);
-webkit-transform: rotate(140deg);
transform: rotate(140deg);
}
.circle-chart .bar:nth-child(16) {
-ms-transform: rotate(150deg);
-webkit-transform: rotate(150deg);
transform: rotate(150deg);
}
.circle-chart .bar:nth-child(17) {
-ms-transform: rotate(160deg);
-webkit-transform: rotate(160deg);
transform: rotate(160deg);
}
.circle-chart .bar:nth-child(18) {
-ms-transform: rotate(170deg);
-webkit-transform: rotate(170deg);
transform: rotate(170deg);
}
.circle-chart .bar:nth-child(19) {
-ms-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.circle-chart .bar:nth-child(20) {
-ms-transform: rotate(190deg);
-webkit-transform: rotate(190deg);
transform: rotate(190deg);
}
.circle-chart .bar:nth-child(21) {
-ms-transform: rotate(200deg);
-webkit-transform: rotate(200deg);
transform: rotate(200deg);
}
.circle-chart .bar:nth-child(22) {
-ms-transform: rotate(210deg);
-webkit-transform: rotate(210deg);
transform: rotate(210deg);
}
.circle-chart .bar:nth-child(23) {
-ms-transform: rotate(220deg);
-webkit-transform: rotate(220deg);
transform: rotate(220deg);
}
.circle-chart .bar:nth-child(24) {
-ms-transform: rotate(230deg);
-webkit-transform: rotate(230deg);
transform: rotate(230deg);
}
.circle-chart .bar:nth-child(25) {
-ms-transform: rotate(240deg);
-webkit-transform: rotate(240deg);
transform: rotate(240deg);
}
.circle-chart .bar:nth-child(26) {
-ms-transform: rotate(250deg);
-webkit-transform: rotate(250deg);
transform: rotate(250deg);
}
.circle-chart .bar:nth-child(27) {
-ms-transform: rotate(260deg);
-webkit-transform: rotate(260deg);
transform: rotate(260deg);
}
.circle-chart .bar:nth-child(28) {
-ms-transform: rotate(270deg);
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
}
.circle-chart .bar:nth-child(29) {
-ms-transform: rotate(280deg);
-webkit-transform: rotate(280deg);
transform: rotate(280deg);
}
.circle-chart .bar:nth-child(30) {
-ms-transform: rotate(290deg);
-webkit-transform: rotate(290deg);
transform: rotate(290deg);
}
.circle-chart .bar:nth-child(31) {
-ms-transform: rotate(300deg);
-webkit-transform: rotate(300deg);
transform: rotate(300deg);
}
.circle-chart .bar:nth-child(32) {
-ms-transform: rotate(310deg);
-webkit-transform: rotate(310deg);
transform: rotate(310deg);
}
.circle-chart .bar:nth-child(33) {
-ms-transform: rotate(320deg);
-webkit-transform: rotate(320deg);
transform: rotate(320deg);
}
.circle-chart .bar:nth-child(34) {
-ms-transform: rotate(330deg);
-webkit-transform: rotate(330deg);
transform: rotate(330deg);
}
.circle-chart .bar:nth-child(35) {
-ms-transform: rotate(340deg);
-webkit-transform: rotate(340deg);
transform: rotate(340deg);
}
.circle-chart .bar:nth-child(36) {
-ms-transform: rotate(350deg);
-webkit-transform: rotate(350deg);
transform: rotate(350deg);
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Internet Explorer */
@-ms-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Opera < 12.1 */
@-o-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* wave */
@import url(//fonts.googleapis.com/css?family=Lato:300:400);
@import "compass/css3";
/* body {
margin:0;
} */
/*
h1 {
font-family: 'Lato', sans-serif;
font-weight:300;
letter-spacing: 2px;
font-size:48px;
}
p {
font-family: 'Lato', sans-serif;
letter-spacing: 1px;
font-size:14px;
color: #333333;
} */
.header {
position:relative;
text-align:center;
background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
color:white;
}
.logo {
width:50px;
fill:white;
padding-right:15px;
display:inline-block;
vertical-align: middle;
}
.white{
color: #fff;
}
.inner-header {
height:75%;
width:100%;
margin: 0;
padding: 0;
}
.flex { /*Flexbox for containers*/
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.waves {
position:relative;
width: 100%;
height:15vh;
margin-bottom:-7px; /*Fix for safari gap*/
min-height:100px;
max-height:150px;
}
.content {
position:relative;
height:20vh;
text-align:center;
background-color: white;
}
/* Animation */
.parallax > use {
animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
animation-delay: -2s;
animation-duration: 7s;
}
.parallax > use:nth-child(2) {
animation-delay: -3s;
animation-duration: 10s;
}
.parallax > use:nth-child(3) {
animation-delay: -4s;
animation-duration: 13s;
}
.parallax > use:nth-child(4) {
animation-delay: -5s;
animation-duration: 20s;
}
@keyframes move-forever {
0% {
transform: translate3d(-90px,0,0);
}
100% {
transform: translate3d(85px,0,0);
}
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
.waves {
height:40px;
min-height:40px;
}
.content {
height:30vh;
}
h1 {
font-size:24px;
}
}
/* pulse button */
body, html {
height: 100%;
background: #fff;
}
.container {
width: 200px;
height: 100%;
margin: 0 auto 0;
-webkit-perspective: 1000;
-webkit-backface-visibility: hidden;
background: rgba(255, 255, 255, 0);
}
.pulse-button {
position: relative;
top: 50%;
left: 50%;
margin-left: -50px;
margin-top: -50px;
display: block;
width: 100px;
height: 100px;
font-size: 1.3em;
font-weight: light;
font-family: "Trebuchet MS", sans-serif;
text-transform: uppercase;
text-align: center;
line-height: 100px;
letter-spacing: -1px;
color: white;
border: none;
border-radius: 50%;
background: #5a99d4;
cursor: pointer;
box-shadow: 0 0 0 0 rgba(90, 153, 212, 0.5);
-webkit-animation: pulse 1.5s infinite;
}
.pulse-button:hover {
-webkit-animation: none;
}
@-webkit-keyframes pulse {
0% {
-webkit-transform: scale(0.9);
-moz-transform: scale(0.9);
-ms-transform: scale(0.9);
-o-transform: scale(0.9);
transform: scale(0.9);
}
70% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
}
100% {
-webkit-transform: scale(0.9);
-moz-transform: scale(0.9);
-ms-transform: scale(0.9);
-o-transform: scale(0.9);
transform: scale(0.9);
box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
}
}
/* title */
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
html {
height: 100%;
}
/* body {
display: flex;
height: 100%;
background-color: #55a4e9;
} */
.word {
position: relative;
top: 20%;
margin: auto;
height: 100px;
color: white;
font: 700 normal 2.6666666667em 'Montserrat', sans-serif;
text-shadow: 1px 2px #264158, 2px 4px #264158, 3px 6px #264158, 4px 8px #264158, 5px 10px #264158, 6px 12px #264158, 7px 14px #264158, 8px 16px #264158, 9px 18px #264158, 10px 20px #264158;
}
.word-no-effects {
position: relative;
top: 20%;
margin: auto;
padding-top: 20px;
height: 100px;
color: white;
font: 700 normal 2.6666666667em 'Montserrat', sans-serif;
}
body {
background: #111d27;
color: #111;
min-width: 320px;
font-size: 16px;
font-weight: 300;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-webkit-backface-visibility: hidden;
position: relative;
padding: 0px !important;
margin: 0px !important;
}
/* result */
/* body {
overflow: hidden;
font-family: 'Roboto', sans-serif;
} */
#info {
display: none;
}
/* the app - a beer menu / ordering app */
#menu {
position: relative;
display: flex;
flex-direction: column;
top: 187.4px;
left: 187.4px;
/* note: the translateZ(0) enables hardware accel */
/* without it, there is a weird gap between panels */
transform: translate(-50%, -50%) translateZ(0);
height: 40vh;
width: 40vh;
border-radius: 2vh;
overflow: hidden;
/* box-shadow: 4vh 7vh 14vh -6vh rgba(0, 0, 0, 0.35), -4vh 7vh 14vh -6vh rgba(0, 0, 0, 0.35); */
}
/* the actual order form (not initially visible) */
#order {
display: none;
height: 20vh;
}
#order input, #order select, #order option {
outline: none !important;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
cursor: pointer;
}
#order #choice {
display: none;
}
#order label[for="quantity"] {
position: absolute;
width: 100%;
top: 7.5vh;
text-align: center;
font-size: 10vh;
line-height: 10vh;
z-index: 15;
font-weight: 100;
}
#order #quantity {
position: absolute;
top: 20vh;
left: 50%;
transform: translateX(-50%);
z-index: 15;
width: 30vh;
}
#order #quantity::-ms-track {
width: 30vh;
background: transparent;
border-color: transparent;
color: transparent;
}
#order #quantity::-webkit-slider-thumb {
-webkit-appearance: none;
width: 3vh;
height: 4.5vh;
border-radius: 1.25vh;
margin-top: -2.25vh;
box-shadow: 0.25vh 0.25vh 1vh rgba(0, 0, 0, 0.25);
}
#order #quantity::-moz-range-thumb {
width: 3vh;
height: 4.5vh;
border: none;
border-radius: 1.25vh;
box-shadow: 0.25vh 0.25vh 1vh rgba(0, 0, 0, 0.25);
}
#order #quantity::-ms-thumb {
width: 3vh;
height: 4.5vh;
border-radius: 1.25vh;
box-shadow: 0.25vh 0.25vh 1vh rgba(0, 0, 0, 0.25);
}
#order #quantity::-webkit-slider-runnable-track {
width: 100%;
height: 0.5vh;
border-radius: 0.25vh;
margin-top: -0.25vh;
}
#order #table {
position: absolute;
border: none;
background: none;
font-size: 2.5vh;
line-height: 2.5vh;
height: 2.5vh;
left: 5vh;
bottom: 11.25vh;
}
#order #table option {
background: transparent !important;
}
#order #back, #order #submit {
position: absolute;
border: none;
background: none;
font-weight: 500;
text-transform: uppercase;
cursor: pointer;
}
#order #submit {
right: 5vh;
bottom: 11.25vh;
font-size: 2.5vh;
}
#order #back {
right: 5vh;
bottom: 6vh;
font-size: 2.5vh;
}
#order.opt1 {
background: radial-gradient(circle at top left, #dfb361, #dfb361, #d8a33f);
}
#order.opt1 #quantity::-webkit-slider-thumb {
background: linear-gradient(-45deg, #b94e2f, #d6795e);
}
#order.opt1 #quantity::-moz-range-thumb {
background: linear-gradient(-45deg, #b94e2f, #d6795e);
}
#order.opt1 #quantity::-ms-thumb {
background: linear-gradient(-45deg, #b94e2f, #d6795e);
}
#order.opt1 #quantity::-webkit-slider-runnable-track {
background: #3b3b56;
}
#order.opt1 #quantity::-moz-range-track {
background: #3b3b56;
}
#order.opt1 #quantity::-ms-track {
background: linear-gradient(to bottom, transparent 0%, transparent 55%, #3b3b56 55%, #3b3b56 65%, transparent 65%, transparent 100%);
}
#order.opt1 #table {
color: #f6ec82;
}
#order.opt1 #table option {
color: #3b3b56;
}
#order.opt1 #back, #order.opt1 #submit, #order.opt1 label {
color: #3b3b56;
}
#order.opt2 {
background: radial-gradient(circle at top left, #d6795e, #d6795e, #ce5e3d);
}
#order.opt2 #quantity::-webkit-slider-thumb {
background: linear-gradient(-45deg, #743a53, #a75377);
}
#order.opt2 #quantity::-moz-range-thumb {
background: linear-gradient(-45deg, #743a53, #a75377);
}
#order.opt2 #quantity::-ms-thumb {
background: linear-gradient(-45deg, #743a53, #a75377);
}
#order.opt2 #quantity::-webkit-slider-runnable-track {
background: #fff;
}
#order.opt2 #quantity::-moz-range-track {
background: #fff;
}
#order.opt2 #quantity::-ms-track {
background: linear-gradient(to bottom, transparent 0%, transparent 55%, #fff 55%, #fff 65%, transparent 65%, transparent 100%);
}
#order.opt2 #table {
color: #dfb361;
}
#order.opt2 #table option {
color: #fff;
}
#order.opt2 #back, #order.opt2 #submit, #order.opt2 label {
color: #fff;
}
#order.opt3 {
background: radial-gradient(circle at top left, #a75377, #a75377, #8c4564);
}
#order.opt3 #quantity::-webkit-slider-thumb {
background: linear-gradient(-45deg, #1c1c29, #3b3b56);
}
#order.opt3 #quantity::-moz-range-thumb {
background: linear-gradient(-45deg, #1c1c29, #3b3b56);
}
#order.opt3 #quantity::-ms-thumb {
background: linear-gradient(-45deg, #1c1c29, #3b3b56);
}
#order.opt3 #quantity::-webkit-slider-runnable-track {
background: #f6ec82;
}
#order.opt3 #quantity::-moz-range-track {
background: #f6ec82;
}
#order.opt3 #quantity::-ms-track {
background: linear-gradient(to bottom, transparent 0%, transparent 55%, #f6ec82 55%, #f6ec82 65%, transparent 65%, transparent 100%);
}
#order.opt3 #table {
color: #d6795e;
}
#order.opt3 #table option {
color: #f6ec82;
}
#order.opt3 #back, #order.opt3 #submit, #order.opt3 label {
color: #f6ec82;
}
#order.opt4 {
background: radial-gradient(circle at top left, #3b3b56, #3b3b56, #2a2a3e);
}
#order.opt4 #quantity::-webkit-slider-thumb {
background: linear-gradient(-45deg, #d9d9d9, #fff);
}
#order.opt4 #quantity::-moz-range-thumb {
background: linear-gradient(-45deg, #d9d9d9, #fff);
}
#order.opt4 #quantity::-ms-thumb {
background: linear-gradient(-45deg, #d9d9d9, #fff);
}
#order.opt4 #quantity::-webkit-slider-runnable-track {
background: #dfb361;
}
#order.opt4 #quantity::-moz-range-track {
background: #dfb361;
}
#order.opt4 #quantity::-ms-track {
background: linear-gradient(to bottom, transparent 0%, transparent 55%, #dfb361 55%, #dfb361 65%, transparent 65%, transparent 100%);
}
#order.opt4 #table {
color: #a75377;
}
#order.opt4 #table option {
color: #dfb361;
}
#order.opt4 #back, #order.opt4 #submit, #order.opt4 label {
color: #dfb361;
}
/* info panels for each beer */
.panel {
position: relative;
flex-grow: 1;
transition: all 0.4s ease;
transition-delay: 0s;
/* the icon for this beer (initially invisible) */
/* each panel has its own color scheme */
}
.panel .price {
font-size: 0;
}
.panel .name, .panel .type, .panel .price, .panel .abv {
position: absolute;
transition: all 0.4s ease;
transition-delay: 0;
}
.panel .name {
left: 5vh;
top: 50%;
margin-top: -2.5vh;
font-size: 5vh;
line-height: 5vh;
font-weight: 300;
}
.panel .type {
left: 5vh;
top: 50%;
margin-top: 2.5vh;
font-size: 0;
line-height: 2.5vh;
font-weight: 100;
}
.panel .price {
top: 50%;
left: 5vh;
margin-top: 20vh;
line-height: 2.5vh;
font-weight: 500;
}
.panel .abv {
top: 50%;
right: 5vh;
font-size: 2.5vh;
line-height: 2.5vh;
font-weight: 500;
}
.panel svg {
position: absolute;
left: 1vh;
top: 50%;
margin-top: -10vh;
height: 20vh;
fill: none;
stroke-width: 2%;
stroke-linejoin: round;
stroke-linecap: round;
opacity: 0;
transition: all 0.4s ease;
transition-delay: 0s;
}
.panel:nth-of-type(1) {
z-index: 9;
background: radial-gradient(circle at top left, #f6ec82, #f6ec82, #f3e65c);
filter: drop-shadow(0 0 1vh #b58325);
}
.panel:nth-of-type(1) h1, .panel:nth-of-type(1) h2, .panel:nth-of-type(1) h3 {
color: #dfb361;
}
.panel:nth-of-type(1) .price {
color: #dfb361;
}
.panel:nth-of-type(1) .abv {
color: #fff;
}
.panel:nth-of-type(1) svg {
stroke: #fff;
}
.panel:nth-of-type(2) {
z-index: 8;
background: radial-gradient(circle at top left, #dfb361, #dfb361, #d8a33f);
filter: drop-shadow(0 0 1vh #a4452a);
}
.panel:nth-of-type(2) h1, .panel:nth-of-type(2) h2, .panel:nth-of-type(2) h3 {
color: #d6795e;
}
.panel:nth-of-type(2) .price {
color: #d6795e;
}
.panel:nth-of-type(2) .abv {
color: #f6ec82;
}
.panel:nth-of-type(2) svg {
stroke: #f6ec82;
}
.panel:nth-of-type(3) {
z-index: 7;
background: radial-gradient(circle at top left, #d6795e, #d6795e, #ce5e3d);
filter: drop-shadow(0 0 1vh #633146);
}
.panel:nth-of-type(3) h1, .panel:nth-of-type(3) h2, .panel:nth-of-type(3) h3 {
color: #a75377;
}
.panel:nth-of-type(3) .price {
color: #a75377;
}
.panel:nth-of-type(3) .abv {
color: #dfb361;
}
.panel:nth-of-type(3) svg {
stroke: #dfb361;
}
.panel:nth-of-type(4) {
z-index: 6;
background: radial-gradient(circle at top left, #a75377, #a75377, #8c4564);
filter: drop-shadow(0 0 1vh #11111a);
}
.panel:nth-of-type(4) h1, .panel:nth-of-type(4) h2, .panel:nth-of-type(4) h3 {
color: #3b3b56;
}
.panel:nth-of-type(4) .price {
color: #3b3b56;
}
.panel:nth-of-type(4) .abv {
color: #d6795e;
}
.panel:nth-of-type(4) svg {
stroke: #d6795e;
}
/* panels get larger and show more info when you hover over them */
.panel:hover {
flex-grow: 2;
}
.panel:hover .name {
left: 10vh;
margin-top: -3.75vh;
}
.panel:hover .type {
left: 10vh;
margin-top: 1.75vh;
font-size: 2.5vh;
}
.panel:hover .abv {
margin-top: 1.25vh;
}
.panel:hover svg {
opacity: 1;
transition-delay: 0.4s;
}
/* when you click on a panel, the others are hidden */
.panel.hidden {
flex-grow: 0.0000000001;
}
.panel.hidden * {
opacity: 0;
pointer-events: none;
}
/* when you click on a panel, it becomes active */
.panel.active {
flex-grow: 1;
transition-delay: 0s;
}
.panel.active svg {
transition-delay: 0s;
height: 15vh;
margin-top: 0;
left: 2.5vh;
opacity: 1;
}
.panel.active .name, .panel.active .type, .panel.active .abv, .panel.active .price {
transition-delay: 0s;
}
.panel.active .name {
left: 15vh;
margin-top: 5vh;
font-size: 7.5vh;
font-weight: 100;
}
.panel.active .type {
font-size: 0;
}
.panel.active .abv {
margin-top: 20vh;
}
.panel.active .price {
font-size: 2.5vh;
}
.panel.active:nth-of-type(1) .name, .panel.active:nth-of-type(1) .abv {
color: #3b3b56;
}
.panel.active:nth-of-type(1) svg {
stroke: #d6795e;
}
.panel.active:nth-of-type(2) .name, .panel.active:nth-of-type(2) .abv {
color: #fff;
}
.panel.active:nth-of-type(2) svg {
stroke: #a75377;
}
.panel.active:nth-of-type(3) .name, .panel.active:nth-of-type(3) .abv {
color: #f6ec82;
}
.panel.active:nth-of-type(3) svg {
stroke: #3b3b56;
}
.panel.active:nth-of-type(4) .name, .panel.active:nth-of-type(4) .abv {
color: #dfb361;
}
.panel.active:nth-of-type(4) svg {
stroke: #fff;
}
@media (orientation: landscape) {
/* put a blurred image in the background, just for pretty presentation */
body::before {
content: '';
display: block;
height: 0vh;
width: 100%;
/* background: url('http://lorempixel.com/640/480/food') center/cover; */
filter: blur(5vh);
transform: scale(1.2);
opacity: 0.4;
}
}
@media (orientation: portrait) {
#menu {
border-radius: 0;
width: 100%;
height: 100vh;
}
}
/* return */
@import url('https://fonts.googleapis.com/css?family=Mukta:700');
* {
box-sizing: border-box;
}
*::before, *::after {
box-sizing: border-box;
}
/* body {
font-family: 'Mukta', sans-serif;
font-size: 1rem;
line-height: 1.5;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
min-height: 100vh;
background: #f3f8fa;
} */
button {
position: relative;
display: inline-block;
cursor: pointer;
outline: none;
border: 0;
vertical-align: middle;
text-decoration: none;
background: transparent;
padding: 0;
font-size: inherit;
font-family: inherit;
}
button.learn-more {
width: 14rem;
height: auto;
}
button.learn-more .circle {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: relative;
display: block;
margin: 0;
width: 3rem;
height: 3rem;
background: #282936;
border-radius: 1.625rem;
}
button.learn-more .circle .icon {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top: 0;
bottom: 0;
margin: auto;
background: #fff;
}
button.learn-more .circle .icon.arrow {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
left: 0.625rem;
width: 1.125rem;
height: 0.125rem;
background: none;
}
button.learn-more .circle .icon.arrow::before {
position: absolute;
content: '';
top: -0.25rem;
right: 0.0625rem;
width: 0.625rem;
height: 0.625rem;
border-top: 0.125rem solid #fff;
border-right: 0.125rem solid #fff;
transform: rotate(45deg);
}
button.learn-more .button-text {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 0.75rem 0;
margin: 0 0 0 1.85rem;
color: #282936;
font-weight: 700;
line-height: 1.6;
text-align: center;
/*text-transform: uppercase;*/
}
button:hover .circle {
width: 100%;
}
button:hover .circle .icon.arrow {
background: #fff;
transform: translate(1rem, 0);
}
button:hover .button-text {
color: #fff;
}
/* @supports (display: grid) {
body {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 0.625rem;
grid-template-areas: ". main main ." ". main main .";
}
#container_button {
grid-area: main;
align-self: center;
justify-self: center;
}
}
*/
/*result tag*/
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic);
body {
background: #111d27;
color: #111;
min-width: 320px;
font-size: 16px;
font-weight: 300;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-webkit-backface-visibility: hidden;
position: relative;
padding: 50px 20px;
}
.pricing {
text-align: center;
border: 1px solid #f0f0f0;
color: #777;
font-size: 14px;
padding-left: 0;
margin-bottom: 30px;
font-family: 'Lato';
}
.pricing img {
display: block;
margin: auto;
width: 32px;
}
.pricing li:first-child,
.pricing li:last-child {
padding: 20px 13px;
}
.pricing li {
list-style: none;
padding: 13px;
}
.pricing li + li {
border-top: 1px solid #f0f0f0;
}
.pricing big {
font-size: 32px;
}
.pricing h3 {
margin-bottom: 0;
font-size: 36px;
}
.pricing span {
font-size: 12px;
color: #999;
font-weight: normal;
}
.pricing li:nth-last-child(2) {
padding: 30px 13px;
}
.pricing button {
width: auto;
margin: auto;
font-size: 15px;
font-weight: bold;
border-radius: 50px;
color: #fff;
padding: 9px 24px;
background: #aaa;
opacity: 1;
transition: opacity .2s ease;
border: none;
outline: none;
}
.pricing button:hover {
opacity: .9;
}
.pricing button:active {
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.1);
}
/* pricing color */
.p-green big,
.p-green h3 {
color: #4c7737;
}
.p-green button {
background: #4c7737;
}
.p-yel big,
.p-yel h3 {
color: #ffbb42;
}
.p-yel button {
background: #ffbb42;
}
.p-red big,
.p-red h3 {
color: #e13c4c;
}
.p-red button {
background: #e13c4c;
}
.p-blue big,
.p-blue h3 {
color: #3f4bb8;
}
.p-blue button {
background: #3f4bb8;
}
.p-whit big{
color: #09090b;
}
.p-whit h3 {
color: #e3e9ff;
}
.p-whit button {
background: #ccd2e8;
}