*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

:root {
    --color-primary: #8563ff;
    --color-warning: #00bf8e;
    --color-success: #f7c94bd3;
    --color-danger: #f75742dc;
    --color-danger-variant: rgba(247, 87, 66, 0.322);
    --color-white:#fff;
    --color-light:rgba(255, 255, 255, 0.753);
    --color-black: #000;
    --color-bg: #29411ff5;
    --color-bg1: #2e6762;
    --color-bg2: #028982;

    --container-width-lg: 85%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 540ms ease;

}


body{
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background-color: var(--color-bg1);
    
}

.container{
width: var(--container-width-lg);
margin: 0 auto;
}

section{
    /* padding: 6rem 0; */
}

section h2 {
   text-align: center;
   margin-bottom: 4rem;
}

h1, h2, h3, h4, h5 {
    line-height: 1.2;
}

h1{
    font-size: 2.4rem;
}
h2{
    font-size: 2rem;
}

h3{
    font-size: 1.6rem;
}

h4{
    font-size: 1.3rem;
}

a{
    color: var(--color-white);
}

img{
    width:100%;
    display: block;
    object-fit: cover;
}

.btn{
    background: var(--color-white);
    display: inline-block;
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover{
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-primary{
    background: var(--color-danger);
    color: var(--color-white);

}



/* ===============NAV SECTION====================================================== */

nav{
    
    width: 100%;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
    background: var(--color-bg);
}

.nav--container {
    height: 4.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 94%;
    
}

.nav--image img {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    border: 1px solid orangered;
}

.nav--list {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    
   
}

.nav--list a {
    font-size: 1.4rem;
    transition: var(--transition);
    
}
.nav--container span {
    font-size: 1.8rem;
    
}
.nav--list a:hover {
   color: var(--color-warning);
}

nav button {
    display: none;
}

/* ===============END OF NAV SECTION====================================================== */

/* ===============HEADER SECTION====================================================== */


.header--container {
    margin-top: 6rem;
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 2rem;
    height: 70vh;
    margin-bottom: 6rem;
}

.header--left h4 {
    font-size: 2rem;
}

.header--left h3 {
    font-size: 2.6rem;
    margin-left: 2rem;
}

.header--left p {
    margin-top: 3rem;
    line-height: 3rem;
    font-size: 1.5rem;
}

.header--right {
    height: 70vh;
}



.header--right img {
    height: 100%;
}

/* ===============END OF HEADER SECTION====================================================== */


/* ===============ABOUT SECTION====================================================== */

.about {
    background: var(--color-bg2);
    box-shadow: rgba(247, 87, 66, 0.322);
    margin-bottom: 6rem;
}

.about--container {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 2rem;
    padding: 4rem 0 4rem;
   

}

.about--left {
    height: 70vh;
}
.about--left img {
    height: 100%;
    border-radius: 3rem;
}

.about--right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about--right h3 {
     color: darkorange;
     font-size: 2.5rem;
     font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.about--right p {
    line-height: 4rem;
    font-size: 1.7rem;
}
.about--right a {
    margin-top: 2rem;
}

/* ===============END OF ABOUT SECTION====================================================== */

/* ===============PROJECTS SECTION====================================================== */
.project--container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 8rem;

}

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-bg2);
    padding: 1rem;
    border-radius: 1rem;
}

.project--pic {
   
}

.project h3 {
    margin-top: 1rem;
}
.project p {
    margin-top: 0.2rem;
    font-size: 1.3rem;
    text-align: center;
}
.project a {
    background-color: rgb(0, 183, 255);
    margin-top: 1rem;
    border-radius: 1rem;
}

/* ================FOOTER=============================== */
.footer--container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid transparent;
    box-shadow: inset rgba(247, 87, 66, 0.322);
    margin-bottom: 7rem;
    border-top: 1px solid palevioletred;
    padding-top: 1rem;
}

.footer--links-list a {
    font-family: Tahoma;
    font-size: 1.4rem;
}
.footer--links-list a:hover {
    color: rgba(255, 255, 255, 0.37);
    background-color: darkred;
}

.footer--projects {
    font-size: 1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bolder;
    line-height: 2.5rem;
}

