@font-face {
    font-family: italic;
    src: url(./MAZIUSREVIEW20.09-Extraitalic.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Gilroy-Medium";

}

html,
body {
    height: 100%;
    width: 100%;

}

#main {

    width: 100%;

}

#locom {
    height: 100%;
}

#loader {
    /* display: none; */
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: #111;
    color: white;
}

#loader #topheading {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
}

#topheading h5 {
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 300;
}

#loader h1 {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4vw;
    font-weight: 500;
}

.reveal .parent .child #font {
    font-family: italic;
    color: #14CF93;
}

.child span {
    display: inline-block;
}

#green {
    /* display: none; */
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 999;
    height: 0vh;
    background-color: #14CF93;
}

.reveal .parent {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-y: hidden;
}

.reveal .parent .child {
    display: block;

}

#home {

    width: 100%;
    background-color: #FDF9F8;
}

#home #nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5vw;
    width: 100%;
    height: 100px;
}

#nav a {

    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 12px;
    color: #000;
}

#nav a .line {
    position: absolute;
    display: inline-block;
    right: 0;
    bottom: 0;
    width: 100%;
    right: 0;
    height: 1px;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    background-color: #000;
}

#nav a:hover .line {
    width: 0;
}

.row {
    margin-top: 0vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #333;
    padding: 0 6vw;
    padding-right: 10vw;
    line-height: 1;

}

.row #cre {
    font-size: 12vw;
    font-weight: 500;
    margin-top: 6vw;
}

.row #des {
    font-size: 12vw;
    font-weight: 500;
    margin-top: 2vw;
}

.row #text {
    margin-top: 2vw;
}

.row h5 {
    opacity: .6;
    font-size: 11px;
    font-weight: 600;
}

.row:nth-child(3) {
    margin-top: 0;
}

.row svg {
    height: 9vw;
    margin: 0 2.5vw;
}

path,
polyline {
    stroke: #14CF93;
}

#imagery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24vw;
    margin-bottom: 5vw;
    width: 100%;
    padding: 0 7vw;
    /* background-color: yellow; */
}

#imagery #imglef {
    width: 30%;
    height: auto;
    /* background-color: red; */
}

#imglef h1 {
    font-size: 2.4vw;
    flex: 1;
    color: #333;
    letter-spacing: .5 px;
    font-weight: 500;
    text-transform: capitalize;
}

#imglef h1 span {
    color: #14CF93;
    font-family: italic;

}

#imgrig {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    width: 60%;
    height: auto;
    z-index: 99;
    /* background-color: yellow;. */
}

#imgrig .imgcont {
    position: absolute;
    width: 27vw;
    height: 37vw;
    border-radius: 1vw;
    filter: grayscale();
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1.3s;
}

#imgrig .imgcont:hover {
    filter: grayscale(0);

}

#imgrig .imgcont:nth-child(1) {
    transform: translate(-20%, -8%) rotate(-20deg);
    background-image: url("images/ababa.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#imgrig .imgcont:nth-child(2) {
    transform: translate(0%, 0%) rotate(-15deg);
    background-image: url("images/abbb.jpg");
    background-size: cover;
    background-position: right;
    z-index: 0;
}

#imgrig .imgcont:nth-child(3) {
    transform: translate(20%, 10%) rotate(-5deg);
    background-image: url("images/2.jpg");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#work {
    transition: background-color cubic-bezier(0.19, 1, 0.22, 1) 2s;
    padding-top: 200px;
    position: relative;
    width: 100%;
    min-height: 140vh;
    background-color: #F2F2F2;
}

#work::before {
    position: absolute;
    content: "";
    top: -50px;
    z-index: 1;
    width: 100%;
    height: 150px;
    transform: rotate(-180deg);
    background-image: url(https://abhishekjha.me/rip.f6d7c4dd.svg);
    background-size: cover;
}

#work .workrow h1 {
    font-size: 6vw;
    padding: 0 7vw;
}

.workrow h1 span {
    font-family: italic;
    color: #14CF93;

}

#images {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    padding: 2vw 5vw;

}

#images .cont {
    width: 30%;
    border-radius: 20px;
    overflow: hidden;


}

#images .cont img {
    width: 100%;
    cursor: pointer;
}

#images .cont2 {
    width: 30%;
    overflow: hidden;
}

#images .cont2 img {
    width: 100%;
    padding-top: 15vw;
    border-radius: 10px;
}

#images .cont2 img:hover {
    cursor: pointer;
}


#work2 {
    min-height: 110vh;
    background-color: #F2F2F2;
    /* background-color: red; */
    display: flex;
    justify-content: center;

}

#work2 .cont3 {
    width: 50%;
    padding-top: 5vw;
    margin-top: 5vw;

}

#work2 .cont3 img {
    width: 100%;
    border-radius: 20px;

}

/* Add the styles for the dropdown button */



