body{
    background-color: #D5E9ED;
    margin: 0px;
}
main{
    margin: 10px;
}
/*

 LOGO DESIGN
*/
h1{
/*
    font-family: "Sarina", cursive;
    font-weight: 400;
    font-style: normal;
*/
    font-family: "Nosifer", sans-serif;
  font-weight: 400;
  font-style: normal;
    font-size: 1.85rem;
    padding: 10px;
    margin: 4px auto auto 50px;
        max-width: 400px;
    
}

/*****headings*****/
h2{
    font-family: "Eagle Lake", serif;
  font-weight: 900;
  font-style: normal;
    font-size: 2rem;
/*    margin: 0px;*/
    color: #194a7a;
}
a{
    text-decoration: none;
    font-family: serif;
    text-align:center;
    font-size: 1.5rem;
    color: aliceblue;
}

p{
    font-family: "Special Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/*Nav bar in header*/
header{
    background-color: #5777B3;

/*
    background-image: url("../Images/download.jpg");
    height: 100px;
    opacity: 0.2;
*/

    
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 10vh;
    align-items: center;
    align-content: center;
    position: relative;
    padding: 10px 0; 
    text-align: center; 
    /* Make it sticky */
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    }

/*For Navigation bar*/
.display-container{
    text-align: center;
}
/*Nav bar menu items*/
.display{
    width: 75px;
    height: 35px;
    margin: 10px;
    display: inline;
    text-align: center;
    align-content: center;
    border: 1px solid #1d4a80;
    text-decoration: none;
    margin-top: 10px;
    background-color:#03045E;
    padding: 10px 20px;
    border-radius: 5px;
    }

.display:hover{
    font-size: 1.25rem;
    color: #ffffff;
    text-decoration: underline;
}

/*Consistent footer*/

/*

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #99c7eb;
    padding: 15px 20px;
    font-family: Arial, sans-serif;
    height: auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.footer-left p {
    font-size: 0.6 rem;
    margin-top: 5px;
}

.footer-right {
    text-align: left;
}

.footer-right h3 {
    font-size: 0.8 rem;
    margin-bottom: 1px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    font-size: 2 rem;
    color: black;
    text-decoration: none;
    margin: 10px;
}


.footer-nav {
    display: flex;
    font-weight: bold;
}

.footer-nav a {
    text-decoration: none;
    color: black;
    margin: 10px;
}
*/

.footer {
    background-color: #5777B3;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    max-width: auto;
    margin: auto;
    position:relative;
}
.footer-left {
    flex: 1;
}

.footer-left a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}
.footer p {
    margin: 20px 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
}
h4{
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0px;
}
.resume-btn {
    display: inline-block;
    margin-top: 10px;
    background-color: 03045E;
    padding: 12px 25px;
    border-radius: 8px;
}
.resume-btn:hover {
    background-color: purple;
}
.footer-right {
    flex: 1;
    text-align: right;
}
.footer-bottom {
   text-align: center;
   font-style: italic;
   margin-top: 20px;
   padding-bottom: 0px;
    font-weight: 500;
} 
/*Social Icons*/

i{
    color: #03045E;
    font-size: 3rem;
    margin-left: 10px;

}
/*********************************************************Home Page*********************************************************/

main{
    margin: 0px;
    }

/***Hero portion***/

.hero{
    display: flex;
    align-content: center;
    text-align: center;
/*    margin: 20px 100px;*/
    margin: 0px 200px 0px 290px ;
    background-color: 
}
.hero-left, .hero-right{
    margin-top: 100px;
}

.hero-centre img{
    height: 400px;
    width: auto;
    align-content: center;
}
/*
.know-more{
    align-content: center;
    text-align: center;
    width:20%;
    margin:  auto;
    margin-bottom: 20px;
}
*/

.name{
    font-family: "Englebert", cursive;
  font-weight: 900;
  font-style: normal;
    font-size: 2rem;
}
.about{
    font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
    max-width: 200px;
    font-size: 1.2rem;
}
.quote{
    font-family: "Cookie", cursive;
  font-weight: 500;
  font-style: normal;
    font-size: 2rem;
    max-width: 300px;

}
.skills-2 img{
    width: 100px;
    height: 100px;
    margin: 0px 70px 0px 60px
}
.skills-1 img{
    width: 100px;
    height: 100px;
    margin: 0px 70px 0px 60px
}
figcaption{
    font-family: "Merriweather", serif;
  font-size: auto;
  font-weight: 200;
  font-style: normal;
}
/**My Skills**/
.skills{
    text-align: center;
    align-content: center;
    margin-top: 20px;
}
.skills-1, .skills-2{
    display: flex;
    margin:  10px 50px 10px 300px;
    
}
/****************************Projects*******************/
.projects{
    align-content: center;
    text-align: center;
}
.cases img{
    width: 325px;
    height: 300px;;
    margin-left: 130px;

}
.allcases{
    display: flex;
    margin:40px 40px 10px;
}
/*
.cases{
    margin:20px;
}
*/

