:root {
    --grey: #333333;
    --red: #D10E0E;
    --blue: #002F6C;
    --pink: #FFD6DB;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    margin-top: 25px;
    margin-left: 25px;

    display: flex;
    nav {
        margin-left: auto;
        margin-top: 2%;
        margin-right: 5%;
        ul {
            display: flex;
            gap: 75px;
            li { 
                list-style: none;
                font-size: 32px;
                a {
                    text-decoration: none;
                    color: black;
                    font-family: "Montserrat Alternates", sans-serif;
                    transition: 0.3s;
                    &:hover {
                        opacity: 0.5;
                    }
                }
                #active { opacity: 50%; border-bottom: 3px black solid;}
            }
        }
    }
}

.landing-cont {
    display: flex;
    position: relative;
    /* overflow: hidden; */

    img {
        position: absolute;
        right: 0;
        top: 55%;
        transform: translateY(-50%);
        
        z-index: 2;
    }
    .landing-text {
        background-color: var(--grey);
        font-family: "Montserrat Alternates", sans-serif;
        font-weight: 400;
        letter-spacing: -5%;
        font-size: 64px;
        text-align: center;

        margin-top: 2%;

        p { margin-right: 50%; color: #fff;}

        width: 100vw;
        padding-top: 5%;
        padding-bottom: 5%;
        
        z-index: 1;
        box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.25);

    }
}

.btn-cont {
    margin-top: 3%;
    margin-left: 15%;
    letter-spacing: -5%;
    font-weight: 400;
    font-family: "Montserrat Alternates", sans-serif;
    a {
        font-size: 18px;

        text-decoration: none;
        padding: 20px;
        padding-left: 25px;
        padding-right: 25px;

        text-align: center;
        border-radius: 999px;
    }
    .landing-btn {
        background-color: var(--red); 
        color: #fff; 
        border: 2px #fff solid;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        transition: 0.3s;
        
        &:hover {
            background-color: #fff;
            color: var(--red);
            border: 2px var(--red) solid;
        }
    }
    .landing-btn-alt {
        background-color: #fff; 
        color: var(--red); 
        border: 2px var(--red) solid;
        margin-left: 40px;
        transition: 0.3s;

        &:hover {
            background-color: var(--red);
            color:#fff;
            border: 2px #fff solid;
            filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        }
    }
}

.social-about-cont {
    display: flex;
    .socials {
        display: flex;
        gap: 25px;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));

        margin-top: 3%;
        margin-left: 18.5%;
        @media (min-width: 2000px) {margin-left: 17.6%;}
    }
    .about {
        margin-left: 30%;
        @media (min-width: 2000px) {margin-left: 31.5%;}
        h1 {
            font-family: "Montserrat Alternates", sans-serif;
            font-size: 64px;
            font-weight: 400;
            letter-spacing: -5%;
            text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        }
    }
}

.philo-cont {
    display: flex;
    padding-left: 4%;
    padding-right: 1%;
    .philo-embed-cont {
        padding-right: 3%;
        iframe {
            border-radius: 53px;
            border: 5px var(--blue) solid;
            filter: drop-shadow(0px 10px 4px rgba(0, 0, 0, 0.25));
        }
    }
    .philo-text-cont {
        h2 {
            font-family: "Montserrat Alternates", sans-serif;
            font-weight: 300;
            font-size: 48px;
            letter-spacing: -5%;
            text-align: center;

            margin: 0;
            padding: 0;

            text-decoration: underline;
            text-decoration-color: red;
            text-decoration-thickness: 3px;
            text-underline-offset: 14px;
        }
        p {
            font-family: "Montserrat", sans-serif;
            font-size: 34px;
            letter-spacing: -5%;
            font-weight: 300;
        }
    }
}

.test-banner {
    padding: 3%;
    padding-bottom: 5%;
    margin-top: 30px;
    background-color: var(--red);
    color: #fff;
    border: 3px var(--grey) solid;
    h2 {
        text-align: center;
        font-family: "Montserrat Alternates", sans-serif;
        font-weight: 500;
        font-size: 64px;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        margin: 0;
        margin-top: 25px;
        margin-bottom: 35px;
    }
    .test-cont {
        display: flex;
        justify-content: space-between;
        margin-left: 5%;
        margin-right: 5%;

        iframe {
            border-radius: 22px;
            border: 3px #fff solid;
            filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        }
    }
}

.doctor-cont {
    h1 {
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 96px;
        margin: 0;
        margin-top: 1.5%;
        margin-left: 3%;
        @media (min-width: 2000px) {margin-bottom: 1%;}
    }

    h2 {
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        color: var(--red);
        font-size: 48px;
        margin: 0;
        margin-bottom: 1.5%;
    }

    p {
        font-weight: 300;
        font-size: 32px;
        letter-spacing: -5%;
    }

    .doctor-left-cont {
        display: flex;

        .doctor-text-left {
            margin-top: 2%;
            margin-left: 3%;
            margin-right: 1%;
            @media (min-width: 2000px) {margin-top: 0;}
        }

        .doctor-img-right {
            margin-top: 8%;
            @media (min-width: 2000px) {margin-top: 0;}
        }
    }

    .doctor-right-cont {
        display: flex;

        .doctor-text-right {
            margin-top: -6%;
            margin-left: 2%;
            margin-right: 3%;
            @media (min-width: 2000px) {margin-top: 0;}
        }

        .doctor-img-left {
            margin-top: 8%;
            @media (min-width: 2000px) {margin-top: 0;}
        }
    }
}

