body {
    background: #bde0f3;
    margin: 0;
    padding: 0;
    font-size: 16px;
}
li {
    text-align: start;
    margin-bottom: 3px;
}
.left {
    text-align: start;
}
.center {
    text-align: center;
}
h1 {
    font-family: 'Caveat', sans-serif;
}
p {
    color: black;
    font-size: 20px;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 4%;
}


/* Navbar container */


.navbar {
    overflow: hidden;
    background-color: #6063f1;
    display: flex;
    justify-content: start;
    box-shadow: 0 5px 4px 0 rgba(0,0,0,.2);
}

/* Links inside the navbar */
.navbar a {

    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar > img {
    margin-top: 4px;
    height: 40px;
}
/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}



/* menu Mobile  */

header {
	display: none;
	justify-content: flex-end;
    box-shadow: 0 5px 4px 0 #5E5DF0;
}


/* Гамбургер іконка */
.menu-btn {
	width: 30px;
	height: 30px;
	position: relative;
	z-index:2;
	overflow: hidden;
    right: 10px;
}

.menu-btn span {
	width: 30px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #222222;
	transition: all 0.5s;
}

.menu-btn span:nth-of-type(2) {
	top: calc(50% - 5px);
}
.menu-btn span:nth-of-type(3) {
	top: calc(50% + 5px);
}

/* Змінюємо гамбургер іконку, коли меню відчинено */
.menu-btn.active span:nth-of-type(1) {
  display: none;
}
.menu-btn.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);  
}
.menu-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg); 
}

/* Меню, яке буде зʼявлятися */
.menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	height: 100%;
	padding: 15px;
  background: #6063f1;
	transform: translateX(-100%);
	transition: transform 0.5s; 
    z-index: 100;
}

.menu.active {
	transform: translateX(0);
}
.menu ul {
    padding: 0;
    margin-left: 5px;
}
.menu li {
	list-style-type: none;
    margin-bottom: 10px;
   
}
.menu a {
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}









.container {
    padding-top: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-basis: 160px; width: 100%;
    position: static;
    margin: auto;




}
.flex-item {
    width: 80%;
    margin-bottom: 4%;
    text-align: center;
    flex-direction: row;
    position: relative;

}




.top-img {
    width: 200px;
    height: 200px;
    position: relative;

}
.top-img > img {
    border-radius: 4%;
    position: absolute;
    width: 100%;
}
.color-logo {
    color: #5E5DF0;
}
.gold {
    color: #5E5DF0;
    font-size: 20px;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 4%;
}
.purple{
    color: #5E5DF0;

}
.btn-sub {

    background: #5E5DF0;
    border-radius: 99px;
    box-shadow: #5E5DF0 0 10px 20px -10px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol",sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    opacity: 1;
    outline: 0 solid transparent;
    padding: 5px 18px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: fit-content;
    word-break: break-word;
    border: 0;
}
.btn-sub > a {
    color: white;
    text-decoration: none;
}
.spn-gray {
    color: gray;
    font-size: 90%;
    margin-top: 2%;
    margin-bottom: 2%;

}
.about-us {
    color: black;
    font-size: 20px;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 4%;
}

.card {
    border: 2px solid #6063f1;
    border-radius: 10px;
    width: 100%;
    height: 350px;
    position: relative;
    margin: 5px;
    /*flex-direction: row;*/
    /*display: flex;*/


}
.card > img {
    position: absolute;
    display: block;
    width: 180px;
    top: 15%;
    left: 3%;
}
.card > h4 {
    font-size: 24px;
    color: #5E5DF0;
    position: absolute;
    top: 9%;
    left: 35%;
    display: block;
}
.card > p {
    position: absolute;
    font-size: 20px;
    color: black;
    top: 40%;
    left: 30%;
    display: block;

}
.card > .data {
    margin-top: 5%;
    position: absolute;
    top: 70%;
    left: 49%;
    display: block;
}
.firstbtn {
    position: absolute;
    top: 75%;
    left: 49%;
    display: block;
}
.secondbtn {
    position: absolute;
    top: 75%;
    left: 65%;
    display: block;
}
.wpcf7-form {
    height: 400px;
    width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    /*border: 1px solid red;*/

}
.wpcf7-form input {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.wpcf7-form .form-type {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    width: 100%;
}
.wpcf7-form .form-sub {
    font-family: Inter, Helvetica, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", EmojiSymbols, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif; 
    margin-left: 25%;
    width: 40%;
    background: #5E5DF0;
    border: 0;
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    opacity: 1;
    outline: 0 solid transparent;
    border-radius: 10px;
}

footer {
    width: 100%;
    height: 5em;
    background: black;
    display: flex;
    /*position: absolute;*/
    /*bottom: 0;*/
    /*left: 0;*/
}
p {
    color: wheat;
    font-size: 10px;
    margin: auto;

}

/* PAGE ABOUT */

.flex-img {
    width: 80%;
    margin-bottom: 5%;
    height: 700px;
    position: relative;
}
.about-1 {
   
    height: 400px;
    width: 500px;
    position: absolute;
}
.about-2 {
   
    height: 400px;
    width: 500px;
    position: absolute;
    right: 0;
}
.about-3 {
    
    height: 400px;
    width: 500px;
    position: absolute;
    left: 0;
    top: 350px;
}
.about-4 {
    
    height: 400px;
    width: 500px;
    position: absolute;
    right: 0;
    top: 350px;
}
.collage {
    height: 400px;
    width: 500px;
}

/* Socials */
/* .socials {
    margin-top: 30px;
    margin-left: 30%;
    width: 400px;
    height: 200px;
}
/* Style all font awesome icons */
/* .fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
  } */
  
  /* Add a hover effect if you want */
  /* .fa:hover {
    opacity: 0.7;
  }
   */
  /* Set a specific color for each brand */
  
  /* Facebook */
  /* .fa-facebook {
    background: #3B5998;
    color: white;
  } */
  
  /* Twitter */
  /* .fa-twitter {
    background: #55ACEE;
    color: white;
  }  */

  @media (max-width: 440px) {
      .navbar {
          display: none;
      }
      header {
        display: flex;
      }
      .about-us {
        color: black;
        font-size: 20px;
        margin: auto;
    }
      .flex-item {
          width: 95%;
      }
      .card {
          height: auto;
          padding-bottom: 20px;
      }
      .card > img {
          display: none;
      }
      .card > h4 {
          position: static;
      }
      .card > p {
          position: static;
      }
      .firstbtn {
          position: static;
          margin: auto;
          margin-top: 15px;
          
      }
      .secondbtn {
          position: static;
          margin: auto;
          margin-top: 15px;
      }
      /* about us */
      .top-img {
        width: 300px;
        height: 200px;
        position: relative;
      }
    .flex-img {
        width: 80%;
        margin-bottom: 5%;
        height: auto;
        position: relative;
    }
    .about-1 {
       
        height: 200px;
        width: 300px;
        position: static;
        margin: auto;
        display: block;
    }
    .about-2 {
       
        height: 200px;
        width: 300px;
        position: static;
        margin: auto;
        display: block;
    }
    .about-3 {
        
        height: 200px;
        width: 300px;
        position: static;
        margin: auto;
        display: block;
    }
    .about-4 {
        
        height: 200px;
        width: 300px;
        position: static;
        margin: auto;
        display: block;
    }
    .collage {
        height: 200px;
        width: 300px;
    }
}