*{
  margin: 0;
  padding: auto;
}

.header{
  background-color: white;
  display: block; 
  margin: auto; 
  width: 100%;
  height: 7rem;
}

#logo{ 
  float: left;
  height: 6rem;
  display: inline-block;
  padding-left: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.name{
  float: left;
  font: serif;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1em;
  color: black;
  padding-left: 0.625rem;
  padding-top: 0.7rem;
}

@media (min-width:850px){
  .patient{
    float: right;
    margin-top: 3.5rem;
    margin-right: 0rem;
    -ms-transform: translate(-10%, -50%);
    transform: translate(-10%, -50%); 
  }
  .call{
    float: right;
    margin-top: 3.5rem;
    margin-right: 0rem;
    -ms-transform: translate(-10%, -50%);
    transform: translate(-10%, -50%); 
  }

}

@media (max-width: 850px){
  .patient{
    display: none;
  }
  .call{
    display: none;
  }
}

.topnav {
  overflow: hidden;
  /*
  background-color: #333;
  */
  background-color: black;
  z-index: 1;
}

.topnav a {
  float: left;
  display: flex;
  color: #f2f2f2;
  text-align: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-family: serif;
  font-size: 1.2rem;
}

.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-family: serif;
  font-size: 1.2rem;    
  border: none;
  outline: none;
  color: white;
  padding: 0.5rem 1rem;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgb(0,0,0);
  background: rgba(0,0,0,0.8);
  min-width: 10rem;
  box-shadow: 0rem 0.5rem 1rem 0rem rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 0.5rem 0.5rem;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 850px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 850px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

.fancy-header {
  /*background-color: #4CAF50;*/
  background-color: black;
  color: white; /* White text color */
  text-align: center; /* Center align text */
  font-size: 24px; /* Font size for the header */
}

.section1{
    background-image: url("../imgs/homepage_bg7.jpg");
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding-left: 0.5rem;
    border: 0px;
}

.wel{
  position: absolute;
  top: 28%;
  color: black;
  padding-left: 1rem;
  width:40%;
}


.wel h3{
  font-size: 1.8vw;
  font-weight: 500;
  padding-top: 6rem;
  padding-bottom: 1.2rem;
}

