
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
} 

img {
    width: 100%;
}

a {
    text-decoration: none;
} 

li {
    list-style: none;
}

section {
    opacity: 0;
    transition: opacity 2.5s ease-in;
}

section.show {
  opacity: 1;
}


.main-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 46.875em;
}

.main-menu li {
    font-size: 1rem; 
    font-weight: bolder;
    margin: 1.875em 0em 1.875em 6.25em;
    text-transform: uppercase;
    z-index: 50;
    cursor: pointer;
}

.main-menu li a {
    color: #fff;
}

.main-menu li a:hover {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.hiddenMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    transform: translateY(-100%);
    transition:  all 2s linear;
    z-index: 100;
    opacity: 0;
}

.hiddenMenu.active {
    transform: translateY(0);
    opacity: 1;
    transition: all 2s;
}


.hiddenMenu ul li {
   text-align: center;
   margin: 4.063em 0em;
   display: block;
}

.hiddenMenu ul li a {
   font-size: 3.5rem;  
   color: cornflowerblue;
   font-weight: 800;
   text-transform: uppercase;
}

.hiddenMenu ul li a:hover {
     opacity: .7; 
}

.logo {
    position: fixed;
    top: 0;
    left: 0;
    font-weight: bolder;
    font-size: 2.5rem;
    background-color: cornflowerblue;
    color: #fff;
    padding: .7em 1.5em;
    z-index: 200;
    cursor: pointer;
}

.logo i {
    margin-right: .03em;
}


.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 650px;
}


.header img {
    width: 100%;
    height: 100%;
} 

.header h1 {
    font-family: 'Vollkorn', sans-serif;
    transform: translateX(-3rem);
    color: #fff;
    text-shadow: 4px 0 0 cornflowerblue, 0 -2px 0 cornflowerblue, 0 2px 0 cornflowerblue, -2px 0 0 cornflowerblue;
    font-size: 5rem;
    font-weight: bolder;
    position: absolute;
    top: 28%;
    left: 22%;
    text-align: center;
}

.header .btn {
    position: absolute;
    top: 55%;
    left: 35%;
    background-color: #182856;
    color: #fff;
    padding: .938em 2.375em;
    border: 0;
    font-weight: bold;
    text-transform: uppercase;
    word-spacing: 7px;
    border-radius: 2px;
    transition: all 0.9s ease;
}

.header .btn:hover {
    background-color: #fff;
    color: #182856;
}

.header .btn .fas {
    padding-left: .5em;
    transition: margin-left 0.9s ease;
}

.header .btn:hover i {
    margin-left: .75em;
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes fader {
    from { opacity: 1.0; }
    to   { opacity: 0.0; }
  }

#slider {
    animation-name: fader;
    animation-name: 1s;
}

/*
.btns {
    font-weight: 900;
    font-size: .875rem;
    text-transform: uppercase;
}

.btns .btnLeft {
    position: absolute;
    bottom: 55px;
    right: 60%;
    color: #fff;
    z-index: 50;
}

.btns .btnRight {
    position: absolute;
    bottom: 55px;
    right: 48%;
    color: #fff;
    font-weight: bolder;
    z-index: 50;
} 

.btns i {
    padding: 10px;
}
*/

.welcome {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 36.25em 1.25em 5.625em;
}


.welcome h2 {
    font-size: 3rem;
    color: #182856;
    white-space: nowrap;
    text-transform: capitalize;
}

.welcome img {
    max-width: 100%;
    margin-top: 8.5em;
}

.welcomeMore {
    padding: 3.125em;
    margin: .625em;
    padding-top: 6.25em;
}

.welcomeMore p {
    font-size: 1.25rem;
    line-height: 30px;
    padding-right: 3em;
    margin-top: 1.175em;
    border-right: 3px solid darkblue;
}

.pics {
   display: flex;
}

.pic {
    display: block;
    height: auto;
    overflow: hidden;
    width: 35%;
    position: relative;
    height: 700px;
    animation: fadeIn 2s 1;
}

