/* reset */

@font-face {
	font-family: 'Quicksand-Light'; 
	src: url(fonts/Quicksand-Light.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand-Light';
    color: inherit;
}

/* global */

:root{
    --light-blue: #63AFD0;
    --blue: #8db5e7;
    --dark-blue: #2769be;
    --orange: #ffa53d;
    --white: white;
    --black: black;
}

.section {
    width: 100%;
}

.container {
    width: 100%;
    padding: 50px 10%;
}

h2{
    font-size: 25px;
    text-align: center;
    padding: 15px;
    margin-bottom: 100px;
    color: var(--dark-blue);
}

h3{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 25px;
}

p{
    font-size: 15px;
}

.link{
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.4s;
}

.link:hover{
    color: var(--orange);
}

.hidden {
    display: none;
}

.shadowed__box{
    padding: 25px;
    box-shadow: 15px 15px rgba(0, 0, 0, 0.103);
    border-radius: 10px;
    background: var(--white);
}

/* header */

header{
    background: #0772A1;
}

.menu__container {
    padding: 0 10%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* cover */

.cover__container {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

h1{
    width: 50%;
    font-size: 35px;
    color: var(--black);
    font-weight: 100;
    letter-spacing: 5px;
}

.cover__img{
    max-height: calc(100vh - 80px);
    max-width: 50%;
    object-fit: cover;
}

/* pluses */

.pluses__container {
    color: var(--black);
}

.decor1{
    position: absolute;
    left: 0;
}

.decor2{
    position: absolute;
    right: 0;
    z-index: -1;
}

.pluses__cards {
    display: flex;
    flex-direction: column;
}

.plus__card:nth-child(2){
    margin-left: auto;
    box-shadow: -15px 15px rgba(0, 0, 0, 0.103);
}

.plus__card:last-child{
    box-shadow: 15px -15px rgba(0, 0, 0, 0.103);
}

.plus__card {
    width: 45%;
    margin-bottom: 25px;
}

.plus__card h3{
    margin-bottom: 20px;
}

/* centers */

@keyframes no{
    from{
        background: red;
    }
    33%{
        background: green;
    }
    66%{
        background: blue;
    }
    to{
        background: red;
    }
}

.centers__container {
    color: white;
}

.centers__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -50px;
}

.center__card {
    width: 30%;
    color: var(--black);
    text-align: center;
    margin-bottom: 50px;
}

.center__card p{
    text-align: justify;
}

.center__card img {
    width: 200px;
    height: 200px;
    border-radius: 25px 0 25px 0;
    margin-bottom: 25px;
}

.card__img {
    width: 40%;
    height: 100%;
}

.card__info {
    width: 40%;
    text-align: start;
}

.card__info h3{
    margin-bottom: 25px;
}

/* footer */

footer{
    width: 100%;
    text-align: center;
}

.footer__container{
    background: var(--blue);
}

.decor3{
    height: 50px;
    width: 100%;
    margin-bottom: -4px;
}

/* adaptive */
@media (min-width: 768px) {
    .menu__container {
        justify-content: flex-start;
    }

    .link{
        margin-right: 25px;
    }
}

@media (max-width: 1024px) {
    .cover__img{
        position: inherit;
        width: 50%;
        height: auto;
    }
}

@media (max-width: 768px){
    h1{
        font-size: 26px;
    }

    h2{
        font-size: 20px;
    }

    .pluses__cards {
        grid-template-columns: repeat( auto-fit, minmax(100%, 1fr) );
        gap: 20px;
    }
    
    .plus__card {
        width: 100%;
    }

    .center__card {
        width: 40%;
    }

    .center__card img{
        width: 100%;
        height: auto;
    }
}
@media (max-width: 425px){
    .cover__container {
        flex-direction: column-reverse;
        justify-content: space-evenly;
    }

    h1{
        width: auto;
        text-align: center;
    }

    .cover__img{
        width: 100%;
        max-width: 100%;
    }

    .centers__cards {
        justify-content: center;
    }
    
    .center__card {
        width: 100%;
    }
}
/*Кузя гнида*/
@-webkit-keyframes hvr-ripple-out {
  100% {
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    opacity: 0;
  }
}
@keyframes hvr-ripple-out {
  100% {
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    opacity: 0;
  }
}
.hvr-ripple-out {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
          box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-ripple-out:before {
  content: '';
  position: absolute;
  border: blue solid 2px;
	border-radius:50px ;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.hvr-ripple-out:hover:before, .hvr-ripple-out:focus:before, .hvr-ripple-out:active:before {
  -webkit-animation-name: hvr-ripple-out;
  animation-name: hvr-ripple-out;
}

.button_logo{
	margin-top: 20px;
    display: inline-block;
    color: #0772a1;
    border: 1px solid #0772a1;
    border-radius: 50px;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
  }

.button_logo:hover{
    background: #0772a1;
	color: white;
  transition: 1s;
}
  