.wel p{
  font-size: 1.2vw;
}
.wel .button3{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.wel .button{
 padding-top: 2rem;
 padding-bottom: 2rem;
}

.wel .button .button2{
  padding-left: 10rem;
}
/*
.blue-text{
  color: #0000FF; 
  font-weight: 700;
}
*/

@media screen and (max-width: 850px){
    .section1{
      background-image: url("../imgs/comprehensive_eye_exam.jpg");
      width:100%;
      background-repeat: no-repeat;
      background-position: center center;
      background-attachment: fixed;
      background-size: cover;
      position: relative;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }
    .section1 .wel{
      background: rgb(0,0,0);
      background: rgba(0,0,0,0.5);
      color: #f1f1f1;
      width: 96%;
    }
    .section1 .wel h3{
      font-size: 1.5rem;
      font-weight: 500;
      text-align: center;
    }
    /*
    .wel .blue-text{
      color: yellow; 
      font-weight: 200;
    }*/
    .section1 .wel .button{
      padding-top: 3rem;
      text-align: center;
    }
    .section1 .wel .button .button2{
      padding-left: 0;
      padding-top: 2rem;
      padding-bottom: 3rem;
    }
    .section1 .wel p{
      font-size: 1rem;
      padding-bottom: 0.5rem;
    }
}

@media screen and (max-width: 850px){
  .h2-text{
    font-size: 1.6rem;
  }
} 

.sec{
  display: flex;
  align-items: center;
  justify-content: center
}

.sec .sec-img{
  height: fit-content;
  padding: 3rem 3rem;
}

.sec .sec-img img{
  height: fit-content;
}

.sec .sec-content{
  padding: 3rem 3rem;
}

.sec .sec-content h2{
  padding-bottom: 0.5rem;
}

.sec .sec-content p{
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

@media screen and (max-width: 850px){
  .sec{
    width: 100%;
    flex-flow:row wrap;
    align-items: center;
  }
  .sec .sec-content{
    display: block;
    order: 2;
    width: 100%;
    padding: 1rem 2rem;
  }
  .sec .sec-img{
    display: block;
    order: 1;
    width: 100%;
  }

  .sec .sec-img img{
    width: 100%;
  }
}


/*
.spacer{
  height: 100px;
}
*/

.wrapper-service{
  padding-left:auto;
  padding-right:auto;
  background-color:aliceblue;
  max-width: 100%;
  /*
  border: 1px solid grey;
  */
}

.review{
  background-color: cyan;
  padding-left:auto;
  padding-right:auto;
  max-width: 100%;
}
.review h2{
  padding-top:6rem;
  padding-bottom:8rem;  
}

.star-container {
  font-size: 36px; /* Adjust font size as needed */
  line-height: 1; /* Reset line height to prevent extra spacing */
}

.star {
  padding-right: 10px; /* Adjust separation between stars */
  /*color: black;*/
  color:darkgray;
}

.shop{
  background: whitesmoke;
  min-height: 36rem;  
}

/*
.w3-about{
  font-size: 2.1vw;
  font-weight: 500;
  position:absolute;
  top:50%;
  left:30%;
  transform:translate(-50%,-50%);
  -ms-transform:translate(-50%,-50%);
}

.intro hr{
  height: 0.1rem;
  background-color: skyblue;
}

@media screen and (max-width: 850px){
  .w3-about{
    font-size: 1.4rem;
    font-weight: 500;
  }
  .intro{
    width: 90%;
  }
}
*/

/*
.button_color{
  background-color:GoldenRod;
  color: white
}
*/


.w3-descr{
  background-color: white;
}

@media screen and (max-width: 850px){
  .w3-descr{
    align-items: center;
    padding-left: 4rem;
    padding-right:4rem;
  }
}

.topbg {
  width: 100%; /* Set width of container */
  height: 80vh; /* Set height of container */
}

.empty1 {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/eyecheck.jpg"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.empty2 {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/kids_eyecare.png"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.empty3 {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/contact_lens_array.png"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.empty4 {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/children_dancing4.jpg"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.empty5 {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/diabet_eye2.jpg"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.aboutus {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  /*
  background-image: url("imgs/aboutus01.png"); 
  */
  background-image: url("../imgs/aboutus02.jpg");
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.contactus {
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/location.png"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.dryeyeimg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/dryeye2.png"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.sunglassesbg{
  width: 100%; 
  height: 100%; 
  /*
  background-image: url("imgs/sunglasses3.jpg"); 
  */
  background-image: url("../imgs/sunglassesbg.jpg"); 
  background-size: cover; 
  background-position: center; 
}

.framebg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/glasses_frame3.jpg"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.safetybg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/safety_glasses_2.jpg"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.myopiabg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/myopia2.jpg"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.emergencybg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  /*
  background-image: url("imgs/eye7.png"); 
  */
  background-image: url("https://da4e1j5r7gw87.cloudfront.net/wp-content/uploads/sites/4832/2024/02/woman-rubbing-eyes.jpg"); 
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.strainbg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/strain_eye_12.png"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.diseasebg{
  width: 100%; /* Set width of empty container */
  height: 100%; /* Set height of empty container */
  background-image: url("../imgs/eye_disease.png"); /* Set background image */
  background-size: cover; /* Cover entire container with background image */
  background-position: center; /* Center the background image */
}

.aee_sec1 {
  background-image: url('../imgs/eye_check_2.jpeg'); 
}

.cee_sec1 {
  background-image: url('../imgs/children1.png'); 
}

.lee_sec1 {
  background-image: url('../imgs/cotanct_lens.jpg');
}

.oee_sec1 {
  background-image: url('../imgs/ortho_k_3.png'); 
}

.dee_sec1 {
  background-image: url('../imgs/comprehensive_eye_exam2.jpg'); 
}

.det_sec1 {
  background-image: url('../imgs/dry_ere_therapy1.jpg'); 
}

.mc_sec1 {
  background-image: url('../imgs/myopia_control.jpg'); 
}

.ec_sec1 {
  background-image: url('../imgs/emergency1.jpg'); 
}

.sc_sec1 {
  background-image: url('../imgs/strain_eye_1.png'); 
}

.dc_sec1 {
  background-image: url('../imgs/eye_disease2.png'); 
}

.safec_sec1 {
  background-image: url('../imgs/safety_glasses_1.jpg'); 
}

.sunc_sec1 {
  /*
  background-image: url('..imgs/toryburch2.png'); 
  */
  background-image: url('../imgs/sunglasses.jpg'); 
}

.hc_sec1 {
  background-image: url('../imgs/istockphoto_home.jpeg'); 
}

.par-sec{
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  background-size: cover; 
  background-position: center;
  height: 100vh; 
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 1rem;
}

.child-content{
  background: rgb(0,0,0);
  /*
  background: rgba(0,0,0,0.5);
  */
  background: rgba(0,0,0,0.7);
  color: white;
  width: 55%;
  padding: 2rem 2rem;
  line-height:1.5;
  text-align: left;
  overflow: hidden;
}

@media only screen and (max-width: 850px) {
  .par-sec{
      justify-content: center; 
      padding-right: 0rem;
  }
  .child-content{
    width: 95%;
  }
}

.contact1{
    display: inline-block;
    padding-bottom: 2rem;
}

@media screen and (min-width: 850px) {
  .time{
    float: left;
    width: 50%;
    position: relative;
    padding-top: 2rem;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 6rem;
  }
  .time h3{
    color: black;
    font-size: 1.6rem;
    font-family: serif;
    padding-bottom: 3rem;
  }
  .time table{
    font-family: serif;
    font-size: 1.4rem;
  }
  .contactlist{
      float: right;
      width: 50%;
      padding-top: 2rem;
      padding-left: 4rem;
  }
}
/* on Mobile */
@media screen and (max-width: 850px) {
  .time {
    width: 100%;
    padding-left: 3rem;
    padding-bottom: 4rem;
  }
  .time h3{
    color: black;
    font-size: 1.6rem;
    padding-top: 2rem;
    font-family: serif;
    padding-bottom: 3rem;
  }
  .time table{
    font-family: serif;
    font-size: 1.4rem;
  }
  .contactlist {
      width: 100%;
  }
}

.tail{
  display: block; 
  margin: auto; 
  width: 100%;
  height: 5rem;
}

#taillogo{ 
  float: left;
  height: 6rem;
  display: inline-block;
  padding-left: 7rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.myname{
  float: left;
  font: serif;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1em;
  color: white;
  padding-left: 0.625rem;
  padding-top: 0.7rem;
}

@media screen and (max-width: 850px){
  .tail{
    padding-left: 2rem;
  }

  #taillogo{
    padding-left: 0;
  }
}


.footerbrand{
  padding-top:1rem;
  /*
  background-color: #555;
  */
  background-color: #333333;
  font-family: "conc-t3-r";
  font-feature-settings: "ss02";      
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin: 0rem;
}

.footer-col1{
  flex: 0 0 auto;
  width: 26%;
  padding-top: 0rem;
  padding-bottom: 4rem;
  padding-left: 8rem;
  border-radius: 8px;
}

.footer-col2{
  flex: 0 0 auto;
  width: 26%;
  padding-top: 0rem;
  padding-bottom: 4rem;
  padding-left: 4rem;
  border-radius: 8px;
}

.footer-col3{
  flex: 0 0 auto;
  width: 16%;
  padding-top: 0rem;
  padding-bottom: 4rem;
  padding-left: 4rem;
  border-radius: 8px;
}

.footer-col4{
  flex: 0 0 auto;
  width: 16%;
  padding-top: 0rem;
  padding-bottom: 4rem;
  padding-left: 4rem;
  border-radius: 8px;
}

.footer-col5{
  flex: 0 0 auto;
  width: 16%;
  padding-top: 0rem;
  padding-bottom: 4rem;
  padding-left: 4rem;
  border-radius: 8px;
}

@media screen and (max-width: 850px){
  .footerbrand .footer-col1{
    display: block;
    order: 1;
    width: 100%;
    padding-left: 4rem;
  }
  .footerbrand .footer-col2{
    display: block;
    order: 2;
    width: 100%;
    padding-left: 4rem;
  }
  .footerbrand .footer-col3{
    display: block;
    order: 3;
    width: 100%;
    padding-left: 4rem;
  }
  .footerbrand .footer-col4{
    display: block;
    order: 4;
    width: 100%;
    padding-left: 4rem;
  }
  .footerbrand .footer-col5{
    display: block;
    order: 5;
    width: 100%;
    padding-left: 4rem;
  }
}

.line{
  padding-left: 7rem;
  padding-right: 7rem;
}

.footer{
  padding-top:1rem;
  /*
  background-color: #555;
  */
  background-color: #333333;
  font-family: "conc-t3-r";
  font-feature-settings: "ss02";      
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin: 0rem;
}

.footer-left{
  flex: 0 0 auto;
  width: 50%;
  padding-top: 2rem;
  padding-bottom: 4rem;
  padding-left: 8rem;
  border-radius: 8px;
}

.footer-right{
  flex: 0 0 auto;
  width: 50%;
  padding-top: 2rem;
  padding-bottom: 4rem;
  padding-left: 8rem;
  border-radius: 8px;
}

.footer-right ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-right li a {
  display: block;
  width: 60px;
}

@media screen and (max-width: 850px){
  .footer .footer-left{
    display: block;
    order: 1;
    width: 100%;
    padding-left: 4rem;
  }
  .footer .footer-right{
    display: block;
    order: 2;
    width: 100%;
    padding-left: 4rem;
  }
}

.footer-bottom{
  /*
  background-color:#333333;
  */
  background-color:black;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.bar-sec{
  display: flex;
  align-items: center;
  justify-content: center;
}
.bar-content{
  padding-left: 1rem;
}
.bar-button{
  padding-left: 8rem;
}

@media screen and (max-width: 850px){
  .bar-sec{
    width: 100%;
    flex-flow:row wrap;
    text-align: center;
  }
  .bar-sec .bar-content{
    display: block;
    order: 1;
    width: 100%;
    padding-left: 0rem;
    /*
    padding: 1rem 2rem;
    */
  }
  .bar-sec .bar-button{
    display: block;
    order: 2;
    width: 100%;
    padding-left: 0;
  }