.membership-banner {
    background-color: var(--blue);
    color: #fff;
    padding: 5%;

    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    p {font-size: 56px; font-weight: 500; margin: 0; margin-bottom: 4%;}
    h2 {font-size: 56px; margin: 0; margin-bottom: 1%;}

    a {
        text-decoration: none;
        padding: 1%;
        padding-left: 2%;
        padding-right: 2%;
        background-color: var(--red);
        font-size: 32px;
        color: #fff;
        border-radius: 999px;
        border: 2px #fff solid;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        transition: 0.3s;
        &:hover {
            background-color: var(--blue);
            color: var(--red);
            border: 2px var(--red) solid;
        }
    }
}

footer {
    background-color: var(--grey);
    color: #fff;
    border: 1px #fff solid;
    padding: 60px 40px;

    .footer-cont {
        display: flex;
        align-items: flex-start;
        @media (min-width: 2000px) {margin-left: 15%;}
    }

    .footer-logo {
        margin-top: 5%;
        @media (min-width: 2000px) {margin-top: 4%;}
    }

    .footer-info {
        margin-left: 3%;
        border-left: 2px solid #777;
        padding-left: 15px;
        max-width: 400px;

        p {
            margin: 10px 0;
            font-size: 14px;
        }
        
        .hours-title {
            font-weight: bold;
            margin-top: 15px;
        }
    }
    
    .footer-nav {
        display: flex;
        gap: 40px;
        align-items: center;
        margin-top: 5%;
        margin-left: 5%;
        ul {
            display: flex;
            gap: 40px;
            li {
                list-style: none;
                a {
                    color: white;
                    text-decoration: none;
                    font-family: "Montserrat Alternates", sans-serif;
                    transition: 0.3s;

                    &:hover {
                        opacity: 0.5;
                    }
                }
            }
        }
    }

    .footer-social {
        display: flex;
        gap: 20px;
        font-size: 22px;
        align-items: center;
        margin-left: 10%;
        margin-top: 5%;
        @media (min-width: 2000px) {margin-left: 10%;}

        svg {
            fill: #fff;
            height: 32px;
            width: 32px;
        }

        a {transition: 0.3s; &:hover {opacity: 0.5;}}
    }
}

/* Mobile View */

@media (max-width: 1800px) {
  body {
    overflow-x: hidden;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    z-index: 1001;
  }

.hamburger span {
    height: 3px;
    width: 30px;
    background: black;
    margin: 4px 0;
    display: block;
}

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;

    display: none;
    flex-direction: column;

    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  header nav.open {
    display: flex;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
  }

  header nav ul li {
    font-size: 22px;
  }

  header {
    margin: 15px 20px;
    align-items: center;
  }

  header img {
    width: 200px;
    height: 50px;
    margin-left: -2%;
  }

  .landing-cont {
    flex-direction: column;
  }

  .landing-cont img {
    position: static;
    transform: none;
    width: 80%;
    margin: 20px auto;
    display: block;
  }

  .landing-text {
    font-size: 48px;
    width: 100%;
  }

  .landing-cont .landing-text p {
    margin-right: 0;
  }

  .btn-cont {
    margin-left: 0;
    text-align: center;
  }

  .btn-cont a {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  .btn-cont .landing-btn-alt {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  .social-about-cont {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .social-about-cont .socials {
    margin: 0;
    justify-content: center;
    align-items: center;
  }
  
  .social-about-cont .socials img {
    width: 32px;
    height: 32px;
  }

  .social-about-cont .about {
    margin-left: 0;
    text-align: center;
  }

  .about h1 {
    font-size: 40px;
  }

  .philo-cont {
    flex-direction: column;
    padding: 10px;
  }

  .philo-embed-cont iframe {
    width: 100%;
    height: 300px;
  }

  .philo-text-cont h2 {
    font-size: 30px;
  }

  .philo-text-cont p {
    font-size: 18px;
  }

  .test-banner h2 {
    font-size: 40px;
  }

  .test-cont {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .test-cont iframe {
    width: 220px;
    height: 220px;
  }

  .doctor-cont h1 {
    font-size: 64px;
  }

  .doctor-cont p {
    font-size: 20px;
  }

  .doctor-left-cont,
  .doctor-right-cont {
    flex-direction: column;
  }

  .membership-banner h2,
  .membership-banner p {
    font-size: 32px;
  }

  .membership-banner a {
    font-size: 20px;
  }

footer {
  text-align: center;
}

footer .footer-cont {
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

footer .footer-nav {
  margin: 0;
  margin-top: 10px;
  display: block;
}

footer .footer-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
}

footer .footer-nav ul li {
  list-style: none;
}

footer .footer-nav ul li a {
  font-size: 16px;
}

footer .footer-cont .footer-info {
  border: none;
  padding-left: 0;
  margin-left: 0;
}

footer .footer-cont .footer-social {
  margin-left: 0;
  justify-content: center;
}

  .doctor-cont {
    display: none;
  }

  .landing-cont img {
    content: url("img/mason-group.jpg");
    
    position: static;
    transform: none;

    width: 90%;
    max-width: 1100px;
    height: auto;

    margin: 20px auto;
    display: block;

    object-fit: cover;
    border-radius: 10px;
  }
}