/* Hide the dropdown content by default */
.dropdown-content {
    visibility: hidden;
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 99;
    width: 20vw;
    margin-left: 60vw;
    border-radius: 2vw;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Style the dropdown links */
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #000;

}

/* Change color on hover */
.dropdown-content:hover {

    background-color: #f1f1f1;
}

.dropdown-content a:hover {
    color: #14CF93;
    /* Change the text color on hover */
    text-decoration: underline;
    /* Add an underline on hover */
}

/* Show the dropdown content on hover */

#work3 {
    position: relative;
    min-height: 110vh;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 142, 86, 0.9430365896358543) 0%, rgba(102, 191, 161, 0.6881346288515406) 51%, rgba(0, 153, 83, 0.9150253851540616) 100%);
}

#work3 h1 {
    padding: 10vw 2vw;
    margin-left: 13vw;
    color: white;
    font-size: 5vw;
    font-weight: 100;

}

#work3 .fot {
    padding: 1vw 6vw;
    margin-left: 17vw;
}

#imglef .hid {
    display: none;
}

#btnn {
    display: flex;
    justify-content: space-between;
    padding: 3vw 3vw;

}

.btn {
    background-color: linear-gradient(90deg, rgba(7, 7, 11, 0.9430365896358543) 26%, rgba(71, 161, 42, 0.8954175420168067) 51%, rgba(0, 0, 0, 0.9430365896358543) 78%);
    ;
    padding: 3vw 17vw;
    margin-left: 2vw;
    border: 1px solid white;
    border-radius: 4vw;
    text-decoration: none;
    color: black;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.btn span {
    color: white;
}

.btn::before {
    content: "";
    position: absolute;
    background-color: white;
    width: 0px;
    height: 0px;
    left: var(--xPos);
    top: var(--yPos);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s, height 0.5s;

}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:hover::before {
    width: 140vw;
    height: 80vw;
}

.btn:hover span {
    color: black;
}

.btn:hover {
    color: rgb(255, 255, 255);

}

.btn2 {
    background-color: transparent;
    padding: 3vw 17vw;

    margin-right: 2vw;
    border: 1px solid white;
    border-radius: 4vw;
    text-decoration: none;
    color: black;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.btn2 span {
    color: white;
}

.btn2::before {
    content: "";
    position: absolute;
    background-color: white;
    width: 0px;
    height: 0px;
    left: var(--xPos);
    top: var(--yPos);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s, height 0.5s;

}

.btn2 span {
    position: relative;
    z-index: 1;
}

.btn2:hover::before {
    width: 140vw;
    height: 80vw;
}

.btn2:hover span {
    color: black;
}

.btn2:hover {
    color: white;
}

#detail {
    display: flex;
    justify-content: space-between;
    padding: 5vw 7vw;
    position: relative;
}

#detail1 a {
    display: flex;
    text-decoration: none;
    color: white;
    padding: 1vw 1vw;
    border-radius: 3vw;
    transition: .4s;
}

#detail2 a {
    display: flex;
    text-decoration: none;
    color: white;
    padding: 1vw 1vw;
    border-radius: 3vw;
    transition: .4s;
}

#detail3 a {
    display: flex;
    text-decoration: none;
    color: white;
    padding: 1vw 1vw;
    border-radius: 3vw;
    transition: .4s;
}

#detail4 a {
    display: flex;
    text-decoration: none;
    color: white;
    padding: 1vw 1vw;
    border-radius: 3vw;
    transition: .4s;
}

#detail1 a:hover {
    background-color: white;
    color: black;
}

#detail2 a:hover {
    background-color: white;
    color: black;
}

#detail3 a:hover {
    background-color: white;
    color: black;
}

#detail4 a:hover {
    background-color: white;
    color: black;
}

#detail4 a:hover #imgcontainer4 {
    content: url("images/gitblack.png");
    width: 2vw;
    height: 2vw;
    margin-right: 2vw;

}

#detail3 a:hover #imgcontainer3 {
    content: url("images/twitblack.png");
    width: 2vw;
    height: 2vw;
    margin-right: 2vw;
}

#detail2 a:hover #imgcontainer2 {
    content: url("images/liblack.png");
    width: 2vw;
    height: 2vw;
    margin-right: 2vw;
}

#detail1 a:hover #imgcontainer1 {
    content: url("images/instablack.png");
    width: 2vw;
    height: 2vw;
    margin-right: 2vw;
}

#detail .insta {
    width: 2vw;
    height: 2vw;
    margin-right: 2vw;
}

#detail1 #text {
    line-height: 1.4vw;
}

#imagery #imglef h4 {
    display: none;
}


