@import url('https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@100;200;300;400;500;600;700;800&family=MonteCarlo&family=Montserrat:ital@1&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Zen+Dots&display=swap');


* {
    margin: 0;
    padding: 0;
    /* scroll-behavior: smooth; */
}

body {
    font-family: 'Poppins', sans-serif;
    ;
}

html {
    scroll-behavior: smooth;
  }

p {
    /* color: #2a9d8f; */
    /* color: black; */
    color: rgb(85, 85, 85);
}

/* added base transisiont  */
a,
.btn {
    transition: all 300ms ease;
}

nav,
.nav-links {
    display: flex;
    /* background-color: pink; */
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
    /* background-color: green; */
}

.nav-links {
    gap: 3rem;
    list-style: none;
    font-size: 1.0rem;
}

a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
    position: relative;
    display: inline-block;
    /* background-color: blue; */

}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ef476f;
    transform-origin: bottom right;
    transition:transform 0.25s ease-out;
    /* transition: height 0.25s ease-out; */
    /* color: green; */
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    /* height-origi */
    /* height: 2px; */
}

.logo {
    font-size: 1.5rem;
    /* background-color: teal; */

}

/* small nav menu */

#small-nav {
    display: none;
}

.small-nav-icon {
    position: relative;
    display: inline-block;
}
.logo-period {
    display: inline-block;
    color:#ef476f;
    font-size: 40px;
    /* height: 40px; */
    /* background-color: red; */

    
    /* width: 30px; */
}

.ham-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.ham-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3 ease-in-out;
}

.small-nav-links {
    position: absolute;
    top: 100%;
    right: 0%;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
    /* background-color: red; */
}
.tech-logo {
    width: 100px;
    height: 100px;
}
.linkedin-icon {
    /* background-color: green; */
    /* background-color: #0077Bcol5; */
    color:rgb(0, 255, 51);
    background-color: transparent

}
.small-nav-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.small-nav-links li {
    list-style: none;

}

.small-nav-links.open {
    max-height: 300px;


}

.ham-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
    transition: .3s;
}

.ham-icon.open span:nth-child(2) {
    opacity: 0;
}

.ham-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
    transition: .3s;
}

.ham-icon span:first-child {
    transform: none;
}

.ham-icon span:first-child {
    opacity: 1;
}

.ham-icon span:first-child {
    transform: none;
}

.profile-img {

    border-radius: 50%;
    width: 300px;
    position: relative;
    /* height: 300px; */
}

section {
    padding-top: 4vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}


#profile {
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content:space-around;
    gap: 1rem;
    height: 80vh;
    width: 900px;
    margin: auto;
    position: relative;
    /* background-color: pink; */
}

.section__pic-container {
    display: flex;
    width: 400px;

    height: 400px;
    /* margin: auto 0; */
    justify-content: flex-end;
    /* background-color: red; */

}

.section__text {
    align-self: center;
    justify-self: start;
    text-align: center;
    /* background-color: green; */
}

.section__text p {
    font-weight: 600
}

.section__text__p1 {
    text-align: center;
    /* background-color: red; */
    /* font-size: 1.75rem;
    margin-bottom: 1rem; */
}

.section__text__p2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.title {
    font-size: 2.5rem;
    text-align: center;
    /* color: #2a9d8f; */
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}
.robin-img {
    height: 250px;
    /* border: 2px solid red; */
}
.project-img {
    height: 145px;
}

.icon {
    cursor: pointer;
    height: 2rem;
}


/* Buttons  */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* color: white; */
}
.btn-container {
    color: white;
}

.btn {
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.3rem;
    width: 8rem;
    border-radius: 2rem;
    /* background-color: white; */
}

.btn-color-1,
.btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
    cursor: pointer;

}

.btn-color-1,
.btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
}

.btn-color-1:hover {
    background: rgb(0, 0, 0);
}

.btn-color-2 {
    background: none;
}

.btn-color-hover {
    border: rgb(255, 255, 255) 0.1rem solid;
}

/* About section */

#about {
    position: relative;
}
.about-heading {
    color: #ef476f;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-containers,
.about-details-container {
    display: flex;
    /* margin-bottom: 2; */
}

.about-pic {
    border-radius: 2rem;
    /* background-color: red;
                 */
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}
.section-container {
    gap: 4rem;
    height: 80%;
}
.section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto;
}
#experience {
    position: relative;
}
.experience-sub-title {
    color: rgb(85,85,85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}
.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* border: 2px solid red; */
}
.article-container {
    display: flex;
    text-align: initial;
    margin-top: 30px;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-around;
    /* border: 2px solid red; */
    /* margin-top: 1rem; */
    
}
.details-container-heading {
    font-size: 26px;
    margin-bottom: 2rem;
}
article {
    display: flex;
    width: 10rem;
    /* justify-content: space-around; */
    justify-content: center;
    align-items: center;
    /* gap: 0.5rem; */
    /* margin-top: 0.75rem; */
}
article .icon {
    cursor: default;
}
article h3 {
    /* background-color: red; */
    text-align: left;
}
#projects {
    position: relative;
}
.color-container {
    border-color: rgb(163, 163, 163);
    /* background: rgb(250, 250, 250); */
    background-color: black;
}
.project-img {
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    /* height: 135px; */
}
.project-title {
    margin: 1rem;
    color: white;
}
.project-btn {
    color: black;
    /* color: white; */
    background-color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.3rem;
    width: 8rem;
    border-radius: 2rem;
    /* border-color:rgb(163, 163, 163) ; */
    border: 1px solid black;
    transition: .3s ease;
     
}
.project-btn:hover {
    background-color: black;
    border-color: white;
    cursor: pointer;
    color: white;
}
.tech-stack {
    margin-bottom: 7px;
    letter-spacing: 1px;
}
/* #contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;

} */
.contact-info-upper-container {
    display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}
