@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

* {
    margin: 0px;
    padding: 0px;
}

body, nav{
    display: block;
    font-family: 'Righteous', cursive;

}

body{
    background-color: white;
    color: white;
}


/*
*Main elements here relate to the index/main page layout
*Navigation bar, contents, and other items
*Many of the elements may be reused in other pages in order to keep a consistent theme
*Across the whole site*/


/************************Dynamic NavBar***************************************/
nav{
    height: 80px;
    background: #404040;
    z-index: 2;
}

nav img{
    width:250px;
    position: absolute;
    top:1px;
    left:12%;
}

nav ul{
    float: right;
    margin-right: 25px;
    list-style: none;
    text-decoration: none;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 15px;
}

nav ul li a{
    position: relative;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    padding: 5px 0;
    list-style: none;
    text-decoration: none;
}

nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: white;
    transform-origin: right;
    transition: transform .4s linear;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transition: transform .4s linear;
    -moz-transition: transform .4s linear;
    -ms-transition: transform .4s linear;
    -o-transition: transform .4s linear;
}

nav ul li a:hover:before{
    transform: scale(1);
    transform-origin: left;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

label #btn, label #cancel{
    color: white;
    font-size: 38px;
    float: right;
    line-height: 70px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
label p{
    margin-top: -40px;
    font-size:10px;
}
#check{
    display: none;
}

@media (max-width: 944px){
    nav img{
        left: 8%;
        top: 20px;
        width:130px;
    }

    nav ul li a{
        font-size: 17px;
    }
}
@media (max-width: 860px){
    label #btn, label{
        display: block;
    }
    nav ul{
        z-index: 2;
        position: absolute;
        width: 100%;
        height: 100vh;
        background: #404040;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px;
        line-height: 30px;
    }

    nav ul li a{
        font-size: 20px;
    }

    #check:checked ~ul{
        left: 0;
    }
    #check:checked ~ label #btn{
        display: none;
    }
    #check:checked ~ label #cancel{
        display: block;
    }
}

/****************************Dynamic Navbar End******************************/







/****************************DynamicFooter Start******************************/


footer{
    position:relative;
    width: 100%;
    bottom: 0;
    background: #404040;
    /*background: linear-gradient(to right, #404040, #fff);*/
    color: #fff;
    padding: 100px 0 30px;
    /*border-top-left-radius: 125px;*/
    font-size: 15px;
    line-height: 20px;
}

