*{
    font-size: 62.5%;
    font-family:'Raleway', 'Times New Roman', 'Times';
    box-sizing: border-box;
    color: rgb(30, 30, 30);
}

a[href^="tel"] {
    text-decoration: none;
    color: inherit;
    font: inherit;
  }

/******************************************
/* Navigation
/*******************************************/

header{
    position: fixed;
    top: 0;
    left: 0;

    background-color: rgb(11,20,66);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
    height: 6rem;
    transition: height 0.5s ease; 
}

header *{
    color: rgb(222, 222, 222);
    font-size: 1rem;
}

header ul{
    display: flex;
    flex-direction: row;
    padding-right: 5rem;
}

header ul li{
    padding: 0.5rem 3rem;
}

header ul li a {
    font-size: 1.5rem;
    text-decoration: none;
}

header ul li a:hover{
    font-size: 1.6rem;
}

header span{
    width: 5%;
    min-width: 6rem;
    font-size: 1rem;
    line-height: 2.1rem;
    transition: line-height 0.5s ease;
}

/******************************************
/* Typography
/*******************************************/

h1{
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0.5rem 0;
    width: 80%;
    text-align: left;
    border-bottom: 2px solid rgb(30, 30, 30);
    margin-bottom: 2rem;
}

h2{
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin: 0.5rem 0;
    padding-top: 2rem;
}

h3{
    font-size: 2rem;
    font-weight: 300;
}

h5{
    font-size: 1.5rem;
    font-weight: 200;
}

h4{
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    padding: 1.5rem 0;
}

.breakSmallScreen{
    display: none;
}

.sub2-container2 h4{
    align-self: center;
    text-align: left;
}

.contact h4{
    align-self: flex-start;
    text-align: left;
}

p, address{
    font-size: 2rem;
    font-weight: 200;
    margin: 0;
}

a:hover{
    color: rgb(155, 155, 155);
}

.underline{
    width: 80%;
    height: 1px;
    margin: 0.1rem auto; 
}

.iconStyle h3{
    font-size: 2rem;
    margin-top: 1rem;
}

.nounderline{
    border: 0;
    font-size: 4rem;
}

#rates span{
    padding: 3rem 0 0 4rem;
}

#license span{
    font-size: 1.75rem;
    font-weight: 200;
    text-decoration: none;
}

#license h3{
    font-weight: 2.5rem;
    margin: 0;
}

#insurance{
    padding-top: 1rem;
    font-size: 2rem;
    font-weight: 300;
}
/******************************************
/* Page Structure
/*******************************************/
main{
    height: 1vh;
    padding-top: 5rem;
}

.container1{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10rem 0 5rem 0;
}

.sub1-container1{
    width: 25%;
    align-self: center;
}

.sub2-container1{
    width: 50%;
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container2{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-top: 3rem;
}

.container2 > p{
    width: 70%;
    align-self: center;
    text-align: center;
    font-weight: 400;
}

.sub1-container2{
    display: flex;
    flex-direction: column;
    padding: 3rem 10rem;
}

.sub2-container2{
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    padding: 1rem 0;
}

.sub2-container2 p{
    margin: 0;
    width: 100%;
    max-width: 100rem;
    min-width: 20rem;
    align-self: center;
}

.sub1-container2 img{
    width: 20%;
    min-width: 25rem;
    align-self: center;
}

.sub3-container2{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    max-width: 60rem;
    align-self: center;
}

.sub3-container2 span{
    font-size: 2.5rem;
    font-weight: 300;
}

.sub2-container2 span,
.sub1-container2 span{
    font-size: 2rem;
}

.contact{
    flex-direction: row;
}

#rates{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 3rem;
}

#license{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/******************************************
/* Colors
/*******************************************/

.light{
    background-color: rgb(222, 222, 222);
    
}

.dark{
    background-color: rgba(36, 53, 141, 0.9);
    
}

.light *{
    color: rgb(30, 30, 30);
}

.dark *{
    color: rgb(222, 222, 222);
}

/******************************************
/* Media
/*******************************************/
#sandyHeadshot{
    width: 100%;
    max-width: 40rem;
    min-width: 10rem;
    border-radius: 0.25rem;
}

.iconStyle{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 3rem;
}

.iconStyle img{
    width: 20%;
    min-width: 7rem;
    padding: 1rem;
}

.sub2-container2 img{
    padding-bottom: 1rem;
}

.infographic{
    align-self: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 40%;
    margin: 3rem 0 0 0;
}

.infographic-sub1{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.infographic img{
    width: 10rem;
    padding: 1rem;
    filter: drop-shadow(0 0 0.2rem rgb(255, 255, 255));
}

.infographic span{
    font-size: 1.5rem;
}

.map{
    width: 50%;
    height: 300px;
    padding: 2rem;
}

/******************************************
/* Interactive Styles
/*******************************************/

@keyframes fadeInUp {
    0% {
      transform: translateY(25%);
      opacity: 0;
    }
    100% {
      transform: translateY(0%);
      opacity: 1;
    }
  }
  
  .fadeInUp-animation {
    animation: 1.5s fadeInUp;
  }

/******************************************
/* Responsive Styles
/*******************************************/

@media all and (min-width:900px){
    h1{
        font-size: 2.5vw;
    }

    h1 + p{
        font-size: 2vw;
    }


}

@media all and (max-width:900px){
    .contact, .rate{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
        width: 100%;
        padding-left: 4rem;
    }


    .sub2-container1{
        padding-left: 2rem;
    }

    .map{
        width: 75%;
        padding-left: 2rem;
        align-self: flex-end;
    }

    .sub1-container2 {
        padding: 3rem;
    }

    .breakSmallScreen{
        display: inline;
    }
}

@media all and (max-width:700px){
    .container1{
        flex-direction: column-reverse;
        align-items: center;
        padding-top: 5rem;
    }

    .sub1-container1{
        width: 60%;
        margin-left: 0rem;
    }

    .sub2-container1{
        padding: 0 0 1rem 0;
        width: 80%;
    }

    .sub3-container2{
        flex-direction: column;
    }

    .iconStyle{
        flex-direction: row;
        justify-content: space-between;
        width: 80%;
        align-self: center;
    }

    .iconStyle h3{
        padding: 3rem;
        font-size: 4.5vw;
        text-decoration: none;
    }

    #license span{
        font-size: 1.25rem;
    }

    header{
        justify-content: center;
    }

    header ul{
        padding: 0;
    }

    .map{
        width: 100%;
        height: 100%;
    }

    .remove{
        display: none;
    }
}