@import url("https://fonts.googleapis.com/css2?family=Benne&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap");
:root {
  --mainColor: #074652;
  --thirdColor: #3f3f3f;
  --textColor: #000018;
  --whiteColor: #eeeeee;
}

/* general start*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  font-family: "Open Sans", sans-serif;
}

#home,
#services,
#oroklesijog,
#tarsasagijog,
#koveteleskezeles,
#csaladjog,
#about,
#contact {
  padding-top: 80px;
}

a,
a:link,
a:hover,
button {
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
  cursor: pointer;
  outline: none !important;
  background-color: transparent;
  transition: 0.8s ease;
}

a:hover {
  color: var(--mainColor) !important;
}

p,
li,
.social {
  font-size: 19px;
  line-height: 1.35;
  color: var(--textColor);
}

section {
  position: relative;
  width: 100%;
  background-color: var(--bgColor) !important;
  min-height: 100vh;
}

li {
  list-style: none;
  padding-bottom: 10px;
}

li::before {
  content: "\2022";
  color: var(--mainColor);
  font-weight: bold;
  display: inline-block;
  transform: scale(0.8);
  margin-left: -1em;
  width: 1em;
}

.zoomAnim {
  position: relative;
}
.zoomAnim.visible {
  animation: showAnim 3s ease forwards;
  -webkit-animation: showAnim 3s ease forwards;
}

@keyframes showAnim {
  from {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  to {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
}

.sliderCtn {
  position: relative;
  display: none;
  height: 450px;
  width: 100%;
  overflow: hidden;
}

.sliderCtn img {
  position: relative;
  object-fit: cover;
  height: 450px;
  width: 100%;
}

.zoomAnim {
  animation: zoomAnimation 3s ease forwards;
  -webkit-animation: zoomAnimation 3s ease forwards;
}

@keyframes zoomAnimation {
  from {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  to {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
}

.titleLine {
  width: 180px;
  height: 2px;
  border-radius: 3px;
  background-color: var(--mainColor);
}

.servicesBorder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 52px;
  border: 1px solid var(--mainColor);
  border-radius: 6px;
  margin-top: 70px;
}

.servicesBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 42px;
  border-radius: 6px;
  background-color: var(--mainColor);
  color: #fff;
  transition: 0.8s ease;
  -webkit-transition: 0.8s ease;
  cursor: pointer;
  font-size: 22px;
  padding-bottom: 3px;
}

.desktopItem {
  display: block;
  position: relative;
  height: 450px;
  width: 450px;
}

.mobileItem {
  display: none;
}
/* general end*/

/* navbar start */
.mobileNavContact {
  display: none;
  position: absolute;
  text-align: center;
  bottom: 25px;
}
.mobileNavItem {
  margin-bottom: 25px;
}

.mobileNavItem p {
  font-size: 16px;
}

.contactNav {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding-top: 10px;
  top: 0;
  z-index: 999;
  color: var(--textColor);
  font-size: 20px !important;
  background-color: #fff;
}

.contactNavItem {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 16px;
}

.contactNav a {
  color: var(--textColor);
}

.navCtn {
  position: fixed;
  top: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 65px;
  background-color: #fff;
  z-index: 998;
  box-shadow: 2px 2px 6px rgb(195, 195, 195);
}

.nav {
  position: fixed;
  list-style: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 65px;
  z-index: 999;
}

.navBtn,
.subNavCtn {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 25px;
  padding-right: 25px;
}

.subNavCtn p,
.nav a {
  color: var(--textColor) !important;
  font-size: 18px !important;
}

.subNavCtn {
  position: relative;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  color: var(--textColor);
  z-index: 2;
}

.navBtn {
  position: relative;
  font-size: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  color: var(--textColor);
  z-index: 2;
}

.navBtn:before {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  content: ".";
  color: transparent;
  opacity: 0;
  border-radius: 4px;
}

.navBtn:hover:before {
  animation: navBtnAnim 0.4s forwards;
  -webkit-animation: navBtnAnim 0.4s forwards;
  opacity: 1;
  z-index: -1;
}

@keyframes navBtnAnim {
  0% {
    width: 0%;
    height: 0px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 100%;
    background: var(--mainColor);
  }
}
.navBtn:hover {
  transition-delay: 0.5s;
  transition: 0.6s ease-in;
  color: #fff;
}

