*/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
*/




/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out !important;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Base */
body {
  margin: 0;
  /* font-family: Arial, sans-serif; */
}

/* h1, h2, h3, h4, p {
  font-family: 'Roboto', sans-serif;
} */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background-color: #333;
    color: #fff;
    position: relative;
    z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 500;
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: relative;
}

.line {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.line:nth-child(1) {
  top: 0;
}

.line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.line:nth-child(3) {
  bottom: 0;
}

/* Styles for the X state */
.hamburger.open .line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.open .line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}


/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -240px;
  width: 240px;
  height: 100%;
  background-color: #222;
  padding-top: 96px;
  transition: right 0.3s ease;
  z-index: 900;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin: 24px 0;
  text-align: center;
}

.sidebar ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  transition: color 0.2s;
}

.sidebar ul li a:hover {
  color: #5b9bd5;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 800;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

footer {
  height: 85px;
  background-color: #333;
}

/* Min page height */
#content {
  min-height: calc(100vh - 153px);
}
 
/* Posts */
.single-post #content {
  padding: 50px 10px;
}


/* Contact form */
.wpcf7 {
  padding: 0 10px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}
.wpcf7 label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.wpcf7-form-control-wrap {
  width: 500px;
}
.wpcf7-form-control-wrap input[type="text"], .wpcf7-form-control-wrap input[type="email"], .wpcf7-form-control-wrap textarea {
  padding: 0.5rem 0.75rem;
}
.wpcf7 input[type="submit"] {
    color: #5b9bd5;
    /* background-color: #5b9bd5; */
    border: 1px solid #5b9bd5;
}
.wpcf7 input[type="submit"]:hover, .wpcf7 input[type="submit"]:focus {
    color: #fff;
    background-color: #5b9bd5;
    border: 1px solid #fff;
}
.wpcf7 form .wpcf7-spinner {
  display: none;
}
.wpcf7 form.submitting .wpcf7-spinner {
  display: inline-block;
}
.wpcf7-not-valid-tip {
  margin: 10px 0;
}
.wpcf7 form .wpcf7-response-output {
  border: none;
}

























@media (max-width: 768px) {
  .sidebar {
    right: -100%;
    width: 100%;
  }
  .wpcf7-form-control-wrap {
    width: 100%;
  }
}