﻿.circle {
  /*margin: 36px;*/
  display: inline-block;
  padding:3px;
  text-align: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #002e57;
    background:#002e57;
}

.circle::before,
.circle::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.circle,
.circle::before,
.circle::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.circle {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #002e57;
  color:#ffd800;
  line-height: 50px;
  overflow: hidden;
  background-color:#002e57;
}

.circle:hover {
  color: #fff;
}
.circle::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
 
}
/*.circle:hover::after {
  background:#ffd800;
  border-radius: 50%;
  -webkit-transform: scale(.9);
  transform: scale(.9);
}*/

.circle1 {
  opacity: 0.4;
}

.circle2 {
  opacity: 0.6;
}

.circle3 {
  opacity: 0.8;
}

.circle a {
  text-decoration: none;
  color: #1d2087;

}

.circle h2 {
  font-size:40px;
}

.circle h2 small {
  color: #fff;
}

.circle p {
    font-size: 12px;
    line-height: 21px;
    color: #fff;
}

@media only screen and (min-device-width :768px) and (max-device-width :1024px) 
{
.circle {
    /* margin: 36px; */
    display: inline-block;
    padding: 3px;
    text-align: center;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 2px solid #002e57;
    background-color:#002e57;
    
}
.circle p {
    font-size: 9px;
    line-height: 11px;
    color: #fff;
}
}