@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    color: black;
    scroll-behavior: smooth;
}

a {
    text-decoration: none
}

.container{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

p {
    color: black;
    text-align: center;
    font-size: 20px;
    line-height: 20px;
}


.section-title{
    font-size: 55px;
    font-weight: 300;
    color: black;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: center;
}

.brand h1{
    font-size: 48px;
    text-transform: uppercase;
    color: white;
}

.brand h1 span{
    color: rosybrown;
}

/*Section 7: Header*/
#header{
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: auto;
}

#header .header{
    min-height: 8vh;
    background-color: rgba(31, 30, 30, 0.24);
    transition: 2s ease background-color;
}

.header .nav-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    padding: 0 10px;
}

#header .header h1{
    font-size:25px;
    font-weight: 900;
}

#header .nav-list ul{
    list-style: none;
    position: absolute;
    background-color: rgba(31, 30, 30);
    width: 100vw;
    height: 100vh;
    left: 100%;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow-x: hidden;
    transition: .7s ease left;
}

/*Setup the menu EventListener*/
#header .nav-list ul.active{
    left: 0%;
}

#header .nav-list ul a{
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 3px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    padding: 20px;
    display: block;
}

#header .nav-list ul a::after{
    content: attr(data-after);
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: rgba(240, 248, 255, 0.021);
    font-size: 120px;
    letter-spacing: 50px;
    z-index: -1;
    transition: .5s ease letter-spacing;
}

#header .nav-list ul li:hover a::after{
    transform: translate(-50%, -50%) scale(1);
    letter-spacing: initial;
}

#header .nav-list ul li:hover a{
    color: rosybrown;
}

#header .hamburger{
    height: 60px;
    width: 60px;
    display: inline-block;
    border: 3px solid rgb(245, 242, 242);
    border-radius: 30%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transform: scale(.9);
    margin-right: 20px;
}

#header .hamburger:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 30%;
    border: 3px solid rgb(245, 242, 242);
    animation: hamburger_pulse 3s ease infinite;
}

#header .hamburger .bar{
    height: 2px;
    width: 30px;
    position: relative;
    background-color: rgb(245, 242, 242);
    z-index: -1;
}

/*Setup drop down menu*/
#header .hamburger .bar::after,
#header .hamburger .bar::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    background-color: rgb(245, 242, 242);
    transition: 1s ease;
    transition-property: top, bottom;
}

#header .hamburger .bar::after{
    top: 8px;
}

#header .hamburger .bar::before{
    bottom: 8px;
}

/*Setup for js EventListener to perform*/
#header .hamburger.active .bar::before{
    bottom: 0;
}

#header .hamburger.active .bar::after{
    top:0;
}
/*End Section 7*/

/*Section 1: Hero*/
#one-hero{
    background-image: url(../imagesnew/geeks-2894621_960_720.jpg);
    background-size: cover;
    background-position: top-center;
    position: relative;
}

/*Add an overlay*/
#one-hero::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: .7;  /*<-- Allows for image to come through softer*/
    z-index: -1; /*<-- Will allow access to link*/
}

/*Add for sizing changes*/
#one-hero .one-hero{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    justify-content: flex-start;
}

#one-hero h1{
    display: block;
    width: fit-content;
    font-size: 85px;
    position: relative;
    color: white;
}

/*Include animation effects for introduction text*/
#one-hero h1 span{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: lavenderblush;
    animation: name_box 2s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards;
    animation-delay: 1s;
    display: flex;
}

#one-hero h1 span {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    height: 5px;
    margin-top: -10px;
}

#one-hero h1:nth-child(1) span{
    animation-delay: 1s;
}

#one-hero h1:nth-child(2) span{
    animation-delay: 2s;
}

/*Call to action feature on button*/
#one-hero .cta{
    display: inline-block;
    padding: 10px 30px;
    color: lavenderblush;
    background-color: transparent;
    border: 4px solid lavenderblush;
    font-size: 25px;
    text-transform: none;
    letter-spacing: 1px;
    margin-top: 30px;
    transition: .3s ease bakground-color;
    border-radius: 10px;
    transition-property: background-color, color;
}

/*Create a hover action feature on button*/
#one-hero .cta:hover{
    color: white;
    background-color: rgb(194, 179, 179);
}

#topper .social-icon{
    display: flex;
    margin-bottom: 20px;
    margin-top: 15px;
}

#topper .social-item{
    height: 50px;
    width: 50px;
    margin: 0px;
}


/*End Section 1*/

/*Section 2.0:  Card*/
/*End Section 1*/