.case-link{
        display: flex;
    width: 100%;
}
.case-link a{
        margin-left: 200px;
        width: 250px;
        height: 35px;
        padding: 10px 0px;
}

/****************************Testimonials*******************/

#testimonial{
    text-align: center;
    align-content: center;
    
}
.review1, .review2, .review3{
    background: white;
    padding: 15px;
    border-radius: 8px;
        margin: 15px ;
    width: 750px;
    height:210px;
}

.testimonial-container {
    background: #cbd5e1;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin: 20px ;
    
}

.testimonial-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    align-content: center;
    margin-left: 170px;
}

.testimonial-container p {
    background: white;
    padding: 5px;
    border-radius: 8px;
    flex: 1;
    margin: 5px ;
}
.tnames{
    margin: 0px;
    text-align: center;
    padding: 0px;
    font-size: 1.25rem;
}

/***************************************************About Me*********************************************************/
/*****hero*****/
main{
    margin:  40px;
}
.hero-about{
    background-color: #6A89A6;
    margin: 20px;
    display: flex;
    align-content: center;
    align-items: center;
}
.hero-about img{
        height: 400px;
    width: auto;
    align-content: center;
    margin: 50px 100px 10px 380px;;
}
.hero-about p{
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
}
/****************about me para***********/
.aboutme p{
    margin-top: 0px;
}
.aboutme h2{
    margin-bottom: 0px;
}
.education h2{
        margin: 0px;
}
/****************hobbies***********/
.hobby img{
    width:300px;
    height:300px;
}
.hobbies{
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    margin: 0px 170px; 
}
.hobbies figcaption{
    font-size: 1.25rem;
}

/*************************************Contact Me*****************************/
/*********for Form only*********/
 form{
    background: #6A89A6;
    padding:;
    border-radius:20px;
    max-width: 700px;
    margin: 20px;
     padding: 40px;
}
label{ 
    font-family: "Markazi Text", serif;
   font-size: 1.25rem;
   font-weight: 300;
   font-style: normal;
    margin: 0px;
}
fieldset{
    border-radius: 10px;
}
input{
    width:100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid lightgrey;
    border-radius: 4px;
    color: blue;
}
textarea{
    width: 93%;
    border: lightgrey;
    border-radius: 4px;
    margin: 10px 20px ;
}          
button{
    margin: 8px;
    padding: 8px 30px;
    font-size: 1.2rem;
    border: lightgrey;
    border-radius: 4px;
}
            .reset-btn{
                background-color: lightgrey;
            }
            .submit-btn{
                background-color: #03045E;
                color: white;
            }
            legend{
                text-align: center;
            }
            .check{
                display:flex; 
                align-items:center; 
                
            }
            #terms{
                width: 30px;
                margin: 10px;                
            }
            .comment{
                margin: 20px;
            }
.buttons{
    align-content: center;
    align-items: center;
    text-align: center;
}
.contact h2{
    text-align: center;
}
.contactinfo{
    display: flex;
}
.contact_photo img{
    width: 600px;
    height: 500px;
    margin: 35px;
    
}
.connect a{
    color: #03045E;
}
.connect{
    align-content: center;
    text-align: center;
}
.connect p{
    font-family: "Markazi Text", serif;
    font-size: 1.50rem;
  font-weight: 200;
  font-style: normal;
}
/********************case Study*****************************/
.project_container{
    align-content: center;
    background-color: #6A89A6;
    margin-bottom: 40px;
}
.project{
    display: flex;
}
.project img{
    width: 200px;
    height: 200px;
    margin: 10px 60px 20px;
}
.project p{
    margin: 10px 40px;
    font-size: 1.25rem;
    text-align: left;
}
/*******************Car Show*****************************/
#carhead{
    text-align: center;
    align-content: center;
}
.carstudy{
    margin: 0px 15px;
    align-content: center;
    align-items: center;
    text-align: center;
}
.c1{
    padding: 10px 15px;
    background-color: #6A89A6;
}
.c2 img{
    width: 700px;
    height: auto;
}
.c1 img{
    width: 600px;
    height: 500px;
}
/*******************game*****************************/
.g1{
    padding: 10px 15px;
    background-color: #6A89A6;
}
.g1 img{
    width: 900px;
    height: auto;
}
.g2 img{
    width: 1000px;
    height: auto;
}

