*{
    box-sizing:border-box;
    padding:0;
    margin:0;
    max-width:100%;
    /* border:1px solid grey; */
  }


html{
    font-size: 62.5%;
}

header{
    
    background-color: black;
   
    
}

.logo{
    width: 20%;
    padding:1.3%;
    margin: 0 auto;
    text-align: center;
}

.logo img { /* header log top left */
    max-width: 100%;
    height: 115px;
    margin: 0 auto;
    width: 55%;
}
header nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.link{ /* Navigation box */
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 3rem;
    font-family: 'Do Hyeon', sans-serif;
}

a:hover {
    color:orange;
}
h1 {
    color:white;
    font-size: 5.5rem;
    text-align: center;
    padding:1%;
    font-family: 'Do Hyeon', sans-serif;

}

.largeImage {
    width: 100%;
    background-image:url('https://images.unsplash.com/photo-1534258936925-c58bed479fcb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1489&q=80');
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
}


.heading h2 { /* Styles for Anywhere Fitness heading */
    color: white;
    font-size:10rem;
    margin: 0 auto;
    text-align: center;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Do Hyeon', sans-serif;
    padding-top:4%;
}

.heading h3 { /* Styles for fitness at a new level heading */
    font-family: 'Do Hyeon', sans-serif;    color: white;
    font-size:6rem;
    margin: 0 auto;
    text-align: center;
    text-shadow: 2px 2px 4px #000000;
    padding-top: 1%;
}

.heading h4 { /* Styles for browse classes heading */
    font-family: 'Do Hyeon', sans-serif;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    font-size:5rem;
    margin: 0 auto;
    text-align: center;
    padding-top: 3%;
}

.heading p { /* Styles for main paragraph */
    font-family: 'Do Hyeon', sans-serif;
    color:white;
    font-size: 2.7rem;
    margin: 0 auto;
    text-align: center;
    width: 40%;
    text-shadow: 3px 3px 4px #000000;
    padding: 2%;
}

.buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 200px;
}

button {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 6%;
    background-color:transparent;
    color: white;
    font-family: 'Do Hyeon', sans-serif;
    border: 3px solid white;
    padding: 1%;
    font-size: 2rem;
    text-shadow: 2px 2px 4px #000000;
}
button:hover{
    color: orange;
    border-color: orange;
}

.feet {
    background-color: black;
    color: white;
    height: 40px;
}
.feet p {
    font-family: 'Do Hyeon', sans-serif;
    font-size: 1.5rem;
    text-align:center;
}
/* Media Query 1 - 1000px */

@media (max-width:1000px) {
    header nav {
        width: 100%;
    }
    nav a {
        font-size: 1.5rem;
    }
    
    .logo{ /* doing away with logo container */
        display:none;
    }
    .logo img { /* doing away with logo image itselft */
        display:none;
    }
    .heading h2 {
        font-size: 7rem;
    }
    .heading h3 {
        font-size: 4rem;
    }
    .heading p {
        width: 70%;
        padding-top: 3%;
    }
    button {
        width: 20%;
    }
    .buttons {
        padding-top: 2%;
    }
}
/* Media Query 2 - 800px */
@media (max-width:800px){
    
}






/* Media Query 3 - 500px */
@media (max-width:500px){
    header nav {
        width: 100%;
    }
    .link {
        display: flex;
        flex-direction: column;
    }
    nav a {
        font-size: 1.7rem;
    }
    .heading h2 {
        font-size: 6rem;
        padding: 2% 0;
    }
    .heading h3 {
        font-size:3.8rem;
        padding: 2% 0;
    }
    .heading h3 {
        font-size: 3rem;
        padding: 2% 0;
    }
    .heading p {
        width: 100%;
        padding-top: 6%;
    }
    button {
        width: 25%;
    }
    h1 {
        padding-left: 5%;
    }
}