.menuIcon {
  position: absolute;
  right: 0;
  display: none;
  cursor: pointer;
  margin: 20px;
  z-index: 999;
  -webkit-tap-highlight-color: transparent;
}

.menuIcon div {
  width: 23px;
  height: 3px;
  margin: 5px;
  border-radius: 10px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-decoration-skip: objects;
  background-color: var(--mainColor);
  z-index: 999;
}

.logo {
  position: absolute;
  top: 5px;
  left: 0;
  width: 250px;
  height: 10vh;
  background-image: url(images/logo.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 99;
}

.mobileLogo {
  position: relative;
  display: none;
  margin-top: 25px;
  margin-bottom: 15px;
  left: 0;
  width: 280px;
  height: 14vh;
  background-image: url(images/logo.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 99;
}
.subNavCtn {
  display: block;
}
.mobileDropCtn {
  display: none;
}

.subNavCtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  color: var(--mainColor);
  background-color: #fff;
  font-size: 18px;
  margin: 0;
}
.subnavTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.5vh;
}
.subNavCtn p {
  color: var(--mainColor);
}

.dropCtn {
  overflow: hidden;
  list-style: none;
  position: absolute;
  padding: 0;
  width: 220px;
  top: 50px;
  z-index: 2;
}

.dropCtn .dropWrapper {
  -webkit-transform: translate(0, -100%);
  transform: translate(0, -100%);
  -webkit-transition: all 0.4s 0.1s;
  transition: all 0.4s 0.1s;
  position: relative;
  z-index: 1;
  background-color: #fff;
}

.dropCtn .dropItem {
  display: block;
  padding: 0;
  width: 100%;
  color: var(--mainColor);
  font-size: 18px;
  transition: 0.8s ease;
  padding-top: 14px;
  padding-bottom: 14px;
}

.dropCtn .dropItem:hover {
  background-color: var(--mainColor);
  color: #fff;
}

