@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --dark: #5C5C5C;
    --green: #ABC34B;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
html {
    scroll-behavior: smooth;
}

.text-focus-in {
	-webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.shake-bottom {
	-webkit-animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
	animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
}

@-webkit-keyframes text-focus-in {
    0% {
      -webkit-filter: blur(12px);
              filter: blur(12px);
      opacity: 0;
    }
    100% {
      -webkit-filter: blur(0px);
              filter: blur(0px);
      opacity: 1;
    }
}

@keyframes text-focus-in {
    0% {
      -webkit-filter: blur(12px);
              filter: blur(12px);
      opacity: 0;
    }
    100% {
      -webkit-filter: blur(0px);
              filter: blur(0px);
      opacity: 1;
    }
}

@-webkit-keyframes shake-bottom {
    0%,
    100% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
      -webkit-transform-origin: 50% 100%;
              transform-origin: 50% 100%;
    }
    10% {
      -webkit-transform: rotate(2deg);
              transform: rotate(2deg);
    }
    20%,
    40%,
    60% {
      -webkit-transform: rotate(-4deg);
              transform: rotate(-4deg);
    }
    30%,
    50%,
    70% {
      -webkit-transform: rotate(4deg);
              transform: rotate(4deg);
    }
    80% {
      -webkit-transform: rotate(-2deg);
              transform: rotate(-2deg);
    }
    90% {
      -webkit-transform: rotate(2deg);
              transform: rotate(2deg);
    }
}

@keyframes shake-bottom {
    0%,
    100% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
      -webkit-transform-origin: 50% 100%;
              transform-origin: 50% 100%;
    }
    10% {
      -webkit-transform: rotate(2deg);
              transform: rotate(2deg);
    }
    20%,
    40%,
    60% {
      -webkit-transform: rotate(-4deg);
              transform: rotate(-4deg);
    }
    30%,
    50%,
    70% {
      -webkit-transform: rotate(4deg);
              transform: rotate(4deg);
    }
    80% {
      -webkit-transform: rotate(-2deg);
              transform: rotate(-2deg);
    }
    90% {
      -webkit-transform: rotate(2deg);
              transform: rotate(2deg);
    }
}

nav {
    position: fixed;
    top: 0;
    display: flex;
    background: white;
    width: 100%;
    max-height: 100px;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 999;
    box-shadow: 0px 4px 15px 2px rgba(0,0,0,0.22);
}

nav ul {
    flex: 0.9;
    display: flex;
    margin-left: 20vw;
    justify-content: space-around;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    color: var(--dark);
    padding: 15px 20px 15px 20px;
    border-radius: 10px;
    transition: 0.2s ease-in;
}

nav ul li a:hover, nav ul li a.active {
    background: var(--green);
    color: white;
}

.hamburger {
    position: fixed;
    left: 100%;
    display: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark);
    z-index: 1000;
    background: white;
    padding: 10px 15px 10px 15px;
    border-radius: 10px;
    transform: translateX(calc(-100% - 20px));
    margin: 20px 0 0 0;
    box-shadow: 0px 4px 15px 2px rgba(0,0,0,0.22);
}

.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background-color: #333;
    color: white;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin-left: 50px;
}

.sidebar ul li {
    padding: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    display: block;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 40px;
    font-size: 48px;
    color: white;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 900;
    display: none;
}

footer {
    position: relative;
    bottom: 0;
    background: var(--dark);
    width: 100%;
    padding-bottom: 20px;
    color: white;
}
footer .green-bar {
    width: 100%;
    height: 30px;
    background: var(--green);
}
footer .footer-content {
    margin: 50px;
    display: flex;
    justify-content: space-between;
}
footer .footer-content .contact-info,  footer .footer-content .contact-info p {
    color: white;
}
footer .footer-content .contact-info,  footer .footer-content .contact-info a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: 0.2s ease-in;
}
footer .footer-content .contact-info,  footer .footer-content .contact-info a:hover {
    color: var(--green);
}
footer .footer-content .contact-info span {
    font-weight: 800;
    color: var(--green);
}
footer .footer-content .social {
    display: flex;
    flex-direction: column;
    font-size: 50px;
}
footer .copyright {
    margin: 50px;
    color: white;
}
footer .copyright a {
    color: white;
}

@media (min-width: 768px) and (max-width: 1024px) { /* TABLET */
    .shake-bottom {
        -webkit-animation: none;
        animation: none;
    }
}


@media (max-width: 767px) { /* SMARTPHONE */
    .shake-bottom {
        -webkit-animation: none;
        animation: none;
    }
    
    nav {
        display: none;
      }
      .hamburger {
        display: block;
      }
}