.footer--list {
    line-height: 2.5rem;
}

.footer--copy {
    text-align: center;
    border-top: 1px solid cyan;
    padding-top: 2rem;
    padding-bottom: 1rem;
}
.footer--copy p {
    font-size: 12px;
}



/* =============MEDIA QUERIES(TABLETS)========================================== */

@media screen and (max-width: 1024px) {
    .container {
        width: var(--container-width-md);
    }

    h1 {
        font-size: 1.2rem;
      }
      h2 {
       font-size: 1.7rem;
      }
      h3 {
       font-size: 1.4rem;
      }
      h4 {
       font-size: 1.2rem;
      }
      nav {
        height: 4.5rem;
      }
/* =================NAV BAR================================== */
   

nav button {
    display: inline-block;
    font-size: 1.8rem;
    background: transparent;
    color: #fff;
}

nav button#close-menu-btn {
    display: none;
   }

.nav--container {
    position: relative;
}

.nav--list {
    position: fixed;
    flex-direction: column;
    top: 4.5rem;
    right: 3%;
    width: 10rem;
    background: var(--color-bg2);
    align-items: center;
    padding: 1rem;
    gap: 2.3rem;
    display: none;
}

.nav--list a:hover {
    background: var(--color-bg);
}

/* =================HEADER================================== */

.header--container {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 1rem;
    height: 70vh;
    margin-bottom: 5rem;
}

.header--left h4 {
    font-size: 1.7rem;
}

.header--left h3 {
    font-size: 2.1rem;
    margin-left: 1.6rem;
}

.header--left p {
    margin-top: 2rem;
    line-height: 2.4rem;
    font-size: 1.4rem;
}
.header--right {
    height: 65vh;
}

/* =================END OF HEADER================================== */



/* =================ABOUT================================== */

.about {
    margin-bottom: 4rem;
}
.about--container {
    gap: 1rem;
}
.about--right h3 {
    font-size: 2.2rem;
}

.about--right p {
    line-height: 3rem;
    font-size: 1.5rem;
    text-align: center;
}
.about--right a {
    margin-top: 1.2rem;
}

/* =============END OF ABOUT========================== */

/* =============PROJECTS========================== */
.project--container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 6rem;

}


}



/* =============MEDIA QUERIES(PHONES)========================================== */
@media screen and (max-width: 600px) {
   .container {
    width: var(--container-width-sm);
   }


   .nav--container span {
    font-size: 1.2rem;
    
}
    
.header--container {
    margin-top: 6rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1rem;
    height: 100vh;
    margin-bottom: 5rem;
}

.header--left h4 {
    font-size: 1rem;
    text-align: center;
}

.header--left h3 {
    font-size: 2.1rem;
    margin-left: 0.6rem;
    text-align: center;
}

.header--left p {
    margin-top: 2rem;
    line-height: 2rem;
    font-size: 1.2rem;
    text-align: center;
}

.header--right {
    height: 50vh;
}

/* ===================ABOUT SECTION========================================== */

.about {
  
    margin-bottom: 5rem;
}

.about--container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 3rem 0 3rem;
   

}

.about--left {
    height: 60vh;
}
.about--left img {
    height: 100%;
    border-radius: 4rem;
}

.about--right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about--right h3 {
     color: darkorange;
     font-size: 2rem;
     font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.about--right p {
    line-height: 3rem;
    font-size: 1.7rem;
}
.about--right a {
    margin-top: 1rem;
}

/* ==================END OF ABOUT SECTION============================ */


/* ==================PROJECTS SECTION============================ */

.project--container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 5rem;

}

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-bg2);
    padding: 0.5rem;
    border-radius: 1rem;
}


.project h3 {
   margin-bottom: 1rem;
    font-size: 2rem;
}
.project p {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}
.project a {
    background-color: rgb(0, 183, 255);
    margin-bottom: 1rem;
    border-radius: 1rem;
}

.project--pic img {
    height: 40vh;
    width: 23rem;
    display: block;
    padding-top: 1rem;
    
    
}
/* =================END OF PROJECT========================= */

/* =================FOOTER========================= */

.footer--container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}


}
