@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900); $border-radius-size: 14px; $barbarian: #EC9B3B; $archer: #EE5487; $giant: #F6901A; $goblin: #82BB30; $wizard: #4FACFF; *, *:before, *:after { box-sizing: border-box; } body{ margin: 0; overflow: hidden; font-family: 'Poppins'; } /* body { background: linear-gradient(to bottom, rgba(140,122,122,1) 0%, rgba(175,135,124,1) 65%, rgba(175,135,124,1) 100%) fixed; background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/coc-background.jpg') no-repeat center center fixed; background-size: cover; font: 14px/20px "Lato", Arial, sans-serif; color: #9E9E9E; margin-top: 30px; } */ .count{ display: inline; font-size: 22px; } #main { width: 100vw; height: 100vh; display: block; background: url(images/BG.png) no-repeat center center ; /* background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/coc-background.jpg') no-repeat center center fixed; */ background-size: cover; } .slide-container { margin: auto; width: 600px; text-align: center; } .wrapper { visibility: hidden; position: fixed; width:100%; height:100%; display: flex; justify-content: space-around; align-items: center; left: 0; top: 0; width: 100%; height: 100%; } .timeout { visibility: hidden; position: fixed; width:100%; height:100%; display: flex; justify-content: space-around; align-items: center; left: 0; top: 0; width: 100%; height: 100%; } .clash-card { background: white; width: 300px; display: inline-block; margin: auto; border-radius: $border-radius-size + 5; position: relative; text-align: center; box-shadow: -1px 15px 30px -12px black; z-index: 9999; } .clash-card__image { position: relative; height: 230px; margin-bottom: 35px; border-top-left-radius: $border-radius-size; border-top-right-radius: $border-radius-size; } .clash-card__image--archer { background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/archer-bg.jpg'); img { width: 400px; position: absolute; top: -34px; left: -37px; } } .clash-card__level { text-transform: uppercase; font-size: 12px; font-weight: 700; margin-bottom: 3px; } .clash-card__level--barbarian { color: $barbarian; } .clash-card__level--archer { color: $archer; } .clash-card__level--giant { color: $giant; } .clash-card__level--goblin { color: $goblin; } .clash-card__level--wizard { color: $wizard; } .clash-card__unit-name { font-size: 26px; color: black; font-weight: 900; margin-bottom: 5px; } .clash-card__unit-description { padding: 20px; margin-bottom: 10px; } .clash-card__unit-stats--barbarian { background: $barbarian;