/*
|------------------------------------------
|  Global Styles
|------------------------------------------
*/
h1 {
    font-family: 'Lobster', sans-serif;
    color: white;
    font-size: 260px;
}

h2 {
    font-family: 'Lato', sans-serif;
    color: #F2C640;
    font-size: 50px;
    font-weight: 900;
    text-align: center;
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 36px; 
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 24px; 
    }
}

h3 {
    font-family: 'Lato', sans-serif;
    color: #F2C640;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}


@media screen and (max-width: 480px) {
    h3 {
        font-size: 24px; 
        margin-bottom: 10px;
    }
}

h4 {
    font-family: 'Lato', sans-serif;
    color: #5A1C55;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 7px;
}

@media screen and (max-width: 768px) {
    h4 {
        font-size: 26px;
        margin-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    h4 {
        font-size: 22px;
        margin-top: 20px;
    }
}

h5 {
    font-family: 'Lato', sans-serif;
    color: #5A1C55;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
   /* text-align: center;*/
}

@media screen and (max-width: 768px) {
    h5 {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    h5 {
        font-size: 18px;
    }
}

body {
    font-family: 'Laila', serif;
    color: white;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.3;
    background-color: #9F74B3;
}


@media screen and (max-width: 430px) {
    body {
      font-size: 12px;
    }
  }

.is-flex {
    display: flex;
}

.is-flex-third {
    flex-basis: 33%;
    max-width: 33%;
}

.is-flex-half {
    flex-basis: 50%;
}

.heading {
    padding-top: 50px;
    padding-bottom: 15px;
}

@media screen and (max-width: 430px) {
    .heading {
        padding-top: 15px;
        padding-bottom: 0px;
    }
}

.section-between {
    margin-top: 3rem;
    margin-bottom: 3.5rem;
    /*max-width: 1050px;*/
}

.section-top {
    margin-bottom: 45px;
    /*max-width: 1050px;*/
}

.project-arrow {
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
}

.project-arrow a {
    text-decoration: none;
    font-size: 20px;
    color: #F2C640;
}

.arrow-left {
    text-align: left;
    width: 40px;
}

.arrow-right {
    text-align: right;
    width: 40px;
}

.enlarged {
    transform: scale(1.2);
    transform-origin: center;
    position: absolute;
    left: 25%;
}
/*
------------------------------------------
 Navigation
 -----------------------------------------
 */

.gn {
    position: absolute;
    top: 25px;
    left: 240px;
    width: 1440px;
    height: 94px;
}

.gn ul {
    margin: 0;
    padding: 32px 0 0;
    list-style: none;
    text-align: right;
}

.gn ul li {
    float: none;
    display: inline-block;
}

.gn ul li:nth-child(1) {
    float: left;
}

.gn ul li:nth-child(2) {
    float: left;
}

.gn ul li:nth-child(4) {
    float: right;
}


.gn li a {
    font-weight: 400;
    color: white;
    font-size: 20px;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

.gn ul li a:hover {
    color: #be557d;
}

.gn li + li {
    list-style: none;
    margin-left: auto;
}

.main-gn {
    width: 100%;
    position: relative;
}

.logo {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 0;
    content: "";
    margin-left: -150px;
    text-align: center;
}

.mobile-logo {
    display: none;
}

@media screen and (max-width: 768px) {
    .desktop-logo {
        display: none; /* Hide desktop logo on smaller screens */
    }

    .mobile-logo {
        display: block;
        position: absolute;
        left: 50%;
        top: 0;
        content: "";
        text-align: center;
    }
}

.is-half {
    flex-basis: 50%;
    max-width: 50%;
}

/*
------------------------------------------
 Main
 -----------------------------------------
*/


.container {
    display: flex;
    gap: 120px;
    padding: 70px 120px;
}

.hero_container {
    /*margin-right: 120px;*/
    /*margin-left: 120px;*/
    /*display: inline-block;*/
    padding-top: 100px;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

 @media screen and (max-width: 430px) {
    .hero_container {
       padding-top: 50px;
    }
 }

.hero_image {
    border-radius: 64px;
    background-color: white;
    background-image: url(../images/Hero_Image_Mockup.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 720px;
}

@media screen and (max-width: 768px) {
    .hero_image {
       height: 500px; 
       border-radius: 43px;
    }
 }
 
 @media screen and (max-width: 480px) {
    .hero_image {
      height: 225px; 
      border-radius: 23px;
    }
 }

.hero_container img {
    display: block;
    /*position:absolute;*/
    /*height: auto;*/
    border-radius: 64px;
    /*margin: 0 auto;*/
    /*overflow: hidden;*/
}

.hero_text {

    display: flex;
    gap: 3rem;
    justify-content: space-between;
    align-items: end;
    position: relative;
    bottom: 175px;

}

.cover_name {

    background: linear-gradient(to bottom, #5A1C55, #be557d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    line-height: 1;
    /*left: 330px;*/
    /*bottom: -434px;*/
}

.cover_description {
    /*position: relative;*/
    /*bottom: 380px;*/
    /*left: 1237px;*/
    font-size: 35px;
    font-weight: 500;
    /*display: inline-block;*/
    /*width: 398px;*/
}

@media (max-width: 1400px) {
    .hero_text  {
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .hero_text  {
        bottom: 45px;
        flex-direction: column;
        gap: 0px;
    }
    .cover_name {

        font-size: 5rem;
        margin-bottom: 2rem;

    }

    .cover_description {
        font-size: 18px;
        margin-top: 0px
    }
}

/*
------------------------------------------
 Portfolio
 -----------------------------------------
 */

 /*
.section-port {
    margin-top: 80px;
    padding: 30px;
} 
*/

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 20px; /* Adjust padding for smaller screens */
    margin-left: 20px; /* Adjust margin for smaller screens */
    margin-right: 20px; /* Adjust margin for smaller screens */
}

.column {
    -ms-flex: 33%;
    flex: 33%;
    max-width: 33%;
    text-align: center;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%; /* Make the image responsive */
    max-width: 440px; /* Set a maximum width for larger screens */
    height: auto;
    border-radius: 21px;
}

.col-top {
    margin-bottom: 45px;
}

.portfolio_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.portfolio_grid > * {
    flex: 1 1 30%;
    overflow: hidden;
}

.portfolio_grid img {
    border-radius: 21px;
    object-fit: cover; /* Use "cover" for responsive image display */
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }

    .portfolio_grid > * {
        flex: 1 1 100%;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%; 
    background: #ffffff8c; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 21px;
}

.overlay-text {
    color: #5A1C55;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 40px;
    text-align: center;
}

@media screen and (max-width: 700px) {
    .overlay-text {
        font-size: 20px;
    }
}

.portfolio-item:hover .overlay {
    opacity: 1;
}






.enlarged {
    transform: scale(1.5);
    transform-origin: center center;
    position: absolute;
    left: 25%;
}


/* For mobile devices */
@media (max-width: 768px) {
    .enlarged {
        transform: scale(0.9);
        left: 1%;
    }
}





/*
------------------------------------------
 About
 -----------------------------------------
 */

.section-about {
    margin: 0 auto;
    padding-top: 64px;
    /*margin-left: 120px;*/
    /*margin-right: 120px;*/
    max-width: 900px
}

@media screen and (max-width: 430px) {
    .section-about {
        padding-top: 0px;
    }
}

.about-text {
    line-height: 30px;
    padding: 36px 0px 0px 0px;
}

@media screen and (max-width: 480px) {
    .about-text {
        line-height: 17px; 
        padding: 5px 0 0 0;
    }
}

.is-styles {
    max-width: 250px;
    object-fit: contain;
    padding: 10px;
    /*border: 10px;*/
    box-shadow: 32px 24px 0px 7px rgb(78 205 115 / 14%);
    box-shadow: 0 0 5px #00FF00, 0 0 10px #00FF00, 0 0 20px #4DCD73;
    border-radius: 6px;
    background-color: #4DCD73;
}

.is-center {
    display: flex;
    justify-content: center;
}

/*
------------------------------------------
 Skills
 -----------------------------------------
 */
.section-skills {
    padding-top: 64px;
    margin: 0 auto;
    max-width: 1050px;
    /*margin-left: 120px;*/
    /*margin-right: 120px;*/
}

@media screen and (max-width: 430px) {
    .section-skills {
        padding-top: 0px;
    }
}

.skills {
    margin-bottom: 70px;
}

@media screen and (max-width: 430px) {
    .skills {
       margin-bottom: 35px
    }
 }

.skills-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1050px;
    justify-content: space-between;
}

.skills-row img {
    width: 185px;
}

@media screen and (max-width: 430px) {
    .skills-row img {
        width: 140px;
    }
}

/*@media (max-width: 1100px) {*/

/*    .hero_text  {*/
/*        flex-direction: column;*/
/*    }*/

/*}*/

@media screen and (max-width: 600px) {
    .col-skills {
        width: 100%;
    }
}

.col-skills .col-leaf {
    display: inline-flex;
    text-align: right;
}




/*
------------------------------------------
Modal Images
-----------------------------------------
*/


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1400px;
}

#caption {
    display: none;
}
/*
.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1400px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
*/

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/*
------------------------------------------
Print Design
-----------------------------------------
*/
.ph-txt {
    display: flex;
    align-items: flex-start;
}

.ph-txt img {
    width: 50%;
    object-fit: cover;
    border-radius: 21px;
}

.ph-txt .text {
    text-align: left;
    width: 50%;
    padding-left: 87px;
    padding-right: 69px;
}

.section-space {
    margin-top: 8rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 430px) {
    .ph-txt {
        flex-direction: column;
        align-items: center;
    }

    .ph-txt img, .ph-txt .text {
        width: 100%;
        margin-top: 25px;
    }

    .ph-txt .text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-space {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}


/*
------------------------------------------
 Footer
 -----------------------------------------
 */

 .ftr {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    /*margin-right: 120px;*/
    /*margin-left: 120px;*/
    margin-top: 10px;
    margin-bottom: 10px; 
    padding: 46px 5rem;
}

.mdl-col {
    text-align: center;
}

.right-col {
    text-align: right;
}

@media screen and (max-width: 430px) {
    .ftr {
        margin-bottom: 15px;
        font-size: 10px;
        padding: 10px; 
    }

    .right-col {
        text-align: right; /* Center-align content on smaller screens */
    }
}



/*
------------------------------------------
 Effects
 -----------------------------------------
 */
.line-container {
    /*margin-left: 60px;*/
    /*margin-right: 60px;*/
    margin-top: 70px;
    margin-bottom: 40px;
    width: 100%;
    flex-grow: 1;
}

@media screen and (max-width: 430px) {
    .line-container{
       margin-top: 35px
    }
 }

.green-line {
    /*width: 1800px;*/
    height: 2px;
    background-color: whitesmoke;
} 

hr {

    height: 2px;
    background-color: #4DCD73;
    border: none;
}

/*
------------------------------------------
Contact
-----------------------------------------
*/

* {
    box-sizing: border-box;
    color: #fff;
    font-family: 'Laila', serif;
}

/* html,
body {
  margin: 0;
  padding: 0;
} */

*:focus {
    outline: 0;
}

.wrapper {
    padding-top: 200px;
    padding-bottom: 200px;
    margin: 100px auto 0;
    width: 70%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.contact_wrapper {
    padding-top: 350px;
    padding-bottom: 200px;
    /*margin: 100px auto 0;*/
    /*width: 70%;*/
    /*max-width: 1000px;*/
    display: flex;
    justify-content: center;
}

form {
    width: 100%;
    margin: 0;
}

form * {
    font-size: 20px;
    letter-spacing: 0.075em;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}


form .field {
    width: 100%;
    position: relative;
    margin-bottom: 15px;
}

form .field label {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #b13e8b, #372056);
    width: 100%;
    height: 64px;
    transition: width 333ms ease-in-out;
    text-align: center;
    padding: 18px 0;
}

form .field input[type="text"],
form .field textarea {
    border: none;
    width: 100%;
    height: 64px;
    margin: 0;
    padding-left: 19.5%;
    color: #313a3d;
}

form #msg {
    height: 64px;
    resize: none;
    transition: all 333ms ease-in-out;
    padding-top: 18px;
}

form textarea:focus#msg,
form textarea:not(:placeholder-shown)#msg {
    height: 166px;
}

form input[type="text"]:focus + label,
form input[type="text"]:not(:placeholder-shown) + label,
form textarea:focus + label,
form textarea:not(:placeholder-shown) + label,
form .field:hover label {
    width: 18%;
}

form input[type="submit"] {
    background: linear-gradient(90deg, #b13e8b, #812d65);
    -webkit-appearance: none;
    appearance: none;
    border: none;
    position: relative;
    padding: 13px 50px;
    transition: all 0.3s ease-in-out;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus {
    background: #372056;
}

/*
------------------------------------------
Contact Background
-----------------------------------------
*/

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}


.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    /* background: #000000; */
    overflow: hidden;
    z-index: -1;
}

.background span {
    width: 3vmin;
    height: 3vmin;
    border-radius: 3vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 48;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.background span:nth-child(0) {
    color: #5e1250;
    top: 24%;
    left: 41%;
    animation-duration: 17s;
    animation-delay: -17s;
    transform-origin: -4vw -11vh;
    box-shadow: 6vmin 0 1.5873987614562775vmin currentColor;
}

.background span:nth-child(1) {
    color: #583C87;
    top: 16%;
    left: 26%;
    animation-duration: 9s;
    animation-delay: -3s;
    transform-origin: -3vw -10vh;
    box-shadow: -6vmin 0 1.5188608024449275vmin currentColor;
}

.background span:nth-child(2) {
    color: #583C87;
    top: 99%;
    left: 93%;
    animation-duration: 7s;
    animation-delay: -12s;
    transform-origin: 23vw 11vh;
    box-shadow: -6vmin 0 0.9003282054064239vmin currentColor;
}

.background span:nth-child(3) {
    color: #62d624;
    top: 80%;
    left: 78%;
    animation-duration: 23s;
    animation-delay: -14s;
    transform-origin: -12vw -17vh;
    box-shadow: 6vmin 0 1.672020976050817vmin currentColor;
}

.background span:nth-child(4) {
    color: #62d624;
    top: 40%;
    left: 68%;
    animation-duration: 19s;
    animation-delay: -3s;
    transform-origin: 16vw -12vh;
    box-shadow: -6vmin 0 1.191955432907649vmin currentColor;
}

.background span:nth-child(5) {
    color: #5e1250;
    top: 37%;
    left: 97%;
    animation-duration: 21s;
    animation-delay: -17s;
    transform-origin: -22vw -16vh;
    box-shadow: 6vmin 0 0.8180216334479102vmin currentColor;
}

.background span:nth-child(6) {
    color: #583C87;
    top: 11%;
    left: 96%;
    animation-duration: 9s;
    animation-delay: -12s;
    transform-origin: -14vw 20vh;
    box-shadow: -6vmin 0 1.3391874170548135vmin currentColor;
}

.background span:nth-child(7) {
    color: #62d624;
    top: 59%;
    left: 16%;
    animation-duration: 21s;
    animation-delay: -5s;
    transform-origin: 15vw 9vh;
    box-shadow: 6vmin 0 1.4377007286253725vmin currentColor;
}

.background span:nth-child(8) {
    color: #5e1250;
    top: 52%;
    left: 4%;
    animation-duration: 25s;
    animation-delay: -9s;
    transform-origin: 3vw -14vh;
    box-shadow: 6vmin 0 1.5104621035511776vmin currentColor;
}

.background span:nth-child(9) {
    color: #62d624;
    top: 93%;
    left: 6%;
    animation-duration: 19s;
    animation-delay: -7s;
    transform-origin: 6vw 23vh;
    box-shadow: -6vmin 0 1.191803231246619vmin currentColor;
}

.background span:nth-child(10) {
    color: #583C87;
    top: 69%;
    left: 51%;
    animation-duration: 23s;
    animation-delay: -9s;
    transform-origin: -8vw -15vh;
    box-shadow: -6vmin 0 1.352545499734169vmin currentColor;
}

.background span:nth-child(11) {
    color: #62d624;
    top: 83%;
    left: 46%;
    animation-duration: 21s;
    animation-delay: -13s;
    transform-origin: 15vw 13vh;
    box-shadow: -6vmin 0 1.5555340914643525vmin currentColor;
}

.background span:nth-child(12) {
    color: #5e1250;
    top: 71%;
    left: 25%;
    animation-duration: 17s;
    animation-delay: -6s;
    transform-origin: -22vw 4vh;
    box-shadow: 6vmin 0 1.6749748080920193vmin currentColor;
}

.background span:nth-child(13) {
    color: #62d624;
    top: 13%;
    left: 84%;
    animation-duration: 21s;
    animation-delay: -16s;
    transform-origin: 23vw -7vh;
    box-shadow: 6vmin 0 1.6349925163555123vmin currentColor;
}

.background span:nth-child(14) {
    color: #5e1250;
    top: 41%;
    left: 62%;
    animation-duration: 25s;
    animation-delay: -6s;
    transform-origin: -11vw 3vh;
    box-shadow: 6vmin 0 1.156698423356626vmin currentColor;
}

.background span:nth-child(15) {
    color: #5e1250;
    top: 26%;
    left: 74%;
    animation-duration: 21s;
    animation-delay: -8s;
    transform-origin: 25vw -9vh;
    box-shadow: -6vmin 0 1.0933748369937097vmin currentColor;
}

.background span:nth-child(16) {
    color: #583C87;
    top: 7%;
    left: 3%;
    animation-duration: 21s;
    animation-delay: -7s;
    transform-origin: -20vw -15vh;
    box-shadow: -6vmin 0 1.2744128313662177vmin currentColor;
}

.background span:nth-child(17) {
    color: #583C87;
    top: 41%;
    left: 80%;
    animation-duration: 21s;
    animation-delay: -18s;
    transform-origin: -17vw 7vh;
    box-shadow: -6vmin 0 0.8864877987764059vmin currentColor;
}



