﻿@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');

ol.sample1{
  counter-reset: list;
  list-style: none;
  padding: 0;
  width: 100%;
  font: 18px/1.6 'arial narrow', sans-serif;

}

.sample1 a.text {
  position: relative;
  display: flex;
  margin: 10px;
  left: 25px;
  text-decoration: none;
  width: 80%;
  height: 42px;
  background: #d7f6ff;
  color: #333;
  font-weight: bold;
  transition: all .3s ease-out;
  align-items: center;
  line-height: 2;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.sample1 a.text:hover {
  background: #ffd9d3;
}

.sample1 a.text:before {
  display: flex;
  content: counter(list);
  counter-increment: list;
  position: relative;
  right: 8px;
  height: 42px;
  width: 42px;
  background: #0099ce;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #fff;
}

@media screen and (max-width: 780px){

.sample1 a.text{
  margin: 20px 10px;
  left: auto;
  width: auto;
  font-size: 0.95em;
}

}