.pic:before {
    background: rgba(15,25,30,0.65);
    content: " ";
    display: block;
    left: 0;
    top: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.pic:nth-child(1) {
    animation-delay: .5s;
}

.pic:nth-child(2) {
    animation-delay: 1s;
}

.pic:nth-child(3) {
    animation-delay: 1.5s;
}

.pic:nth-child(4) {
    animation-delay: 2s;
}

    .pic h3 {
        font-family: "Vollkorn",serif;
        left: 15%;
        letter-spacing: 4px;
        font-size: 1.563rem;
        line-height: 27.984px;
        position: absolute;
        bottom: 15%;
        z-index: 250;
        color: #fff;
        text-align: left;
    }
 
  .pic:hover::before {
    content: ' ';
    display: none;
    transition: all 1s;
}

  .pic:hover .picContent {
        transform: translateY(-200px);
        transition: transform 1s linear;
    }


.picOne {
    background: url('https://images.unsplash.com/photo-1600447653990-02fbebf8dd24?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTV8fGFwYXJ0bWVudCUyMHJvb218ZW58MHx8MHx8&auto=format&fit=crop&w=600&q=60');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.picTwo {
    background: url('dog_grass.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.picThree {
    background: url('pool.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.picFour {
    background: url('neighborhood.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*
  .fadeInUp {
   animation: fadeIn 2s linear infinite;
}
*/
@keyframes fadeIn {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


.submit {
    background-color: rgb(47, 14, 168);
    color: #fff;
}

 select {
    border: 0;
}

input {
    margin-left: 20px;
    outline: 0;
}

 input:focus {
    outline: none;
}

.elegance {
    position: relative;
    padding: 8.5em 0em .625em;
}

.elegance h3 {
    color: #79d1c1;
    text-align: center;
    font-size: 2rem;
    text-transform: capitalize;
}

.elegance h2 {
    color: #182856;
    text-transform: capitalize;
    text-align: center;
    font-size: 2.5rem;
    padding:  1em 0em;
}

.bb {
    border-bottom: 3px solid darkblue;
    width: 20%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.borderLine {
    border-bottom: 3px solid teal;
    position: absolute;
    bottom: 10%;
    left: 15%;
    width: 20%;
}

.elegance p {
    margin: 6.25em 6.25em 0em;
    line-height: 1.5;
    width: 80%;
    text-align: center;
}

.focusButtons {
    position: absolute;
    left: 30%;
}

.tailored {
    text-align: center;
    background-color: #f5f4f2;
    position: relative;
    top: 10em;
    padding: 9.375em 0em;
}

.tailored h4 {
   color: #79d1c1;
   font-size: 1.438rem;
   text-transform: uppercase;
}

.tailored h2 {
    font-size: 2.813rem;
    text-transform: capitalize;
    color:  #182856;
    padding-top: 1.75em;
}

.tailored p {
    width: 80%;
    text-align: center;
    line-height: 1.5;
    margin: 6.25em;
}

.tailored img {
    width: 28%;
    height: 350px;
    margin-right: 1.25em;
    transition: filter 1s;
}

.tailored img:hover {
    filter: grayscale(70%);
}

.tailored h5 {
    display: inline-block;
    font-size: 1.4rem;
    margin: .625em 3.875em;
    text-align: left;
}

.friends {
    width: 100%;
    height: 700px;
    margin-top: 8.5em;
}

.contact {
    height: 40%;
    width: 100%;
    background-color: #fff;
    color:  #182856;
    text-align: center;
    text-transform: capitalize;
    padding: 5em 0em;
}

.contact h2 {
   font-size: 2rem;
   color:  #79d1c1;
   margin-bottom: .25em;
}

.bbb {
    border-bottom: 3px solid darkblue;
    width: 10%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.contact p {
    margin-top: 3.125em;
}

.footer {
    padding: 1.25em;
    font-weight: bold;
    background-color: #41b09d;
    position: relative;
    color: #fff;
    width: 100%;
    height: 150px;
}


.footer-right {
   position: absolute;
   top: 1.25em;
   right: 1.25em;
   width: 40%;
}

.footerLogo {
    position: absolute;
    left: 43%;
    top: 30%;
    font-size: 2.5rem;
}

/* Tablets and Under */ 
@media(max-width: 768px)  {
    .logo {
        position: fixed;
        left: 10.625em;
        padding: 15px 30px;
        font-size: 25px;
        background-color: hotpink;
    }

    h1 {
        display: flex;
        flex-direction: column;
    }

    .elegance p {
        text-align: center;
    }

    .main-menu li {
        display: block;
        position: absolute;
        top: 70px;
        left: 220px;
    }

    .main-menu li + li {
        transform: translateY(-30px);
    }

    .header {
        width: 100%;
    }

    .header h1 {
        transform: translateX(-80px);
    }

    .header .btn {
        margin-top: 60px;
        transform: translateX(-20px);
    }

    .friends {
        width: 100%;
    }

    .duh {
        width: 100%;
    }

    .welcome {
        display: flex;
        flex-direction: column;
    }

    .welcome img {
        max-width: 80%;
    }

        .pics {
         display: grid;
         grid-template-columns: repeat(2, 1fr);
      }

    .pic {
        display: block;
        overflow: hidden;
        width: 100%;
        height: 700px;
        position: relative;
        animation: fadeIn 2s 1;
     }

}

/* Mobile */ 
@media(max-width: 500px)  {
    .logo {
       position: fixed;
       left: 6em;
    }

    .main-menu li {
        display: block;
        position: absolute;
        top: 4.375em;
        left: 6.25em;
    }

    .main-menu li + li {
        transform: translateY(-30px);
    }

    .elegance p {
        text-align: center;
        display: block;
        margin: 0 auto;
        padding: 1em .5em;
    }

    .tailored p {
        margin: 0 auto;
        padding: 1em;
        text-align: center;
        display: block;
    }

    .header {
        width: 100%;
    }

    .header h1 {
        transform: translateX(-80px);
    }

    /*
    .header .btn {
        top: 55%;
    } */

    .welcome {
        width: 100%;
        display: block;
        text-align: center;
        margin: 35em auto 2em;
        padding-top: 1em;
    }

    .welcome h2 {
        font-size: 2rem;
    }

    .pics {
        display: block;
    }

    .pic {
        display: block;
        overflow: hidden;
        width: 100%;
        position: relative;
        height: 700px;
        animation: fadeIn 2s 1;
}

    .friends {
        width: 100%;
    }

    .duh {
        width: 100%;
    }
}

/* Do I need to change the font size for responsiveness? */