* {
    background-color: #141414; 
    font-family: 'Kumbh Sans', sans-serif;
    padding: 0;
    box-sizing: border-box;
}

.main__content li {
    color: white;
}

.main__content p {
    color: white;
}

.social__media {
    color: white;
}

.gradimg {
    height: 20%;
    width: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
}

/* This is where the typewriter effect starts in about me page*/
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');

@viewport {
    width: device-width ;
    zoom: 1.0 ;
  }

.main__content h1 {
    font-size: 2.3rem;
    background-color: #cd77ff;
    background-image: linear-gradient(to top, #9c08ff 0%, #ffb199 100%);
    background-size: 100%;
    white-space: nowrap;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

/*animation */
.main__content h1 {
    animation: animated-text 6s steps(29,end) 1s 1 normal both, animated-cursor 600ms steps(29,end) infinite;
}

@keyframes animated-text{
    from{width: 0;}
    to{width: 100%;}
}

.navbar {
    background: #131313;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #c277ff;
    background-image: linear-gradient(to top, #a408ff 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #a362f7;
    color: #fff;
}

.button:hover {
    background: #4837ff;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #b462f7;
    transition: all 0.3s ease;
}

.footer h2 {
    color: white;
    position: flex;
}

/*comment box */

.commentbox{
    background-color: #ffffff;
    width: 450px;
    min-height: 250px;
    padding: 30px 20px;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 58%;
    left: 50%;
    border-radius: 8px;
    box-shadow:  0 20px 25px rgba(0,0,0,0.25);
}
.commentbox *{
    font-family: "Poppins",sans-serif;
    font-size: 16px;
}
textarea{
    display: block;
    width: 100%;
    min-height: 230px;
    resize: none;
    padding: 20px;
    color: #202020;
    border: 2px solid #3ba51f;
    border-radius: 5px;
    outline: none;
}

@media screen and (max-width: 1280px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #131313;
    }

    .navbar__menu.active {
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    .navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Footer CSS */
  
#footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

/* Social Icons */
.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
    display: flex;
    height: auto;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto 0;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo {
    color: #fff;
    justify-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    align-items: center;
    margin-bottom: 16px;
}

@media screen and (min-width: 321px) and (max-width: 600px) {
    /* comes into effect for screens between 321 and 480 pixels (inclusive) */
    .main__content h1 {
        font-size: 20px; 
    }
}

@media screen and (min-width: 481px) and (max-width: 600px) {
    .main__content h1 {
        font-size: 25px; 
    }
}

@media screen and (min-width: 601px) and (max-width: 635px) {
    .main__content h1 {
        font-size: 30px; 
    }
}


/* Hero Section CSS*/
.mainindex {
    background-color: #141414;
}

.maini__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    height: 90vh;
    background-color: #141414;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.maini__content h1 {
    font-size: 2.3rem;
    background-color: #cd77ff;
    background-image: linear-gradient(to top, #9c08ff 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.maini__content h2 {
    font-size: 3rem;
    background-color: #c277ff;
    background-image: linear-gradient(to top, #b721ff 0%, #21d4fd 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.maini__content p {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 500;
    color: #fff
}

.maini__content ul {
    font-size: 1.3rem;
    color: white
}
.maini__btn {
    font-size: 1rem;
    background-image: linear-gradient(to top, #b462f7 0%, #9c51fe 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.maini__btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.maini__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4837ff;
    transition: all 0.35s;
    border-radius: 4px;
}

.maini__btn:hover {
    color: #fff
}

.maini__btn:hover:after {
    width: 100%;
}

.maini__img--container {
    text-align: center;
}

#maini__img {
   /*  height: 80%; */
    width: 80%;
}


/* Mobile responsive */
@media screen and (max-width: 768px) {
    .maini__container {
        display: grid;
       /* grid-template-columns: auto;*/ 
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .maini_img--container {
        height: auto;
        max-width: 100%;
        align-self: auto;
    }
    .container {
        height: auto;
        max-width: 80%; width: 80%;
    }

    .maini__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .maini__content h1 {
        font-size: 2.0rem;
        margin-top: 2rem;
    }

    .maini__content h2 {
        font-size: 3rem;
    }

    .maini__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .maini__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .maini__content h2 {
        font-size: 2rem;
    }

    .maini__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }

    .maini__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }

}

/* Services now turned to gallery Section CSS */
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10vmin;
    overflow: hidden;
    transform: skew(5deg);
  }
  .container .card {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 80vmin;
    position: relative;
  }
  .container .card .card__head {
    color: black;
    background: rgba(184, 30, 255, 0.75);
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.5s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    white-space: nowrap;
  }
  .container .card:hover {
    flex-grow: 5;
  }
  .container .card:hover img {
    filter: grayscale(0);
  }
  .container .card:hover .card__head {
    text-align: center;
    top: calc(100% - 2em);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-size: 2em;
    transform: rotate(0deg) skew(-5deg);
  }
  .container .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    filter: grayscale(100%);
  }
  .container .card:not(:nth-child(5)) {
    margin-right: 1em;
  }

@media screen and (max-width: 960px) {
    .services {
        height: 1600px;
    }

    .services h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .services {
        height: 1400px;
    }

    .services h1 {
        font-size: 1.2rem;
    }

    .services__card {
        width: 300px;
    }
}

/* Footer CSS */
#footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}


/* Social Icons */
.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
    display: flex;
    height: auto;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto 0;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo {
    color: #fff;
    justify-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    align-items: center;
    margin-bottom: 16px;
}

@media screen and (max-width: 820px) {

    #footer__logo {
        margin-bottom: 2rem;
    }

    .social__media--wrap {
        flex-direction: column;
    }
}
