body {
    margin: 0;
    background-color: #46404F;
}
.fix-spacing{
    padding-top: 10px;
    padding-bottom: 30px;
}
.nav-buttons{
    padding-left: 35px;
}
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
.home {
    position: relative; /* Add this */
    display: flex;
    align-items: center;
    padding: 0 9%;
    font-family: 'Source Sans Pro',sans-serif;
    word-spacing: 1px;
    /* background-color: #46404F; */
    /* background-image: url("../images/web.png");
    background-repeat: no-repeat;
    background-size: cover; */

}
.home-sci {
    position: absolute;
    bottom: 7rem;
    right: 9%; /* Adjust this value */
    width: 170px;
}

.home-content{
    max-width: 60rem;
}
.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.home-content .text-animate{
    position: relative;
    width: 32.8rem;
}
.home-content .text-animate h3{
    font-size: 2.57rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px #50D8D7; /*colour of outline*/
    background-image: linear-gradient(#06356c , #50D8D7);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}
.home-content .text-animate h3::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    /* border-right: 2px solid red; */
    border-right: 2px solid #50D8D7;
    z-index: -1;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.home-content p {
    font-size: 1.3rem;
    margin: 2rem 0 4rem;
    margin-right: 5rem;
    line-height: 35px;
}
.btn-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}
.btn-box .btn{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background-color: #56658A;
    border: .2rem solid #60709a;
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: #46404F;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    text-decoration: none;
    text-shadow: -1px -1px 0 #60709a, 1px -1px 0 #60709a, -1px 1px 0 #60709a, 1px 1px 0 #60709a;
    
}
.btn-box .btn:hover{
    color: #56658A;
    text-shadow: none;
}
.btn-box .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #46404F;
    z-index: -1;
    transition: .5s;
    
}
.btn-box .btn:hover:before{
    width: 100%;
    

}
.btn-box .btn:nth-child(2){
    background: transparent;
    color: #56658A;
    text-shadow: none;
}
.btn-box .btn:nth-child(2)::before{
    background-color: #56658A;

}
.btn-box .btn:nth-child(2):hover{
    color: #46404F;
    text-shadow: -1px -1px 0 #60709a, 1px -1px 0 #60709a, -1px 1px 0 #60709a, 1px 1px 0 #60709a;
}
.center {
    text-align: center;
    padding-bottom: 30px;
    display: block;
    font-family: 'Source Sans Pro',sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-top: 15px;
}

* {
    box-sizing:border-box;
}

#jumps {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    padding: 25px 0;
    background-color: #322E38;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    margin-right: 50px;

}

.container span {
    margin-left: 20px;
    float: right;
}

.container span:first-child {
    margin-left: 0;
}

.container span a {
    text-decoration: none;
    color: white;
    font-family: 'Source Sans Pro',sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    transition: transform .3s;
}

.container span a:hover{
    color: #46404F;
    transform: scale(1.1);
}
.imgs {
    padding: 5px 0px 1px 5px;
    height: 300px;
    opacity: 0.5;

}

#about {
    background-color: #50495A;
    padding-top: 20px;
    position: relative;
    min-height: 95vh;
}
.sep {
    height: 10px;
    border-radius: 5px;
    background-color: white;
    width: 5%;
    margin-bottom: 25px;
}
.head-sub{
    margin-bottom: 0px;
    height: 50px;
    font-size: 2rem;
}
.desc-sec{
    font-size: 1rem;
    max-width: 70rem;
    display: block;
    margin: auto;
    line-height: 1.7;
}
.about-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10rem;
    letter-spacing: 1px;
}
.about-title{
    margin-bottom: 5px;
}
.about-para{
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.about-me{
    font-family: 'Source Sans Pro',sans-serif;
    padding-left: 5rem;
}
.about-writing{
    line-height: 1.7;
}
.skills-container{
    margin-right: 20px;
}
.skills-boxes-container{
    background-color:#bbb;
    padding: 10px;
    border-radius: 10px;
    line-height: 50px;
    margin-right: 10px;
    font-family: 'Source Sans Pro',sans-serif;
}
/* ADD COLOURS FOR HIGHLIGHT */
.skills-boxes{
    padding-top: 10px;
    letter-spacing: 1px;
}

#projects {
    background-color: #5A5365;
    padding-top: 20px;
    position: relative;
    margin-top: -20px;
    min-height: 110vh;
    font-family: 'Source Sans Pro',sans-serif;
    padding-left: 100px;
    padding-right: 100px;
}
#contact {
    background-color: #645C70;
    position: relative;
    margin-top: -20px;
    min-height: 60vh;
    transform-origin: top;
    padding-bottom: 30px;
    padding-top: 20px;
}

