
/* Color Pallete: Green: #2F5233 Gray: #6B6E70 Red: #F73131 Light Blue: #4EA8DE */


* {
    margin: 0;
    
}

/* Reusables */ 
h1 h2 h3 h4 h5 h6 {
    font-family: 'Montserrat', sans-serif;
}

.section-divider{
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2em 0;

    color: #2F5233;
}
.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #2F5233;
}
.section-divider span{
    margin: 0 16px;
    font-weight: bold;

    text-transform: uppercase;
    font-size: .85em;
}

.section-divider.left::before{
    flex: 0;
    width: 0;
}
.section-divider.left::after{
    flex: 1;
}
.section-divider.left span{
    margin-left: 0;
    margin: 0 16px;
    font-weight: bold;
}

.section-divider.right::after{
    flex: 0;
    width: 0;
}
.section-divider.right::before{
    flex: 1;
}
.section-divider.right span{
    margin-right: 0;
    margin: 0 16px;
    font-weight: bold;
}

.learn-more-button{
    transition: transform 0.2s ease background-color 0.2s ease;
    background-color: #F73131;
    border: none; 
    border-radius: 4px; 
    padding: .5em 1em;
}
.learn-more-button:hover{
    transform: scale(1.1);
}
.learn-more-button a{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: .9em;
} 


/* header section */
header{
    background-color: #2F5233;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    height: 85px;
}
nav a{
    color: white;
    background-color:#2F5233;

    text-decoration: none;
    align-items: center;

    margin: 1em;
}
/* I need to make this transform like the buttons do so it doesn't make everything in the flex box move */
nav a:hover{
    color: gray;
    font-size: 105%;
}
header img{
    height: auto;
    width: 150px;

    position: absolute;
    right: 0;

    margin: 2em;
}

main{
    display: flex;
    flex-direction: column;
}

/* Hero Section */
#hero{
    width: 100%;
    align-self: center;
    
    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
}
#hero img{
    width: 100%;
    height: 720px;
    align-self: center;

    object-fit: cover;
    object-position: center 40%;
    display: block;
}
#hero h1{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 3em;
}
#hero h3{
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 2em;
    text-align: center;
} 
#hero button{
    position: absolute;
    top: 79%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#hero button:hover{
    transform: translate(-50%, -50%) scale(1.3);
}

/* About Rock Climbing Section */
#about-climbing{
    display: flex;
    justify-content: space-between;
} 
#what-is{
    margin: 0 3em;
    padding: 1em;
    width: 100%;
    height: auto;

    border-left: 4px solid #2F5233;
    border-radius: 10px;

    background-color: rgb(107, 110, 112, .2);
    box-shadow: 5px 5px 10px gray;

    transition: transform 0.2s ease;
}
#what-is:hover{
    transform: scale(1.03);
}
#what-is h3{
    margin: 5px;
}
#what-is p{
    margin: 1em;
    text-align: center;
}

#wht-enjoy{
    margin: 0 3em;
    padding: 1em;
    width: 100%;
    height: auto;

    border-left: 4px solid #2F5233;
    border-radius: 10px;

    background-color: rgb(107, 110, 112, .2);
    box-shadow: 5px 5px 10px gray;

    transition: transform 0.2s ease;
}
#wht-enjoy:hover{
    transform: scale(1.03);
}
#wht-enjoy h3{
    margin: 5px;
}
#wht-enjoy hr{
    margin: 1em;
}
#wht-enjoy ul{
    margin 1em;
}


/*What you will find on this site section*/ 
#about-site{
    display: flex;
    justify-content: space-between;
}
.abt-box{
    margin: 0 3em;
    padding: 1em;
    width: 100%;
    height: auto;

    border-left: 4px solid #F73131;

    border-radius: 10px;

    display: flex;
    flex-direction: column;
    
    background-color: rgb(107, 110, 112, .2);
    box-shadow: 5px 5px 10px gray;
    
    transition: transform 0.2s ease;
}
.abt-box:hover{
    transform: scale(1.03);
}
.abt-box button{
    align-self: center;
    width: 40%;
}
.abt-box h3{
    align-self: center;
}
.abt-box hr{
    margin: .5em;
}
.abt-box p{
    margin-bottom: 1em;
    text-align: center;
}


/* benefits section */
#benefits{
    display: flex;
    justify-content: space-around;
}
.benefit-box{
    margin: 0 3em;
    padding: 1em;
    width: 100%;
    height: auto;

    border-left: 4px solid #4EA8DE;

    border-radius: 10px;

    display: flex;
    flex-direction: column;
    
    background-color: rgb(107, 110, 112, .2);
    box-shadow: 5px 5px 10px gray;
    
    transition: transform 0.2s ease;
}
.benefit-box:hover{
    transform: scale(1.03);
}
.benefit-box button{
    align-self: center;
    width: 25%;
}
.benefit-box p{
    margin: 1em;
    text-align: center;
}
.abt-guide h3{
    align-self: center;
}
.abt-guide hr{
    margin: .5em;
}


/* Footer Section */
footer{
    margin-top: 3em;
    height: 85px;

    background-color:  #2F5233;
    color: white;
    
    display: flex;
    justify-content: space-around;
}