#error{
    align-content: center;
    text-align: center;
}
.construction img{
    width: 800px;
    height: auto;
}
.footer-nav{
    visibility: hidden;
}
/**********Media queries************/
/***Index****/
@media screen and (max-width: 600px){
    h1{
        height: 5vh;
        width: 100%;
        margin-top: 60px;
        font-size: 1.25rem;
        text-align: center;
    }
    header{
    background-color: #5777B3;
    display: flex;
    justify-content: space-between;
/*    flex-wrap: wrap;*/
    height: 50px;
    align-items: left;
    align-content: center;
    position: relative;
    padding: 10px 0; 
    text-align: center; 
    /* Make it sticky */
    position: sticky; 
    top: 0; 
    z-index: 1000; 
                font-size: 0.50rem;

    }
    .display-container{
        width: 100%;
    }
.display{
    width: 80px;
    height: 25px;
    font-size: 1rem;
    margin-right: 5px;
    }
    i{
        font-size: 1.5rem;
    }
    .hero{
display: inline;
    align-content: center;
        align-items: center
    text-align: center;
/*    margin: 20px 100px;*/
    margin: 0px  ;
    background-color: 
}
.hero-left, .hero-right{
    margin-top: 10px;
/*    margin-right: 20px;*/
}

.hero-centre img{
    height: 200px;
    width: auto;
    align-content: left;
}
    .skills-2 img{
  width: 50px;
    height: 50px;
    margin: 0px ;
}
.skills-1 img{
    width: 50px;
    height: 50px;
    margin: 0px ;
}
figcaption{
    font-family: "Merriweather", serif;
  font-size: auto;
  font-weight: 200;
  font-style: normal;
}
/**My Skills**/
.skills{
    text-align: left;
    align-content: left;
    margin-top: 20px;
}
.skills-1, .skills-2{
    display: ;
    margin:  10px 5px 10px 5px;
    
}
    .projects{
    align-content: center;
    text-align: center;
}
.cases img{
    width: 100px;
    height: 100px;;
    margin-left:0px;
        margin-right: 25px;


}
.allcases{
    margin:40px 40px 10px;
}
/*
.cases{
    margin:20px;
}
*/

.case-link{
     
}
.case-link a{
        margin-left: 30px;
        width: 200px;
        height: 35px;
        padding: 10px 0px;
    font-size: 0.75rem;
}
#testimonial{
    text-align: center;
    align-content: center;
    
}
.review1, .review2, .review3{
    background: white;
    padding: 15px;
    border-radius: 8px;
        margin: 15px ;
    width: 350px;
    height:210px;
}

.testimonial-container {
    background: #cbd5e1;
    padding: 20px;
    border-radius: 12px;
    display: inline;
    align-items: center;
    margin: 20px ;
    
}

.testimonial-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    align-content: center;
    margin-left: 135px;
}

.testimonial-container p {
    background: white;
    padding: 5px;
    border-radius: 8px;
    flex: 1;
    margin: 5px ;
}
.tnames{
    margin: 0px;
    text-align: center;
    padding: 0px;
    font-size: 1rem;
}
    .hero-about{
    background-color: ;
    margin: 20px;
    display: inline;
    align-content: center;
    align-items: center;
}
.hero-about img{
        height: 300px;
    width: auto;
    align-content: center;
    margin: 0px;
        margin-left: 50px;

}
.hero-about p{
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
}
    .hobby img{
    width:200px;
    height:200px;
}
.hobbies{
    display: inline;
    align-content: center;
    align-items: center;
    text-align: center;
    margin: 0px 0px; 
}
.hobbies figcaption{
    font-size: 1.25rem;
}
     
    .project_container{
        display: inline;
    }
    .project_container{
    align-content: center;
    background-color: #6A89A6;
    margin-bottom: 60px;
}
.project{
    display: inline;
        background-color: #6A89A6;

}
.project img{
    width: 200px;
    height: 200px;
    margin: 10px 60px 20px;
}
.project p{
    margin: 10px 10px;
        font-size: 0.75rem;
    text-align: left;
}
    .carstudy img{
        width: 200px;
        height: auto;
    }
    .carstudy{
        font-size: 0.95rem;
    }
    .contactinfo {
        display: inline;
    }
    .contact img{
        width: 350px;
        height: auto;
    }
    .display-container{
        visibility: hidden;
    }
    .footer-nav{
    visibility:visible;
}
    
        .footer-nav {
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #03045E;
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
        }

        .footer-nav a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer-nav a:hover {
            background-color: #555;
        }

        .footer-nav a.active {
            background-color: #007BFF;
        }
}