.button-content{
    padding: 10px;
    background-color: #bbb;
    border-radius: 5px;
}
.button-content:hover{
    opacity: 0.8;
}
.button-container{
    padding-top: 25px;
}
.remove-dec{
    text-decoration: none;
    color: black;
}
.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contact-content-container {
    background-color: #3C3743;
    border-radius: 10px;
    width: 40%;
    box-shadow: 6px 6px #B6B0BF;
    font-family: 'Source Sans Pro',sans-serif;
    word-spacing: 1px;
    max-width: 800px;
    margin: 5px auto;
    padding: 15px;
    color: #978FA3;
}
.form-group {
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding-top: 17px;
}

.submit-button{
    padding-top: 5px;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 150px; /* Adjust height as needed */
    overflow-y: scroll;
    resize: none;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff; /*colour button*/
    color: #fff;
    cursor: pointer;
    /* margin-top: 20px; */
}

input[type="submit"]:hover {
    background-color: #0056b3;
}
.form-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-container{
    margin: auto;
}
.form-group label {
    margin-bottom: 7px;
    display: block;
}
.contact-anchor{
    text-decoration: none;
    color: #0056b3;
}
.web-img{
    height: 60px;
    left: 15px;
    position: absolute;
    bottom: 5px;
}
.img-caption{
    left: 85px;
    position: absolute;
    font-family: 'Source Sans Pro',sans-serif;
    word-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}

.project-img{
    text-align: center;
}
.project-img img{
    width: 163px;
    height: 150px;
}
.project-title{
    text-align: center;
}
.project-content{
    padding-bottom: 10px;
}
.box-arrow {
    margin: auto;
    display: block;
    text-align: center;
    font-size: 1.5rem;
}
.project-desc{
    text-align: center;
    letter-spacing: 1px;
    line-height: 35px;
    margin: -10px 75px 35px 75px;
}
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
.footer-content{
    background-color: #6E657B;
    padding-top: 10px;
    position: relative;
    min-height: 75px;
    font-family: 'Source Sans Pro',sans-serif;
    text-align: center;
}

/* CONTACT BUTTON */
.contact-btn-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
    padding-top: 25px;
    
}
.contact-btn-box .contact-btn{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background-color: #56658A;
    border: .2rem solid #56658A;
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: #50495A;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    text-decoration: none;
    text-shadow: -1px -1px 0 #60709a, 1px -1px 0 #60709a, -1px 1px 0 #60709a, 1px 1px 0 #60709a;
}
.contact-btn-box .contact-btn:hover{
    color: #56658A;
    text-shadow: none;
}
.contact-btn-box .contact-btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #50495A;
    z-index: -1;
    transition: .5s;
}
.contact-btn-box .contact-btn:hover:before{
    width: 100%;
}
.footer-content p{
    width: 50%;
    margin: auto;
}
/* KEYFRAMES ANIMATION */
@keyframes homeBgText{
    0%,10%,100%{
        background-position: -33rem 0;
    }
    65%,85%{
        background-position: 0 0;
    }

}
@keyframes homeCursorText{
    0%,10%,100%{
        width: 0;
    }
    65%,78%,85%{
        width: 100%;
        opacity: 1;
    }
    75%,81%{
        opacity: 0;
    }

}

/* MEDIA CONTROL */
@media screen and (max-width: 1000px) {
    .about-content {
      display: block;
    }
    .about-me, .skills-container {
      width: 100%; 
    }
    .about-writing{
        margin-right: 50px;
    }
    .skills-container{
        padding-left: 76px;
    }
    .container {
        margin-right: 0; 
    }
    .skills-boxes{
        padding-bottom: 30px;
    }
    .project-desc{
        width: 100%;
        margin: auto;
    }
    .contact-btn-box{
        text-align: center;
        margin: auto;
        display: block;
    }
}
@media screen and (max-width: 700px) {
    .img-caption {
       display: none;
    }
    .home-content{
        right: 35px;
        position: relative;
    }
    .skills-boxes{
        margin-bottom: 10px;
    }
    .contact-btn-box{
        text-align: center;
        margin: auto;
        display: block;
    }
     #jumps{
         font-size: 0.7rem;
         text-align: center;
 
     }
     .web-img{
         display: none;
     }
     .container{
         margin-right: 30px;
     }

 }
 @media screen and (max-width: 860px) {
    .img-caption {
       display: none;
    }


 }
 @media screen and (max-width: 900px) {
    .contact-content-container {
        width: 300px;
        max-width: 800px;
        margin: 0 auto;
        padding: 15px;
    }
    input[type="submit"] {
        margin-top: 10px;
    }


 }
@media screen and (max-width: 720px) {
    .img-caption {
       display: none;
    }
    #jumps{
        font-size: 0.7rem;
        text-align: center;

    }
    .web-img{
        display: none;
    }
    .container{
        margin-right: 30px;
    }

}