/*navbar*/
@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(10px);
        /* Starts 100px below its final position */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Ends at its original position */
    }
}

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
    overflow: hidden;
    overflow-y: scroll;
}

body {
    background-color: #000000;
    display: grid;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

@font-face {
    font-family: thesignature;
    /* set name */
    src: url(https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/fonts/Thesignature.ttf);
    /* url of the font */
}

.navbar {
    position: fixed;
    background-color: transparent;
    transition: 0.5s;
    z-index: 1;
    font-family: "Work Sans", sans-serif;
    font-style: bold;
}

.navbar {
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}

.navbar-nav {
    margin-right: 15px;
    font-size: .9em;
    font-weight: 300;
    text-transform: uppercase;
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
}

.nav-link {
    text-decoration: none;
    margin-left: 20px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.8s;
}

.nav-link:hover {
    border-bottom: 1px solid white;
}

.black:hover {
    border-bottom: 1px solid black;
}

.lobby {
    display: block;
    width: 100%;
    height: 100vh;
    animation-name: rise-in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.lobby h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.8rem;
    color: white;
    letter-spacing: 1px;
    text-align: center;

}

.block-spacer {
    display: block;
    width: 100%;
    background-color: #F3F3F3;
    height: 5vh;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.block-info {
    display: block;
    width: 100%;
    background-color: #F3F3F3;
}

.block-text {
    display: flex;
    justify-content: center;
}

.block-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.block-element>img {
    display: block;
    justify-content: left;
    width: 90%;
}

.block-element {
    vertical-align: center;
    text-align: left;
    align-items: center;
    justify-content: center;
}

.info-divider {
    width: 95%;
}

.block-element>h1 {
    font-family: 'thesignature';
    font-size: 5rem;
    color: #434343;
}

.info-divider>span {
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .2em;
    color: #434343d7;
}

.kicker {
    font-family: "Special Elite", system-ui;
    font-weight: 200;
    font-style: normal;
    letter-spacing: .2em;

}

.intro-para {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: .1em;
    color: #434343d7;
    width: 100%;
}

.block-inside>h1 {
    font-family: "Special Elite", system-ui;
    font-weight: 200;
    font-style: normal;
    letter-spacing: .2em;
}

.block-introduction {
    text-align: center;
    position: relative;
    padding-top: 20%;
}

.block-info {
    display: flex;
    text-align: center;
    justify-content: center;
}

.block-inside {
    width: 40vw;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 999px;
    transition: all 0.25s ease;
    color: #434343d7;
    background-color: #F3F3F3;
}

.btn-secondary {
    color: #434343d7;
    border: 1px solid rgba(68, 68, 68, 0.45);

}

.btn-secondary:hover {
    background-color: #434343d7;
    border-color: rgba(68, 68, 68, 0.7);
}

.block-2 {
    padding-left: 5%;
}

.block-3 {
    background-color: #f3f3f3;
}

.block-4 {
    background-color: #f3f3f3;

}

.cascade-grid {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    position: relative;
}

.cascade-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* left image spans into the center */
.offset-1 {
    grid-column: 1 / 2;
    width: 95%;
    justify-self: start;
    z-index: 1;
    transition: filter 1s;
}

.offset-1:hover {
    filter: grayscale(100%)
}

/* right image overlaps by shifting left/up */
.offset-2 {
    grid-column: 2 / 3;
    width: 85%;
    justify-self: start;
    transform: translate(-30%, -10%);
    z-index: 2;
    position: relative;
    /* needed for z-index to apply reliably */
    filter: grayscale(100%);
    transition: filter 1s;
}

/* right image overlaps by shifting left/up */
.offset-3 {
    grid-column: 2 / 3;
    width: 85%;
    justify-self: start;
    transform: translate(-30%, -10%);
    z-index: 2;
    position: relative;
    /* needed for z-index to apply reliably */
}

.block-5 {
    align-items: left;
    justify-content: left;
}

.offset {
    padding: 10px;
    background-color: #F3F3F3;
}

.offset-2:hover {
    filter: grayscale(0%);
}

/*.main-content {
    animation-name: rise-in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}*/


/* Portfolio section 
.homeport {
    position: relative;
    margin-top: 100vh;
    width: 100%;
    min-height: 100vh;
    background-color: #0a0a0a;
    color: #fff;
    padding: 100px 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
} 

.homeport .section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.homeport .section-subtitle {
    text-align: center;
    font-weight: 300;
    font-size: 1rem;
    color: #bdbdbd;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}





.homeport .port-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #F3F3F3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}

.homeport .port-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
    transition: transform 0.6s ease, filter 0.6s ease;
}


.homeport .port-card:hover img {
    transform: scale(1.08);
    filter: brightness(100%);
}

.homeport .port-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}





.port-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #F3F3F3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.port-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    transition: transform 0.6s ease, filter 0.6s ease;
}


.port-card .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);

    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}


.port-card:hover img {
    transform: scale(1.08);
    filter: brightness(100%);
}

.port-card:hover .overlay-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}


.port-card .overlay-text::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.about {
    position: relative;
    width: 100%;
    height: 60vh;
    background-color: rgb(235, 235, 235);

    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content {
    position: absolute;

}

*/

.about {
    background-color: #f3f3f3;
}


.contact-section {
    width: 100vw;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem;
    background-color: #F3F3F3;
}

.contact-intro>*+* {
    margin-top: 1rem;
}

.contact-title {
    font-family: "Playfair Display", serif;
    line-height: 2.25rem;
    font-weight: 700;
    color: #434343d7;
}

.contact-description {
    color: #434343;
}

.form-group-container {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    outline: 2px solid #000000;
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
    color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
    outline: 2px solid #363636;
    outline-offset: 2px;
}

.form-textarea {
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 1.2rem;
    background-color: #343435;
    color: #fff;
    padding: 13px 5px;
    border-radius: 0.375rem;
}


#logoimg {
    -webkit-filter: invert(1);
    filter: invert(1);
    width: 20vh;
}

.block-carosell {
    width: 100%;
    height: 50vh;
    position: relative;
    background-color: #f3f3f3;
    overflow: hidden;
}


.row-fit {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 5px;
    width: 100%;
    height: 100%;

}

.row-fit>* {
    min-width: 0;

}


.row-fit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;

    display: block;
    transition: filter 0.5s;
}

