body  {
    margin: 0;
    font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
}

h1 {
    font-size: 3em;
}

.background {
    background-image: url(mydiabolo/uploads/2019/mydiaboloteam99.jpg);
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.background-content {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    margin: 0 auto;
    text-align: center;
    font-size: 3rem;
    font-variant: small-caps;
}

#mainlogo {
	/*	display:none;*/
	width: 250px;
	height: 100px;
	background: url(mydiabolo/assets/images/logo/mydiabolo-logo-white.png);
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0 auto;
	padding: 0;
	text-indent: -9999px;
	z-index: -22;
	opacity: 1;
	transition: all 1s ease;
	-o-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
}

#mainlogo:hover {
	transform: scale(1.3);
	-ms-transform: scale(1.3);
	-o-transform: scale(1.3);
	-moz-transform: scale(1.3);
	-webkit-transform: scale(1.3);
	opacity: 0;
}

div.gallery {
    border: 1px solid #ccc;
    transition: 0.3s
}

div.gallery:hover {
    border: 1px solid #777;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.gallery a {
    text-decoration: none;
}

div.desc {
    padding: 15px;
    text-align: center;
}

div.desc:hover {
    color: red;
}

* {
    box-sizing: border-box;
}

.responsive {
    padding: 0 6px;
    float: left;
    width: 33.333333%;
}

@media only screen and (max-width: 700px) {
    .responsive {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }
}

.service-image-1 {
  background-image: url("mydiabolo/uploads/2019/coach-diabolo.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 50%;
  float: left;
}

.service-image-2 {
  background-image: url("mydiabolo/uploads/2019/mydiaboloteam99.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 50%;
  float: left;
}

.service-image-3 {
  background-image: url("mydiabolo/uploads/2019/diabolo-myd-hil.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 50%;
  float: left;
}

.service-image-4 {
  background-image: url("mydiabolo/uploads/2019/diabolo-camp-14.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 50%;
  float: left;
}

.service-image, .service-image-1, .service-image-2, .service-image-3, .service-image-4 {
    transition: 2.5s;
}

.service-image:hover, .service-image-1:hover, .service-image-2:hover, .service-image-3:hover, .service-image-4:hover {
    background-image: none;
    background-color: red;
}

.service-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  line-height: 1.3;
  width: 80%;
}

.service-text p {
    visibility: hidden;
}

.service-image:hover .service-text p, .service-image-1:hover .service-text p, .service-image-2:hover .service-text p, .service-image-3:hover .service-text p, .service-image-4:hover .service-text p {
    visibility: visible;
}

.service-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
  border-radius: 3em;
}

.service-text button:hover {
  background-color: #555;
  color: white;
}

.history img {
    padding-right: 200px;
}

.history h2 {
    font-family: STKaiti, DFKai-SB;
    line-height: 1.8em;
}

.history button {
    border-radius: 3em;
    padding: 0.8em;
    font-size: 0.8em;
    color: red;
    background-color: white;
    transition: 0.3s;
    border-style: solid;
    border-color: red;
}

.history button:hover {
    color: white;
    background-color: red;
}

.column-3 {
    float: left;
    width: 33.33%;
    padding: 50px;
    text-align: center;
    color: white;
}

.row {
    background-color: red;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.svg-icon {
    fill: white;
    height: 64px;
    width: 64px;
}

.aim span {
    font-weight: 300;
}

.diabolo span, .diabolo img {
    display: inline-block;
    vertical-align: middle;
}

.diabolo span a {
    text-decoration: none;
    line-height: 4;
    color: #6a6aef;
    font-weight: 300;
}

.diabolo span a:hover {
    text-decoration: underline;
    color: red;
}

@media screen and (max-width: 1200px) {
	.service-image, .service-image-1, .service-image-2, .service-image-3, .service-image-4 {
	    width: 100%;
	}
	.responsive-img {
	    width: 85%;
	}
	.history img {
	    padding-right: 0;
	    margin-right: 50px;
	}
	.history h2 {
	    font-size: 1.17em;
        -webkit-margin-before: 1em;
        -webkit-margin-after: 1em;
        line-height: 1.2em;
	}
	.column-3 {
	    width: 100%;
	    padding: 20px;
	}
}

@media only screen and (min-width: 481px) {
		#mainlogo  {
		background: url(mydiabolo/assets/images/logo/mydiabolo-logo-white.png);
		background-size: cover;
	    background-repeat: no-repeat;
	}
}