#services{
    background: white;
    position: relative;
   /* height: 70vh;  */
}

#services .sectionHeader {
    padding-top: 0;
}

.mainCard{
    opacity: 0;
    transform: translate(-20px);
    transition: all 0.3s ease-in-out;
  /*  background-color: rgba(85,98,112,0.9); */
   /* height: 450px;
    width: 350px;
    */

}

.smallerCard{
    height: 400px;
    margin-bottom: 26px;
    box-shadow: 1px 1px 1px white,
    2px 1px 1px white,
    3px 1px 1px gray,
    4px 1px 1px white,
    5px 1px 1px white,
    6px 1px 1px gray,
    7px 1px 1px white,
    8px 1px 1px white,
    9px 1px 1px gray,
    10px 1px 1px white,
    11px 1px 1px white,
    12px 1px 1px gray,
    13px 1px 1px white,
    14px 1px 1px white,
    15px 1px 1px gray,
    25px 25px 15px rgba(0,0,0,0.3);

}

.biggerCard{
    overflow: hidden;
    height: 400px;
    background-color:black;
    margin-bottom: 26px;
    box-shadow: 1px 1px 1px black,
    2px 1px 1px black,
    3px 1px 1px gray,
    4px 1px 1px black,
    5px 1px 1px black,
    6px 1px 1px gray,
    7px 1px 1px black,
    8px 1px 1px black,
    9px 1px 1px gray,
    10px 1px 1px black,
    11px 1px 1px black,
    12px 1px 1px gray,
    13px 1px 1px black,
    14px 1px 1px black,
    15px 1px 1px gray,
    25px 20px 15px rgba(0,0,0,0.3);
}

.is-showing{
    opacity: 1;
    transform: translate(0px);
}

.sectionContent{
    margin: 0 10%;
}

.sectionContent h2{
    color: #000;
    font-size: 30px;
    text-align: center;
    font-weight: 500;
    padding-top: 5%;
    padding-bottom: 5%;
}

.biggerCard h2{
    padding-top: 3%;
    padding-bottom: 0%;

}

.sectionContent img{
    height: 180px;
    width: auto;
    margin: 0 20%;
}

.biggerCard img{
    clip-path: circle(190px at center);
    width:100%;
    height:100%;
    margin:0;
}

.sectionContent p{
    margin-left: 5%;
    padding-top: 5%;
    color: gray;
    font-size: 20px;
    /**text-shadow: 2px 2px 4px #000000;*/
}

.biggerCard p{
    padding-top: 0px;
    vertical-align: bottom;
    text-align: left;
}


.containment1{
    clip-path: rect(190px);
    position:relative;
    max-width: 350px;
    min-width: 150px
    max-width: 350px;
    min-height: 150px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: auto;
    margin-left: auto;
}

.containment2{
    position:relative;
    width: 250px;
    max-height: 400px;
    min-height: 120px;
    display: inline-block;
    margin: auto;
    margin-bottom: 60px
}


/* Smartphones (portrait) ----------- */
@media only screen and (min-width : 320px) {
    /* Styles */
    #services{
        /* height: 50vh; */
    }
    .mainCard{
        /** height: 300px;
        box-shadow: none;*/
        height: 400px;
        margin-bottom: 26px;
        text-align:center;
    }
    .sectionContent h2{
        font-size: 20px;

    }

    .sectionContent p{
        font-size: 15px;
    }
}


/* Smartphones (landscape) ----------- */
/*@media only screen and (max-device-width : 736px) and (orientation : landscape) {*/
    /* Styles */
/*    #services{
        height: 100vh;
    }
}
*/
.main-container {
  width: 100%;
}
.skyblue {
	background-color: #22c8ff;
}
.deepskyblue {
	background-color: #00bfff;
}
.darkerskyblue {
	background-color: #00a6dd;
}
.carousel-indicators {
	bottom: 0;
}
.carousel-control.right,
.carousel-control.left {
	background-image: none;
}
.carousel .item {
	min-height: 350px;
	height: 100%;
	width:100%;
}
.carousel-caption h3,
.carousel .icon-container,
.carousel-caption button {
	background-color: #09c;
}
.carousel-caption h3 {
	padding: .5em;
}
.carousel .icon-container {
	display: inline-block;
	font-size: 25px;
	line-height: 25px;
	padding: 1em;
	text-align: center;
	border-radius: 50%;
}
.carousel-caption button {
	border-color: #00bfff;
	margin-top: 1em;
}

/* Animation delays */
.carousel-caption h3:first-child {
	animation-delay: 1s;
}
.carousel-caption h3:nth-child(2) {
	animation-delay: 2s;
}
.carousel-caption button {
	animation-delay: 3s;
}

.carousel-caption h1 {
    font-feature-settings: 'liga' 1, 'kern' 1;
    display: block;
    font-family: AvantGardeGothicITCW01Bd, sans-serif;
    font-weight: 600;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 15px;
/*    font-size: 6.6rem;*/
    font-weight: bold;

}
.carousel-caption img {
    height: 120px;

}
.carousel-caption  {
     top: 30px;
}
@media only screen and (max-width: 1200px) {
    .carousel-caption h1 {
    /*    font-size: 5.0rem;*/
    }
    .carousel-caption img {
        height: 100px;

    }
    .item {
       min-height: 250px;
    }

}
@media only screen and (max-width: 768px) {
    .carousel-caption h1 {
      /*  font-size: 4.0rem; */
    }
    .carousel-caption img {
         height: 90px;

    }
    .item {
       min-height: 200px;
    }
}
@media only screen and (max-width: 375px) {
    .carousel-caption h1 {
       /* font-size: 3.0rem; */
    }
    .carousel-caption img {
        height: 80px;

    }
    .item {
       min-height: 200px;
    }
}
.p {
  padding-top: 125px;
  text-align: center;
}

.p a {
  text-decoration: underline;
}

@media all and (max-width:767px){

    .containment1{
        display: block;
        padding-bottom: -600px;
        vertical-align: top;
    }
    .containment2{
        width: auto;
        max-width: 575px;
        min-width: 280px;
        display: inline-block;
        vertical-align: bottom;
        position: absolute;
        margin:auto;
        bottom: 0;
        left: 0;
        padding: 7px;
    }

    .containment2 p{
        margin:10px;
        text-align: center;
    }

}