.row-fit img:hover {
    filter: grayscale(70%);
}

/* Overlay badge */
.ig-badge {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f6f4f0;
    color: #111;
    padding: 18px 36px;
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
    letter-spacing: 0.12em;
    z-index: 5;
}

.ig-badge strong {
    letter-spacing: 0.18em;
    font-weight: 500;
}

/* page content

.cards {
   display: grid;
   grid-template-columns: repeat(auto-fit,
   minmax(400px,1fr));
   padding: 20px;
   grid-gap: 40px;
}

.card {
   display: block;
   text-decoration: none;
   background-color: #1c1b29;
   border-radius: 20px;
   box-shadow: 0 0 30px rgba(0,0,0,0.18);
   transition: 0.5s ease-in-out;
}

.card:hover {
   transform: translate3D(0,-1px,0) scale(1.03);  
}

.containterimg {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100%
    85%, 0 100%);
}

#cardimg img {
    width: 100%;
    display: block;
    border-radius: 20px 20px 0 0;
}

.containterimg::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    opacity: 0.7;
}

.card1>.containterimg::after {
    background-image: linear-gradient(135deg, #0100ec, #fb36f4);
}

.card2>.containterimg::after {
    background-image: linear-gradient(135deg, #0100ec, #fb36f4);
}

.card3>.containterimg::after {
    background-image: linear-gradient(135deg, #0100ec, #fb36f4);
}

.details {
    padding: 20px 10px;
}

.details>h3 {
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin: 10px 0 15px 0;
}

.details>p {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 30px;
    font-weight: 400;

}

/* bottom card  

.bottomcard {
    margin: 0;
    width: 100%;
    height: 150px;
    background-color: #1c1b29;
}

.info {
    text-align: center;
    line-height: 1000%;
    color: #a0a0a0;
    font-weight: 200;
}


/*projects home page
.bannerimgg {
    position: relative;
    height: 50%;
    width: 100%;
}



/*ESP-01 full

   
.cardsblog {
    display: grid;
    grid-template-columns: repeat(auto-fit,
    minmax(400px,1fr));
    padding: 20px;
    grid-gap: 40px;
 }
 
 .cardblog {
    display: block;
    text-decoration: none;
    background-color: #1c1b29;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.18);
    transition: 0.5s ease-in-out;
 }

 
 .containterimgblog {
     position: relative;
 }
 
 #cardimgblog img {
     width: 100%;
     display: block;
     border-radius: 20px 20px 0 0;
 }
 
 .containterimgblog::after {
     content: "";
     height: 60%;
     width: 100%;
     position: absolute;
     top: 0;
     left: 0;
     border-radius: 20px 20px 0 0;
     opacity: 0.7;
 }
 

 .detailsblog {
     padding: 20px 10px;
 }
 
 .detailsblog>h3 {
     color: white;
     font-weight: 600;
     font-size: 25px;
     text-align: center;
 }
 
 .detailsblog>p {
     color: #d4d3d3;
     font-size: 15px;
     line-height: 30px;
     font-weight: 400;
     word-wrap: break-word;
     text-indent: 30px;
     padding-left: 5%;
     padding-right: 5%;
 }

 .detailsblog img {
    border-radius: 25px;
    width: 70%;
}

 .codeholdesp{
    background-color: #072635;
    display: block;
    border-radius: 25px;
    width: 40%;
    


 }
 
 .codeholdespin {
    width: 90%;
    text-align: left;
 }
/*espsim

.detailsblog>center>p {
    color: #d4d3d3;
    font-size: 15px;
    line-height: 30px;
    font-weight: 400;
    word-wrap: break-word;
    text-indent: 30px;
    padding-left: 5%;
    padding-right: 5%;
}

.simcoder {
    background-color: #072635;
    display: block;
    border-radius: 25px;
    width: 95%;
    align-items: center;
    
}
.simcoderhold{

    width: 90%;
    text-align: left;
}

/* 3d renders



.drenders>center>img {
  display: grid;
  width: 95%;
  border-radius: 25px;
  grid-gap: 40px;
  align-items: center;
  padding: 10px;
  
}


/*about me

.contents-aboutme {
    padding-left: 25%;
}

.aboutmecard {
    display: block;
    position: relative;
    border-spacing: 10px;
    width: 900px;
    height: 500px;
    padding: 10px;
    right: 25%;
    border-radius: 15px;
    background-color: #072635;
    opacity: 0.8;
    animation: 1s ease-out 0s 1 slideInFromTop;

}

.detailz{
    padding-left: 230px;
    color: white;
    text-decoration: none;
}

.aboutmeimage {
    float: left;
}

.aboutmeimage>img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.fa {
    font-size: 50px;
    transition: all 0.5s ease;
}

.fa:hover {
    opacity: 0.9;
    
}

.contactinfo {
    display: flexbox;
    padding-left: 30%;
    padding-top: 5%;
    color: white;
}

.fa-twitter {
    
    background: transparent;
    color: white;
    text-decoration: none;
}

.fa-youtube-play {
    background: transparent;
    color: white;
    text-decoration: none;
}

.fa-instagram {
    background: transparent;
    color: white;
    text-decoration: none;
}

.fa-github {
    background: transparent;
    color: white;
    text-decoration: none;
}

.fa-google {
    background: transparent;
    color: white;
    text-decoration: none;
}

*/