* {
    box-sizing: border-box;
  }
  
  /* Container for flexboxes */
  .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* Create four equal columns */
  .column {
    flex: 25%;
    padding: 45px;
    border-radius: 5px;
    border: solid;
    border-width: 2px;
  }

  /*Section 2.0: Card*/

 .fas {
    font-size: 35px;
    margin-bottom: 15px;
  }

  .card-header h2{
      font-family: 'Roboto', sans-serif;
      font-size: 95px;
      text-align: center; 
      font-weight: 800;
      margin-bottom: 45px;
      margin-top: 155px;
  }

  .card-header p{
    font-family: 'Roboto', sans-serif;
    font-size: 25px;
    line-height: 30px;
    text-align: center; 
    font-weight: 500;
    margin-bottom: 35px;
    margin-top: 15px;
}

  .card__heading {
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
    width: 75%;
    margin-bottom: 25px;
  }

  .card__details {
    padding: 0 1rem 2rem;
  }
  
  .card__details ul {
    list-style: none;
    width: 80%;
    margin: 0 auto;
  }
  
  .card__details ul li {
    text-align: center;
    font-size: 16px;
    padding: 10px;
  }
  
  .card__details ul li:not(:last-child) {
    border-bottom: 1px solid rgb(15, 15, 15);
  }

/*End Section 2 */

/*End Section 2 */

/*Section 3: Project*/

#projects .projects{
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

#projects .project-header h1{
    margin-bottom: 55px;
    margin-top: 100px;
}

#projects .all-projects{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#projects .project-item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

#projects .project-info{
    padding: 30px;
    flex-basis: 50%;
    /* background-image: linear-gradient(300deg, lavenderblush 0%, #6a61bb 100%); */
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    border-radius: 15px;
    color: black;
}

#projects .project-info .cta{
    display: inline-block;
    padding: 5px 20px;
    color: lavenderblush;
    background-color: transparent;
    border: 4px solid lavenderblush;
    font-size: 25px;
    text-transform: none;
    letter-spacing: 1px;
    transition: .3s ease bakground-color;
    border-radius: 8px;
    transition-property: background-color, color;
}

#projects .project-info .cta:hover{
    color: white;
    background-color: rgb(194, 179, 179);
}

#projects .project-info h2{
    font-size: 25px;
    font-weight: 600;
    margin-top: 5px;
    color: lavenderblush;
}

#projects .project-info h3{
    font-size: 25px;
    font-weight: 600;
    margin-top: 10px;
    color: lavenderblush;
    margin-bottom: 10px;
}

#projects .project-info p{
    text-align: left;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 900;
    color: black;
    text-transform: none;
    line-height: 30px;
    letter-spacing: 2px;
}

#projects .project-item ul li{
    text-align: left;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 600;
    color: black;
    text-transform: none;
    line-height: 28px;
    letter-spacing: 2px;
}

#projects .project-item ul li span{
    color:lavenderblush;
    font-weight: 600;
}

#projects .project-img{
    flex-basis: 50%;
    height: 300px;
    overflow: hidden;
    position:relative;
}

#projects .project-img::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: snow;
    opacity: .5;
}


/* #projects .project-img img{
    transition: 1s ease transform;
}

#projects .project-item:hover .project-img img{
    transform: scaleY(1.10); */
/*End Section 3*/

/*Section 4: About */
#about .about{
    flex-direction: column-reverse;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 15px;
}

#about .col-left{
    width: 250px;
    height: 360px;
}

#about .col-right{
    width: 100%;
}

#about .col-right h2{
    font-size: 32px;
    font-weight: 500;
    line-height: 55px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

#about .col-right p{
    margin-bottom: 5px;
}

#about .col-right .cta{
    display: inline-block;
    padding: 10px 30px;
    color: black;
    background-color: transparent;
    border: 5px solid lavenderblush;
    font-size: 20px;
    text-transform: none;
    letter-spacing: 1px;
    transition: .3s ease bakground-color;
    border-radius: 15px;
    transition-property: background-color, color;
    margin-bottom: 45px;
    font-weight: 900;
}

#about .col-right .cta:hover{
    color: white;
    background-color: rgb(194, 179, 179);
}

#about .col-left .about-img{
    height: 100%;
    width: 100%;
    position: relative;
    border: 10px solid white;
}

#about .col-left .about-img::after{
    content: '';
    position: absolute;
    left: -33px;
    top: 19x;
    height: 98%;
    width: 98%;
    border: 7px solid rosybrown;
    border-style: dotted;
    z-index: -1;
}
/*End Section 4*/

/*Section 5: Contact*/
#contact .contact{
    flex-direction: column;
    padding: 100px 0;
    align-items: center;
    justify-content: center;
    min-width: 20vh;
}

#contact .contact-items{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 0;
}

#contact .contact-item{
    width:40%;
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    flex-direction: row;
    box-shadow: 0px 0px 10px wheat;
    transition: .3s ease box-shadow;
}