.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem;
    /* background-color: red; */
}
.contact-info-container p {
    font-size: larger;

}
.contact-icon {
    cursor: default;
}
.email-icon  {
    height: 2.5rem;
}
.contacts {
    position: relative;
}


/* footer section */
.footer {
    margin-top: 15rem;
    height: 100px;
    margin: 0 1rem;
    position: relative;
    /* z-index: 1000; */
}
.footer p {
    text-align: center;
    margin-top: 1rem;
}
.cover {
    /* position: absolute;
    left: -350px;
    bottom: -350px;
    background-color: black;
    color: white;
    width: 100%;
    height: 100%;
    transition: .6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    
    opacity: 0; */
    color: black;
    

}

.project-text-cover {
    padding: 1rem;
    font-size: 0.8rem;
    color: white;
    letter-spacing: 1px;
}
.details-container {
    overflow: hidden;
    position: relative;
    transition: .5s;
    cursor: pointer;
    /* background-color: black; */
    /* border: 2px solid red; */

}
.details-container:hover .cover {
    left: 0px;
    bottom: 0px;
    opacity: 1;
}
.text-container {
    color: black;

}
.text-container p {
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 600;
}
.title-cover {
    font-size: 1.5rem;
    text-align: center;
    color: white;
}
.section__title-1 span, 
.section__title-2 span {
  z-index: 5;
  position: relative;
}
.section__title-1::after, 
.section__title-2::after {
  content: "";
  width: 40px;
  height: 28px;
  background-color: hsl(14, 98%, 50%);
  position: absolute;
  top: -2px;
  right: -8px;
}
.section__title-1, 
.section__title-2 {
  position: relative;
  font-size: 1.5rem;
  width: max-content;
  margin: .75rem auto 2rem;
}

.geometric-box {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: hsl(14, 98%, 50%);
    rotate: -30deg;
  }
  .geometric-box::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 3px solid hsl(0, 0%, 0%);;
    left: -5px;
    top: -5px;
  }
  .contact {
    padding-bottom: 0;

  }
.contact__container {
    position: relative;
    display: grid;
    gap: 1.5rem;

    grid-template-rows: 200px max-content max-content;
    row-gap: 0;
    /* background-color: red; */
}
.contact__data {
    position: relative;
    width: 300px;
    height: 300px;
    background-color: hsl(0, 0%, 83%);
    padding: 3rem 1.5rem 3.5rem;
    margin-left: auto;
    z-index: 5;
    border-bottom: 4px solid hsl(14, 98%, 50%);
}
.contact__data .section__title-2 {
    margin: 0 0 1.5rem;
    transform: translate(-3rem);

}
.contact__description-1 {
   color: hsl(0, 0%, 0%);
   font-weight: 500; 
   margin-bottom: 2rem;
}
.contact__description-2 {
    color: hsl(0, 0%, 0%);
    font-size:.813rem ;
    /* background-color: green; */
}
.contact__data .geometric-box {
  top: 2rem;  
  right: 2.5rem;
  

}
.contact__mail {
    position: relative;
    /* height: 300px; */
    height: 460px;
    background-color:hsl(0, 0%, 6%);
    padding: 5rem 1.5rem 2.5rem;
    /* margin-top: -1.5rem; */
    margin-top: 5rem;
    z-index: 1;
    border-bottom: 4px solid hsl(14, 98%, 50%);

}
.contact__title {
    color: white;
    font-size: 1.5rem;
    margin-top: 4rem;
    /* margin-bottom: 1rem; */
    text-align: center;
}
.contact_form, 
.contact_group {
    display: grid;
    row-gap: 1.5rem;
}
.contact__box {
position: relative;
width: 50%;
height: 37px;
/* border: 2px solid red; */
margin: auto;
margin-top: 1rem;

}
.contact__input,
.contact__button {
    font-size: normal;
    outline: none;
    border: none;
    
    /* background-color: red; */
}
.contact__box input {
    border: none;
    outline: none;
    /* background-color: red; */
}
.contact__box textarea {
    border: none;
    outline: none;
}
.contact__input {
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: white; */
    /* background-color: black; */
    border: 3px solid grey;
    /* color: white; */
    color: black;
    padding: 2px;
    letter-spacing: 1px;
}
.contact__button {
    height: 40px;
    width: 150px;
    padding: 5px;
    margin: auto;
    font-size: 0.9rem;
    background-color: white;
    border: none;
    transition: .3s;

}
.contact__button-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;

}
.contact__button:hover {
    background-color: #3a86ff;
    color: white;
    cursor: pointer;
}
.contact__linkedin-link {
    color: white;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
.contact__linkedin-link a {
    color: #0077B5;
    font-size: 40px;
}

.contact__linkedin-link p {
    color: white;
}
.contact__linkedin-link a:hover {
    transform: scale(1.2);
    cursor: pointer;
}
.validation-message {
    /* background-color: red; */
    /* border: 2px solid green; */
    height: 20px;
    /* background-color: red; */
}
.validation-message p {
    /* margin: auto; */
    /* background-color: green; */
    text-align: center;
    padding: 3px;
}
.error {
    color: red;
}
.success {
    color: green;
}
.robin-container {
    background-color: black;
}
.robin-container img {
    border: 2px solid white;
}