.row-portfolio {
    display: flex;
}

.block-image-port {
    display: flex;
    align-items: center;
}

.block-image-port>img {
    width: 50%;
}


@media screen and (max-width: 700px) {
    .lobby {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/_uncompressed%20Adobe%20Lightroom/MAIN.jpg");
        background-size: 100vh;
        object-fit: cover;
        background-position: 50% bottom;
        background-repeat: no-repeat;
    }

    .lobby-port {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/spec/515506930_122117926850894330_453902333349712970_n.jpg");
        background-size: 60vh;
        object-fit: cover;
        background-position: 50% center;
        background-repeat: no-repeat;
    }

    .lobby-about {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/spec/515490144_122117926886894330_1538118613902879181_n.jpg");
        background-size: 60vh;
        object-fit: cover;
        background-position: 50% center;
        background-repeat: no-repeat;
    }


    .lobby-equine {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/_uncompressed%20Adobe%20Lightroom/MAIN.jpg");
        background-size: 100vh;
        object-fit: cover;
        background-position: 50% bottom;
        background-repeat: no-repeat;
    }

    .row {
        display: block;
        grid-template-columns: none;
    }

    .block-element>img {
        padding-left: 10%;
    }

    .offset {
        margin-top: 30%;
        position: relative;
        padding: 5px;
        background-color: #F3F3F3;
    }

    .block-carosell {
        width: 100%;
        height: 50vh;
        position: relative;
        background-color: #f3f3f3;
        overflow: hidden;
    }


    .row-fit {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        width: 100%;
        height: 100%;
    }

    .row-fit>* {
        min-width: 0;
    }


    .row-fit img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        display: block;
        transition: filter 0.5s;
    }

    .row-fit> :nth-child(n+6) {
        display: none;
    }

    .footer-linker {
        text-decoration: none;
        color: #434343d7;
        font-family: "Work Sans", sans-serif;
        font-weight: bold;
        font-size: .9em;
        letter-spacing: 2%;
        text-transform: uppercase;
    }

}

/*wide screen*/

@media screen and (min-width: 700px) {
    .lobby {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/_uncompressed%20Adobe%20Lightroom/MAIN.jpg");
        background-size: 100%;
        object-fit: fill;
        background-position: 50% center;
        background-repeat: no-repeat;
    }

    .lobby-port {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/_uncompressed%20Adobe%20Lightroom/MAIN.jpg");
        object-fit: cover;
        background-position: 50% center;
        background-repeat: no-repeat;
    }

    .lobby-about {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/_uncompressed%20Adobe%20Lightroom/MAIN.jpg");
        background-size: 100%;
        object-fit: cover;
        background-position: 50% center;
        background-repeat: no-repeat;
    }

    .lobby-equine {
        background-image: url("https://raw.githubusercontent.com/Elements6007/blacktiephotography/refs/heads/main/images/_uncompressed%20Adobe%20Lightroom/MAIN.jpg");
        background-size: 100%;
        object-fit: fill;
        background-position: 50% center;
        background-repeat: no-repeat;
        padding-top: 50vh;
    }


}


.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    will-change: transform, opacity;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}