@media (max-width:600px) {
    @font-face {
        font-family: Gilroy-Medium;
        src: url(./gilroy/Gilroy-Thin.ttf);
    }

    * {
        font-family: "Gilroy-Medium";
    }

    #main {
        width: 100%;
    }




    .play,
    .social {
        display: none;
    }

    .row #text h5 {
        display: none;
    }

    #work::before {
        display: none;
    }

    #home #nav a {
        color: #f1f1f1;
    }

    .row #cre {
        font-size: 16vw;
        color: #f1f1f1;
        margin-right: 15vw;
        margin-bottom: -5vw;
    }

    .row #des {
        font-size: 16vw;
        color: #f1f1f1;
        margin-right: 10vw;

    }

    .row svg {
        height: 17vw;
        margin-left: 30vw;
    }

    #work .workrow h1 {
        color: #f1f1f1;
        font-size: 10vw;

    }

    #imagery {
        display: flex;
        flex-direction: column;

    }

    #imagery #imglef {
        width: 100%;
        height: 20vh;
    }

    #imagery #imglef h1 {
        font-size: 6vw;
        margin-top: 8vw;
        color: #f1f1f1;
        text-transform: capitalize;
    }

    #imagery #imglef h4 {
        display: block;
        font-size: 3.6vw;
        margin-top: 90vw;
        color: grey;

    }

    #imagery #imgrig {
        order: -1;
        margin-top: 50vw;
        scale: 1.2;
        margin-right: 10vw;


        background-color: red;
    }

    #imagery #imgrig .imgcont {
        width: 53vw;
        height: 80vw;
        border-radius: 4vw;

    }

    #work {
        position: static;
        min-height: 70vh;
        margin-top: 80vw;
        background-color: #000;
    }

    #work2 {
        position: static;
        min-height: 50vh;
        background-color: #000;
    }

    body {
        background-color: #14CF93;
    }

    #home {
        background-color: black;
    }

    #images {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 3vw;
        margin-top: 20vw;
        width: 90%;
    }

    #images .cont {
        width: 50%;
        height: 30vh;
        box-shadow: 5px 8px 10px #14CF93;
    }

    #images .cont2 {
        margin-top: 10vh;
        width: 80%;

    }

    #images .cont2 {
        height: 20vh;
        box-shadow: 5px 8px 10px #14CF93;
    }

    #work2 .cont3 {
        margin-top: 20vh;
        width: 70%;
        height: 20vh;
        box-shadow: 5px 8px 10px #14CF93
    }

    #work2 .cont3 img {
        margin-top: 3vh;
    }

    #work3 {
        background: linear-gradient(90deg, rgba(0, 142, 86, 0.9430365896358543) 0%, rgba(102, 191, 161, 0.6881346288515406) 51%, rgba(0, 153, 83, 0.9150253851540616) 100%);
        min-height: 60vh;
    }

    #work3 #btnn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0vw 6vw;
        margin-top: -8vw;

    }

    #work3 #btnn .btn {
        padding: 4.3vw 0vw;
        margin-right: 2.5vw;
    }

    #work3 #btnn .btn2 {
        margin-top: 5vw;
        padding: 4.3vw 0;
        text-align: center;
        margin-left: 2vw;
    }

    #loader h1 {
        font-size: 8vw;
    }

    .row {
        display: block;
    }

    #work3 h1 {
        padding: 15vw 0;
        font-size: 10vw;
        font-weight: 700;
        margin-left: 0vw;
    }

    #work3 .conn {
        margin-left: 10vw;
    }

    #work3 .fot {
        padding: 0 0;
        margin-left: 25vw;
    }

    #work3 .next {
        margin-left: 9vw;
    }

    #detail {
        margin-top: 5vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0 15vw;
    }

    #detail1 #text {
        line-height: 4.9vw;
        display: none;

    }

    #detail4 #text {
        display: none;
    }

    #detail3 #text {
        display: none;
    }

    #detail2 #text {
        display: none;
    }

    #detail .insta {
        width: 10vw;
        height: 10vw;
    }


    #detail #text #small {
        font-size: 2.4vw;
    }

    #detail4 a:hover #imgcontainer4 {
        width: 10vw;
        height: 10vw;
    }

    #detail3 a:hover #imgcontainer3 {
        width: 10vw;
        height: 10vw;
    }

    #detail2 a:hover #imgcontainer2 {
        width: 8vw;
        height: 8vw;
    }

    #detail1 a:hover #imgcontainer1 {
        width: 10vw;
        height: 10vw;
    }

    #imgrig .imgcont:nth-child(1) {
        transform: translate(-2%, -10%) rotate(-5deg);
        background-image: url("images/ababa.jpg");
        background-position: center;
        z-index: 0;
        scale: 1.1;
    }

    #imgrig .imgcont:nth-child(2) {
        transform: translate(8%, 4%) rotate(0deg);
        background-image: url("images/abbb.jpg");
        background-position: right;
        z-index: 0;
        scale: 1.1;

    }

    #imgrig .imgcont:nth-child(3) {

        transform: translate(18%, 20%) rotate(5deg);
        background-image: url("images/2.jpg");

        z-index: 1;
        scale: 1.1;
    }



    #imglef h1 {
        display: none;
    }

    #imglef .hid {
        display: block;
    }

}