#contact .contact-item:hover{
    box-shadow: 0px 0px 5px 0 #0000002c;
}

#contact .contact-item .icon{
    width: 100px;
    height:100px;
}

#contact .contact-item .icon img{
    object-fit: contain;
}

#contact .contact-item .contact-info{
    width: 100%;
    text-align: center;
    padding-left: 20px;
}

#contact .contact-info h1{
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 5px;
}

#contact .contact-info h2{
    font-size: 25px;
    line-height: 42px;
    font-weight: 500;
}

input[type=email], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 20px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }

input[type=text], select, textarea {
    height: 120px;
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 20px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }

  /* Style the submit button with a specific background color etc */
button[type=submit] {
    background-color: #d6c84a;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  

button[type=submit]:hover {
    background-color: #ecea66;
  }

/*End Section 5*/

/*Section 6: Footer*/
#footer{
    background-image: url(../imagesnew/pexels-fwstudio-168438.jpg);
}

#footer .footer{
    min-height: 200px;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 10px;
}

#foot h2{
    color:white;
    font-weight: 500;
    font-size: 25px;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#footer .social-icon{
    display: flex;
    margin-bottom: 30px;
}

#foot .social-item{
    height: 50px;
    width: 50px;
    margin: 0px;
}

#footer .social-item img{
    filter: grayscale(1);
    transition: .3 ease filter;
}

#footer .social-item:hover img{
    filter: grayscale(0);
}

#footer p{
    color: white;
    font-size: 20px;
}

#footer .section-title{
    font-size: 35px;
    font-weight: 20px;
}

/*End Section 6*/

/*Keyframes to initiate animation feature*/
@keyframes name_box{
    0%{
        width: 0%;
        left: 0;
    }
    50%{
        width: 100%;
        left: 0;
    }
    100%{
        width: 0;
        left: 100%;
    }
}

/*Menu animation*/
@keyframes hamburger_pulse{
    0%{
        opacity: 1;
        transform: scale(1)
    }
    100%{
        opacity: 0;
        transform: scale(1.7);
    }
}


/*Media Query apply for device sizes*/

@media only screen and (min-width: 768px){
    .cta{
        font-size: 41px;
        padding: 20px 60px;
    }
    h1.section-title{
        font-size: 96px;
    }
    /*Title Header*/

    #one-hero h1{
        font-size:112px;
    }

    /*Project Header*/

    #projects .project-item{
        flex-direction: row;
    }

    #projects .project-item:nth-child(even){
        flex-direction: row-reverse;
    }

    /*this is sizing the container*/

    #projects .project-item{
        height: 400px;
        margin: 0;
        width: 100%;
        border-radius: 0;
    } 
    
    #projects .all-projects .project-info{
        height: 100%;
    }

    #projects .all-projects .project-img{
        height: 100%;
    }

    /*Experience*/

    #section-plans .card-header h2{
        text-align: center;
    }

    #section-plans .card-header p{
        text-align: center;
    }

    #section-plans .column{
        flex-direction: row;
    }

    /*About*/

    #about .about{
        flex-direction: row;
    }

    #about .col-left{
        width: 600px;
        height: 550px;
        padding-left: 60px;
    }

    #about .about .col-left .about-img::after{
        left: -45px;
        top: 34px;
        height: 98%;
        width: 98%;
        border: 10px solid black;
        border-style: dotted;
    }

    #about .col-right{
        text-align: left;
        padding: 30px;
    }

    #about .col-right p{
        text-align: left;
    }

    #about .col-right h1{
        text-align: left;
    }
}
    /*Contact*/

    #contact .contact{
        flex-direction: column;
        padding: 100px 0;
        align-items: center;
        justify-content: center;
        min-width: 20vh;
    }

    #contact .contact-items {
        /* width: 100%; */
        display: flex;
        flex-direction: row;
        padding: 20px;
        margin: 0;
    }

    #contact .contact-item{
        margin: 20px;
        flex-direction: row;
    }

    #contact .contact-ietm .icon{
        height: 100px;
        width: 100px;
    }

    #contact .contact-item .icon img{
        object-fit: contain;
    }

    #contact .contact-item .contact-info{
        width:100%;
        word-wrap: break-word;
        text-align: left;
        padding-left: 20px;
    }


/*End Media Query */

/*Desktop Media Query */
@media only screen and (min-width:1200px){
    /*header*/
    #header .hamburger{
        display: none;
    }

    #header .nav-list ul{
        position: initial;
        display: block;
        height: auto;
        width: fit-content;
        background-color: transparent;
    }

    #header .nav-list ul li{
        display: inline-block;
    }

    #header .nav-list ul li a{
        font-size: 15px;

    }

    #header .nav-list ul a:after{
        display: none;
    }
    
}