@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

:root {
  --secondary-color: rgba(229, 148, 0, 0.9);
  --overlay-color: rgba(24, 39, 51, 0.95);
  --menu-speed: 0.75s;
  --white: #fff;
}

body {
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  background: url('../assets/img/bg.jpg');
}

#logo {
  width: 55%;
}

#devi {
  width: 10%;
}

/* Navbar */
.navbar {
  display: flex;
  font-size: small;
  position: fixed;
  top: 0;
  right: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease-in-out;
}

.top {
  background: transparent;
}

.navbar ul {
  display: flex;
  width: 100%;
  list-style: none;
}

.navbar ul li {
  margin-top: 10px;
}

.navbar li a {
  color: var(--white);
  text-decoration: none;
  margin-right: 20px;
}

.navbar .current {
  border-bottom: var(--white) 3px solid;
}

.navbar ul li a:not(.current):hover {
  border-bottom: goldenrod 2px solid;
}
/* Container */
.container {
  margin-top: 90px;
}
.container img {
  width: 73%;
  display: block;
  margin: auto;
}

.container p {
  font-size: large;
  text-align: justify;
  background: #f4f4f4;
  width: 70%;
  line-height: 2;
  margin: auto;
  padding: 20px;
}

/* Footer */
#main-footer {
  color: #ccc;
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
}

/* Additional Styling */
.container a {
  text-align: center;
  display: block;
  background: #f4f4f4;
  width: 30%;
  margin: auto;
}

.menu-wrap {
  display: none;
}

.phone-calls {
  display: none;
}

#map-link {
  margin-top: 1rem;
}

.cases img:hover {
  opacity: 0.8;
}

/* Mobile */

@media (max-width: 1305px) {
  body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .navbar div {
    flex-direction: column;
  }
  .container {
    width: 100%;
  }

  .email {
    background: #f4f4f4;
    font-size: 1.2rem;
    width: 100%;
    padding: 0 30px;
  }

  #logo {
    width: 100%;
  }

  .navbar {
    display: none;
  }

  .phone-calls {
    display: block;
  }

  .phone-ps {
    display: none;
  }

  .menu-wrap {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .menu-wrap .toggler {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 0;
  }

  .menu-wrap .hamburger {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    padding: 1rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hamburger Line */
  .menu-wrap .hamburger > div {
    position: relative;
    flex: none;
    width: 100%;
    height: 2px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
  }

  /* Hamburger Lines- Top & Bottom*/
  .menu-wrap .hamburger > div::before,
  .menu-wrap .hamburger > div::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -10px;
    width: 100%;
    height: 2px;
    background: inherit;
  }

  .menu-wrap .hamburger > div::after {
    top: 10px;
  }

  /* Toggler Animation */

  .menu-wrap .toggler:checked + .hamburger > div {
    transform: rotate(135deg);
  }
  /* Turns into X */
  .menu-wrap .toggler:checked + .hamburger > div::before,
  .menu-wrap .toggler:checked + .hamburger > div::after {
    top: 0;
    transform: rotate(90deg);
  }

  /* Rotate Animation */

  .menu-wrap .toggler:checked:hover + .hamburger > div {
    transform: rotate(225deg);
  }

  /* Show Menu */
  .menu-wrap .toggler:checked ~ .menu {
    visibility: visible;
  }

  .menu-wrap .toggler:checked ~ .menu > div {
    transform: scale(1);
    transition-duration: var(--menu-speed);
  }

  .menu-wrap .toggler:checked ~ .menu > div > div {
    opacity: 1;
    transition: opacity 0.4s ease 0.4s;
  }

  .menu-wrap .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-wrap .menu > div {
    background: var(--overlay-color);
    border-radius: 50%;
    width: 200vw;
    height: 200vw;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.4s ease;
  }

  .menu-wrap .menu > div > div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .menu-wrap .menu > div > div > ul > li {
    list-style: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 1rem;
  }

  .menu-wrap .menu > div > div > ul > li > a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease;
  }

  .menu-wrap .menu > div > div > ul > li > a:hover {
    color: var(--secondary-color);
  }
}

@media (max-width: 500px) {
  .vedic {
    font-size: 2rem !important;
  }

  .email {
    width: max-content !important;
  }

  .contact-link {
    width: max-content !important;
    padding: 10px;
  }
}

/* Big Screens */
@media (min-width: 1500px) {
  .navbar ul li a {
    margin-top: 10px;
    margin-right: 35px;
    font-size: 20px;
  }
}

/* Additional Styling */

.subject {
  text-align: center;
  color: aliceblue;
  font-size: 40px;
}

.vedic {
  text-align: center;
  font-size: 70px;
  color: #f4f4f4;
}

.small {
  font-size: 30px;
  text-align: center;
}

.white {
  color: var(--white);
}

.section-padding {
  padding: 20px 20px 40px;
}
/* Flex-grid */

.flex-grid .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 4px;
}

.flex-grid .column {
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.flex-grid .column img {
  width: 100%;
  margin-top: 10px;
}