.row{
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.email_ID{
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

.col{
    flex-basis: 25%;
    padding: 10px;
}
.col a{
    color: white;
    text-decoration: none
}
.col:nth-child(2), .col:nth-child(3){
    flex-basis: 20%;
}

.logo{
    width: 80px;
    margin-bottom: 30px;
}

.col h3{
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}


.col ul li{
    list-style-type: none;
    margin-bottom: 12px;
}

.col ul li a{
    text-decoration: none;
    color: #fff;
}

.col img{
    background-repeat: no-repeat;
    background-size:contain;
    margin-top: 5px;
    background-position: center center;
    width: 200px;
}
.col h3{
    font-size: 1.5em;
}

hr{
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

.copyright{
    text-align: center;
}

.underline{
    width: 100%;
    height: 5px;
    background-color: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left:0;
    overflow: hidden;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.underline span{
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
    -webkit-animation: moving 2s linear infinite;
}

@keyframes moving{
    0%{
        left: -20px;

    }
    100%{
        left: 100%;
    }
}
@media(max-width: 1400px){
    .col:nth-child(2), .col:nth-child(3){
        flex-basis: 30%;
    }
    .col{
        flex-basis: 28%;
        padding: 10px;
    }
}
@media (max-width: 700px)
{
    footer{
        bottom: unset;
    }
    .col{
        flex-basis: 100%;
    }
    .col:nth-child(2), .col:nth-child(3){
        flex-basis: 100%;
    }
}


/****************************DynamicFooter End******************************/
/*
*Main content background pictures and contents
*barberShopPic controls the right side of of the page
*Which has a temp picture*/


/*Creates 2 column layout for the page
*Used in the main page*/
.twoColumnContent{
    display: flex;
    flex-direction: column;
    padding-top: 90px;
    width: 100%;
}

#barbershopPic{
    background: url("images/test_image.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
     -o-background-size: cover;
    background-size: cover;
}


/*controls left side of the page*Mainly the slogan (h2) tag and button/wrapper*/
.topContent{
    text-align: center;
    font-family: 'Righteous', cursive;
    min-height: 100vh;
}

.topContent h2{
    margin-bottom: 10px;
    font-size: 2.5em;
}
.topContent p{
    font-size: 1.7em;
}

#innerContent{
    margin: 0 auto;
}
.button {
    background-color: #FFDB58;
    border-style: solid;
    border-color: white;
    opacity: .8;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 5px;
    border-radius:9px;
    min-width: 150px;
    padding:15px;
    -webkit-border-radius:9px;
    -moz-border-radius:9px;
    -ms-border-radius:9px;
    -o-border-radius:9px;
}
@media (max-width: 700px){
    .twoColumnContent{
        padding-top: 0;
    }
}

/****************************************************About Section Code******************************/
.centeredTopContent{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fdfdfd;
    font-family: 'Righteous', cursive;
    color:black;
}

.centeredTopContent h2{
    font-size: 3em;
}

#altParagraph{
    display: block;
    display: none;
}

/*Wrapper that contains the slogan, a p element, and envelops the button positioning*/

.centeredTopContent p{
    text-align: left;
    padding-top: 15px;
    margin-top: 30px;
    font-size: 1.4em;
    padding-bottom: 50px;
}
.centeredTopContent i{
    font-size: .8em;
    padding-left:130px;
}

.innerContent{
    width: 600px;
}
.innerContent a{
    color:black;
    text-decoration:double;
}
#straightEdgeDrawing {
    background: url("images/gustavoDrawing.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
    margin-left: auto;
    margin-right: auto;
    height: 200px;
    width: 300px;
}
.bulletPoints {
    list-style-type:disc;
    display:list-item;
    text-align: left;
    padding-top: 10px;
    list-style-position: inside;
}
/****************************************************SERVICES***CODE**************/
.container{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-top: 40px;
    justify-items:flex-start;
    justify-content:center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 1;
}

.card{
    position: relative;
    width: 25%;
    height: 400px;
    padding-top: 20px;
    background: white;
    color: black;
    margin-bottom: 40px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    border-radius: 20px;
}
.details{
    margin-top: 250px;
    text-align: center;
}


.card .imgBox{
    z-index: 1;
    position: absolute;
    left: 50%;
    width: 60%;
    height: 250px;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);

    overflow: hidden;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    -ms-border-radius: inherit;
    -o-border-radius: inherit;
}

.imgBox img{
    background-size:contain;
    background-position: center center;
    width:350px;
}

.card:hover{
    color: white;
    background: #404040;
}





@media (max-width: 1400px){
    .card{
        width: 45%;
    }

}

@media (max-width: 700px){
    .card{
        width: 100%;
        height: 450px;
        position: unset;
    }
    .card .imgBox{
        position: relative;
    }
    .card .content{
        align-items:start;
        justify-content:start;
        justify-items:start;
        opacity: 1;
    }
    .card .content .details h2{
        font-size: 1.3em;
    }
    .card .content .details p{
        font-size: 1em;
    }
    .details{
        margin-top: 0;
        height: 300px;
    }
}
/****************************************************SERVICES***CODE*  END*************/

/**********************************CONTACT***CODE**********/
#scissorDrawing{
    background: url("images/scissors.jpg");
    background-repeat: no-repeat;
    background-size:contain;
    background-position: center center;
    height: 201px;
}

#hide{
    display:block;
}

@media screen and (max-width: 930px){
    .topContent{
        padding-top: 150px;
    }
    .button{
        opacity: 1;
    }
    #innerContent, .centeredTopContent{
        width: 500px;
    }
    .innerContent{
        width: 450px;
    }
}

@media screen and (max-width: 500px) {
    #altParagraph{
        display: block;
    }
    h2{
        font-size: 2em;
    }
    p{
        font-size: 1.5em;
    }
    .centeredTopContent i{
        padding: 0;
    }
    .barbershopPic{
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
    }
    .button{
        opacity: 1;
    }
    .col h3{
        font-size: 1.5em;
    }
    .col p{
        font-size: 1.2em;
    }
    #innerContent, .centeredTopContent{
        width: 300px;
    }
    .innerContent{
        width: 280px;
    }
    #innerContent h2{
        font-size: 2.7em;
    }
    #innerContent p{
        font-size: 1.6em;
    }
    #hide{
        display: none;
    }
    .topContent{
        padding-top:10vh;
    }
}

@media screen and (max-width: 290px){
    #innerContent, .centeredTopContent{
        width: 220px;
    }
    #straightEdgeDrawing{
        width:200px;
    }
}