
/* gradient BG */

#gradient_container{
    position: absolute;
    height: 100vh;
    width: 100vw;
    overflow: hidden;

}

#gradient_container div{
    position: absolute;
    height: 100vh;
    width: 100vw;
    border-radius: 3rem;
    animation: gradient 6s infinite;
    z-index: -1;;
}

@keyframes gradient {
    50%{
        transform: scale(3) translate(130px);
    }
}

#gradient_container div:nth-child(1){
    height: 100%;
    width: 100%;
    background-color: #91a5be;
}

#gradient_container div:nth-child(2){
    height: 50%;
    width: 50%;
    border-radius: 80%;
    background-color: #2a70c4;
}

#gradient_container div:nth-child(3){
    height: 50%;
    width: 50%;
    border-radius: 20%;
    top:30%;
    left:30%;
    background-color: #1b559b;
    animation-delay: 0.5s;
}

#gradient_container div:nth-child(4){
    height: 30%;
    width: 40%;
    border-radius: 20%;
    top:20%;
    right:0%;
    background-color: #3878c6;
    animation-delay: 0.3s;
}

#gradient_container div:nth-child(4){
    height: 30%;
    width: 40%;
    border-radius: 20%;
    top:20%;
    right:0%;
    background-color: #102c50;
    animation-delay: 0.2s;
}

#gradient_container div:nth-child(5){
    height: 30%;
    width: 40%;
    border-radius: 20%;
    bottom:0%;
    right:0%;
    background-color: #979571;
    animation-delay: 0.1s;
}

#gradient_container::after{
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    backdrop-filter: blur(200px);
}

/* landing page styles */

#landing{
    height: 100vh;
    position: relative;
    display: flex;
    z-index: 1;
    padding-left: 4.4%;
    padding-bottom: 4%;
    align-items: flex-end;

    font-size: 4rem;
    color:#dce6e3;
}

#header span{
    display: inline-block;
    letter-spacing: 5px;
    animation: letter-space 1.5s ease-in-out;
    animation-fill-mode: backwards;
}

@keyframes letter-space{
    0%{
        opacity: 0;
        transform: translateX(100px);
        letter-spacing: 40px;

    }
    100%{
        opacity: 100%;
        transform: translateX(0);
        letter-spacing: 5px;
    }
}

#header span:nth-child(3){
    animation-delay: 0.2s;
}

#header span:nth-child(5){
    animation-delay: 0.4s;
}

/* about me */

.about-me-section{
    width: 100%;

    display: flex;
    justify-content: space-around;
    padding: 40px 0;

    padding-left: 4.4%;
}

.about-me-container{
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 40px 0;
}

.title{
    padding-bottom: 24px;
}

/* portfolio preview */

.portfolio-preview-section{
    width: 100%;
    max-height: 600px;
    display: flex;
    justify-content: space-around;
    padding: 40px 0;

    padding-left: 4.4%;
}

.portfolio-preview-container{
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

/* carousel */
.carousel{
    width: 100%;
    display: flex;
}

.carousel-list{
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
    min-height: 400px;
    gap: 0;
}

.carousel-list li{
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    scroll-snap-align: center;
}

.carousel-list div{
    width: 100%;
    height: 100%;

    background-position: top center;
    background-repeat: no-repeat;
}

.carousel-btn{
    font-size: 24px;

    background-color: none;
    border: none;

    cursor: pointer;
}

.carousel-btn svg{
    padding: 0;
    width: 32px;
}

/* portfolio text */
.portfolio-preview-text{
    padding-top: 16px;
    padding-left: 24px;
}


.view-portfolio-link{
    margin-top: 8px;
}

.view-portfolio-link span{
    margin-right: 8px;
}

.view-portfolio-link a{
text-decoration: none;
  color: inherit;
    cursor: pointer;
}

/* contact form */

.contact-section{
    position: relative;
    width: 100vw;
    overflow: hidden;
    background-color:rgb(39, 36, 36);

    display: flex;
    justify-content: center;
}

.contact-container{
    width: 100%;
    max-width: 1152px;
    color: #e5eaf5;

    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

    padding: 40px 0;

}

.contact-header{
    width: 100%;
}

.get-in-touch{
    font-size: 48px;
    padding: 0 0 2% 2%;
}

/* contact image */
.contact-image{
    height: 100%;
    width: 45%;
    padding-top: 8px;

    display: flex;
    justify-content: center;
    align-items: baseline;

    flex-grow: 0;
}

.contact-image img{
    flex: 0 0 auto;

}

/* contact form */
.form-container{
    width: 45%;

    display: flex;
    flex-direction: column;
}

form label{
    display: block;
    font-size: 1.5rem;
    margin-bottom: 4px;
}


.form-container textarea{
    display: block;
    width: 80%;
    margin-bottom: 12px;
    padding: 8px 8px;

    font-size: 16px;
}

.form-container input[type=text] {
  border: none;
  border-bottom: 1px solid #3e507b;
    
  display: block;
  width: 80%;
  height: 40px;

  margin-bottom: 12px;
  padding: 0 8px;

  font-size: 16px;
}

.form-container input[type=submit] {
    cursor: pointer;
  border: 1px solid #3a3a3a;
    
  display: block;
  width: 80%;
  margin-bottom: 12px;
  height: 40px;

  font-size: 16px;
}

/* footer */