.subNavCtn:nth-child(1):hover .dropCtn .dropWrapper {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.subNavCtn:nth-child(2):hover .dropCtn .dropWrapper {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.subNavCtn:nth-child(3):hover .dropCtn .dropWrapper {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.subNavCtn:nth-child(4):hover .dropCtn .dropWrapper {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

/* navbar end*/

/* titles start */
.sectionTitleCtn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 30px;
}

.aboutTitle h1,
.sectionTitle h1 {
  font-family: "Benne", serif;
  font-size: 60px;
  color: var(--mainColor);
  font-weight: 100;
  margin-bottom: 15px;
}

.mainTitle {
  display: block;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.mobileTitleCtn {
  display: none;
  margin-bottom: 35px;
}
.mobileTitleLine {
  margin-top: 5px;
}
.mobileMainTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  width: 100%;
  padding-top: 20px;
}

.mobileMainTitle h1 {
  position: relative;
  font-size: 35px;
  color: var(--mainColor);
  font-family: "Benne", serif;
  margin-bottom: 0px !important;
  font-weight: 100 !important;
  text-align: center;
}
.mobileTitleLine {
  display: none;
  position: relative;
  width: 0px;
  height: 2px;
  border-radius: 12px;
  background-color: var(--mainColor);
}

.mobileTitleLine.visible {
  animation: titleLineAnim 3s ease-out forwards;
  -webkit-animation: titleLineAnim 3s ease-out forwards;
}

@keyframes titleLineAnim {
  from {
    width: 0;
  }
  to {
    width: 250px;
  }
}
/* titles end */

/* infos start*/

.gdprContainer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 80px;
  margin-bottom: 80px;
}

.impresszumCtn {
  position: relative;
  justify-content: center;
  width: 500px;
  align-items: center;
}

.gdprText {
  position: relative;
  justify-content: center;
  width: 80%;
  align-items: center;
}

.gdprTextColumn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gdprContainer h1 {
  font-size: 40px;
  color: var(--mainColor);
  margin-bottom: 20px;
  text-align: center;
  font-family: "Benne", serif;
}

.gdprText h3,
.impresszumCtn h3 {
  font-size: 23px;
  color: var(--mainColor);
  margin-top: 25px;
  margin-bottom: 15px;
  margin-left: 10px;
  text-decoration: underline;
  font-weight: 100;
  text-align: left;
}
.gdprText li,
.gdprText p {
  margin-bottom: 8px !important;
}

.boldText {
  font-weight: bold;
}

.italicText {
  font-style: italic;
}

/* infos end*/
/* homepage start*/
.homePageCtn {
  position: relative;
  min-height: 105vh;
  background-image: url(images/homeBg.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
}

.homeTextCtn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 30%;
  right: 6%;
}

.homeText {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.homeText h1 {
  font-size: 50px;
  color: var(--mainColor);
  font-weight: 100;
  font-family: "Benne", serif;
}

.homeText p {
  font-size: 24px !important;
  color: var(--mainColor);
  margin-left: 10px;
  margin-top: 10px;
}

.btnBorder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 290px;
  height: 56px;
  border: 1px solid #fff;
  border-radius: 6px;
  margin-top: 70px;
}

.homeBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 44px;
  border-radius: 6px;
  background-color: #fff;
  transition: 0.8s ease;
  -webkit-transition: 0.8s ease;
  cursor: pointer;
}

button {
  position: relative;
  font-size: 22px;
  font-weight: 100;
  text-align: center;
  border: none;
  background-color: none;
  color: var(--mainColor);
}

.homePageLine {
  position: relative;
  min-height: 150px;
  width: 80%;
  margin-top: 45px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  box-shadow: 2px 2px 8px rgb(195, 195, 195);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 12px;
  margin-top: -25px;
  z-index: 3;
}

.homeLineItem {
  position: relative;
  display: flex;
  justify-content: center;
  width: 220px;
}

.homeLineItem p {
  color: var(--mainColor);
  text-align: center;
  font-size: 22px !important;
  width: 80%;
}

.homeLineBorder {
  height: 80px;
  width: 1px;
  background-color: var(--mainColor);
}
.mobileLogo img {
  display: none;
  width: 200px;
  height: 200px;
  object-fit: contain;
}

/* homepage end*/

/* services start */

.servicesCtn {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 80px;
}

.sliderCtn {
  position: relative;
  display: none;
  height: 450px;
  width: 100%;
  overflow: hidden;
  margin-top: 25px;
}

.sliderCtn img {
  position: relative;
  object-fit: cover;
  height: 450px;
  width: 100%;
}

.sliderAnim {
  animation: zoomAnimation 3s ease forwards;
  -webkit-animation: zoomAnimation 3s ease forwards;
}

@keyframes zoomAnimation {
  from {
    opacity: 0.8;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
}

.servicesImages {
  position: relative;
  margin-top: 30px;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.servicesImagesWrap {
  position: relative;
  overflow: hidden;
  margin: 12px;
  border-radius: 12px;
  width: 380px;
  height: 380px;
}

.servicesImagesWrap img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.servicesLineCtn {
  position: relative;
  width: 100%;
  padding-top: 35px;
}
.servicesLine {
  position: relative;
  min-height: 172px;
  width: 100%;
  background-color: #074652;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  padding: 15px;
}

.servicesLine p {
  width: 90%;
  color: #fff;
  text-align: center;
  font-size: 22px !important;
}

.servicesList {
  position: relative;
  width: 80%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.servicesListColumn {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.servicesListColumn li {
  width: 80%;
  font-size: 20px !important;
  line-height: 1.35;
}

.listItem {
  width: 80%;
  padding-bottom: 12px;
}

.listItem p {
  margin-top: -5px;
  font-size: 17px;
}

.servicesWrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 90vh;
}

.servicesColumns {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  min-height: 540px;
}
.desktopItem,
.servicesTextCtn {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.servicesText {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.servicesTextWrapper {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 80%;
}

.serviceImage,
.aboutImage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.serviceImage img,
.aboutImage img {
  position: relative;
  border-radius: 12px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.serviceImage,
.serviceImage img {
  height: 500px;
  width: 420px;
}

.aboutImage,
.aboutImage img {
  width: 500px;
  height: 420px;
}

.servicesText span {
  font-weight: bold;
  color: var(--mainColor);
}

.servicesText li,
.servicesText p {
  width: 100%;
}

.servicesText p {
  padding-bottom: 10px;
}

/* services end */

/* about start */
.aboutCtn {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
}

.aboutWrapper {
  display: block;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
}

.mobileAboutWrapper {
  display: none;
}
.aboutText {
  position: relative;
  width: 50%;
  padding: 20px;
}

.aboutText p {
  line-height: 1.4;
}
/* about end */

/* gdpr start */
.infosCtn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
/* gdpr start */

/* contact start */
iframe {
  position: relative;
}

.desktopMap {
  position: relative;
  display: block;
  margin: 25px;
  width: 100%;
}
.mobileMap {
  position: relative;
  display: none;
  margin-bottom: 20px;
}

.contactCtn {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
}
.contactBg {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url(images/contactBg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactTitle {
  position: relative;
  padding-top: 20px;
}

.contactTitle h1 {
  position: relative;
  font-size: 70px;
  color: var(--mainColor);
  font-family: "Benne", serif;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 100;
}

.contactText {
  position: relative;
  width: 100%;
  padding: 15px;
}

.contactText h3 {
  color: var(--mainColor);
  font-family: "Benne", serif;
  font-size: 28px !important;
  margin-left: 20px;
  font-weight: bold;
  line-height: 1.2 !important;
}

.social {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.social a {
  color: var(--textColor);
}

.mapCtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 56.25%;
  height: 450px;
  overflow: hidden;
  width: 100%;
}

.mapCtn iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contactWrapper {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contactColumnOne,
.contactColumnTwo {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 15px;
}
.contactColumnTwo h1 {
  font-size: 40px;
  margin-bottom: 30px;
  color: var(--mainColor);
  font-family: "Benne", serif;
  font-weight: 100;
}

.contactForm {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 500px;
  border-radius: 6px;
  padding-top: 30px;
  box-shadow: 2px 2px 6px rgb(195, 195, 195);
}

.contactForm form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.fab,
.fa-solid,
.fas {
  position: relative;
  font-size: 22px !important;
  text-align: center;
  text-decoration: none;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 2px;
  color: var(--mainColor) !important;
  transition: 1s ease;
  cursor: pointer;
  transform: scale(0.8);
  -webkit-transform: scale(0.8);
}

.contactForm input[type="text"],
.contactForm input[type="phone"],
.contactForm input[type="email"],
.contactForm textarea {
  width: 85%;
  padding: 8px;
  margin-top: 6px;
  margin-bottom: 10px;
  border: none;
  border-bottom: 1px solid #b8b8b8;
  background-color: transparent;
  outline: none;
}

.contactForm input::placeholder,
.contactForm textarea::placeholder {
  color: #585858;
  font-size: 15px;
  transition: 0.6s;
  -webkit-transition: 0.6s;
  font-family: "Open Sans", sans-serif;
}

.contactForm input:focus::placeholder,
.contactForm textarea:focus::placeholder {
  color: var(--mainColor);
}

.submitBtnCtn {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 995;
}

.submitBtn {
  margin: auto;
  display: block;
  border-radius: 6px;
  background: var(--mainColor);
  color: var(--whiteColor);
  border: none;
  padding-top: 4px;
  height: 40px;
  padding-bottom: 2px;
  width: 230px;
  margin-top: 35px;
  margin-bottom: 35px;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
  transition: 0.6s;
  -webkit-transition: 0.6s;
}

.submitBtn:hover {
  letter-spacing: 1.25px;
}

.contactInfos {
  position: relative;
  bottom: 15px;
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
}

.gdprCtn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.gdprCtn p {
  margin-right: 15px;
  margin-left: 15px;
  font-size: 17px !important;
}

.gdprCtn p a {
  color: var(--textColor);
  transition: 0.6s ease;
}

.gdprCtn a:hover {
  color: var(--mainColor) !important;
}

.copyrightText {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  color: var(--textColor);
  border-top: 1px solid #b8b8b8;
  padding-top: 25px;
  padding-bottom: 10px;
}

.copyrightText p {
  font-size: 17px !important;
  text-align: center;
  line-height: 1.35;
  width: 90%;
  font-family: "Open Sans", sans-serif;
}
.copyrightText p a {
  color: var(--textColor);
}

#snackbar {
  position: relative;
  width: 230px;
  background-color: #fff;
  box-shadow: 0 0 20px rgb(210, 210, 210);
  color: var(--mainColor);
  border-radius: 8px;
  text-align: center;
  visibility: hidden;
  font-size: 14px;
  padding: 12px;
}

#snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 1s forwards;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 3s forwards;
}

@keyframes fadein {
  from {
    transform: translateY(50px);
    -webkit-transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
  to {
    transform: translateY(50px);
    -webkit-transform: translateY(50px);

    opacity: 0;
  }
}

#snackbar.sentMessage {
  display: block;
}

/* contact end*/
