@import url('https://fonts.cdnfonts.com/css/futura-std-4');

body {
    margin: 0 auto; 
    margin-top: 20px;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    /* background-color: rgba(255, 244, 220, 0.25); */
    cursor: url('/assets/icons/cursor.png'),auto;
}
a:hover, button:hover {cursor: url('/assets/icons/cursor-hover.png'),auto;}

.homepage {background-color: rgba(255, 244, 220, 0.25);}
h1 {
    font-family: 'Abril Fatface', cursive;
    letter-spacing: .05rem;
    color: rgb(0, 7, 222);
    font-size: 80px;
    margin: 0;
    margin-bottom: 20px;
    line-height: 1;
}
h2 {
    font-family: 'Abril Fatface', cursive;
    letter-spacing: .05rem;
    color: rgb(0, 7, 222);
}
h3 {
    font-size: 16px; 
    font-weight: 500;
    text-align: center;
    text-transform: lowercase;
}
h4 {
    color: rgb(0, 7, 222); 
    font-weight: 500;
    font-size: 18px;
    margin: 0;
}
h5 {
    font-size: 14px;
    font-weight: normal;
    margin: auto 0;
}
p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5rem;
}

a {
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(0, 7, 222);
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: .05rem;
    font-size: 20px;
    margin: auto;
}

video {
    /* override other styles to make responsive */
    width: 100%    !important;
    height: auto   !important;
  }

.nav-right {
    border-bottom: 2px solid rgb(246, 201, 11);
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    padding: 3px 50px;
    /* margin: auto; */
}

header {margin-bottom: 48px;}
.resume header {margin-bottom: 0;}
.header-wrapper {
    display: flex;
    justify-content: space-between;
}

.home {
    display: flex;
    border-bottom: 2px solid rgb(246, 201, 11);
    padding: 3px 50px;
    /* margin: auto; */
    align-self: last baseline;
}

/* main ============================================== */

/* boxes */
.square-box-y, .square-box-b {
    position: relative;
    width: 150px;
    overflow: hidden;
    border-radius: 15px;
}

.projectpage .square-box-y, .projectpage .square-box-b {
    width: 100px;
}

.square-box-y {
    border: 3px solid rgb(246, 201, 11);
    background-color: #fff;
    margin: auto;
}
.square-box-b {
    border: 3px solid rgb(0, 7, 222);
    background-color: #fff;
    margin: auto;
}
.square-box-y:hover {
    background-color: rgb(246, 201, 11);
}
.square-box-b:hover {
    background-color: rgb(0, 7, 222);
}
.square-box-b span:hover, .square-box-y span:hover {color: #fff;}
.y {color: rgb(246, 201, 11);}
.b {color: 4px solid rgb(0, 7, 222);}

.square-box-y:before, .square-box-b:before{
    content: "";
    display: block;
    padding-top: 100%;
}
.square-content{
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.square-content div {
   display: table;
   width: 100%;
   height: 100%;
}
.square-content span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 50px;
    font-family: 'Jost', 'Montserrat', sans-serif;
    font-weight: 650;
    letter-spacing: 0.25rem;
}

.projectpage .square-content span {
    font-size: 40px;
}

.boxes {
    display: flex;
    grid-gap: 30px;
    margin: 200px auto;
    /* margin-top: 50px; */
    justify-content: center;
}
.projectpage .boxes {
    display: flex;
    justify-content: center;
    /* margin: 0; */
    grid-gap: 50px;
}
/* .otherprojects {
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
} */

/* footer ======================== */
footer {
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid rgb(246, 201, 11);
    color: rgb(0, 7, 222);
    background-color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5rem;
}

/* resume page ========================================= */
.resume {background-color: #fff;}
.divider {
    width: 150px;
    height: 2px;
    background-color: rgb(246, 201, 11);
    margin: 50px auto;
}
.transition {
    display: flex;
    justify-content: center;
    position:relative; 
    width:80px; 
    height:80px;
    border-radius: 5px;
    background-color: #fff;
    margin: auto;
}
.transition-box {
    margin-left: auto;
    margin-right: auto;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 20px;
}
.bluebox .transition {border: 2px solid rgb(0, 7, 222);}
.yellowbox .transition {border: 2px solid rgb(246, 201, 11);}
.bluebox .transition:hover {background-color: rgb(0, 7, 222);}
.yellowbox .transition:hover {background-color: rgb(246, 201, 11);}

.transition .image,
.transition .text {
    transition: opacity 0.15s ease-in-out;
    color: #fff;
    font-size: 14px;
    text-transform: lowercase;
    text-align: center;
    /* margin: auto; */
    /* justify-self: center; */
    /* display: flex; */
}
.transition .text {
    position:absolute; 
    top: 30px;
    opacity:0;
}
.transition .image {
    padding: 20px;
}
.transition:hover .image {opacity:0;}
.transition:hover .text {opacity:1;}

.textimg {width: 100px;}

.contact {
    display: flex;
    grid-gap: 50px;
}
.contact div {display: flex;}
.abtme .contact p {margin: auto 10px;}


/* resume - profile ================================== */
#profile {
    display: flex;
    justify-content: space-between;
    /* margin-right: -500; */
    margin-left: 300px;
    margin-top: 100px;
    margin-bottom: 100px;
}
.abtme {margin: auto 0;}
.abtme p {
    margin: 30px 0;
    max-width: 560px;
    /* font-size: 14px; */
}
.abticons {
    width: 300px;
    height: 500px;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}
.shopping {
    max-width: 180px;
    position: absolute;
    top: -90px;
    left: 30px;
}
.catfood {
    max-width: 130px;
    position: absolute;
    left: -130px;
    top: 130px;
}
.cake {
    max-width: 270px;
    position: absolute;
    right: -50px;
    bottom: -65px;
}
.abticons img {
    margin: 0;
    animation: tilt-n-move-shaking .75s;
    animation-iteration-count: infinite;
}
@keyframes tilt-n-move-shaking {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, 5px) rotate(5deg); }
    50% { transform: translate(0, 0) rotate(0eg); }
    75% { transform: translate(-5px, 5px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}


/* resume - skills ===================================== */
#skills {
    margin: 0;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    /* justify-content: space-between; */
}
/* #skills h2 {
    color: rgba(0, 7, 222, .3);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .5rem;
    font-size: 120px;
    margin: 0;
}
.rotate {transform: rotate(90deg); width: 600px; height: 160px;} */
#skills .container {
    margin: 0 auto;
}
#exp .container {
    margin: 0 auto;
    display: grid;
    grid-template-rows: 1fr 1fr;
    row-gap: 100px;
}
#skills .slcontainer {
    margin-top: 100px;
    margin-bottom: 100px;
}
.slcontainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    column-gap: 300px;
    row-gap: 25px;
    margin: 0 auto;
}
.skilllist img {
    max-width: 40px; 
    /* margin-right: 15px; */
    /* margin: auto; */
}
.skilllist {
    display: flex;
    grid-gap: 20px;
    justify-content: left;
}
.skilllist h4 {
    margin: auto 0; 
    width: 200px;
}
.dot, .dot1 {
    margin: auto 0px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgb(246, 201, 11);
}
#skills .dot {margin: auto 17px;}

.hi h2 {
    color: black;
    margin: auto;
}
.hi h1 span {color: rgb(246, 201, 11);}
.hi h2 span {color: rgb(0, 7, 222);}
.hi {margin: auto 0; margin-right: 20px;}
.intro {
    display: flex;
    justify-content: space-between;
    margin-top: 250px;
    margin-bottom: 300px;
    margin-left: auto;
    margin-right: auto;
}
.resume .intro {
    max-width: 1000px;
    padding-left: 100px;
    padding-right: 100px;
}


/* resume - exp & edu ===================================== */
#exp, #education {
    margin: auto;
    display: flex;
    /* flex-direction: column; */
    /* justify-content: center; */
}
#exp {
    padding-top: 200px;
    padding-bottom: 200px;
}
#exp .divider {
    width: 50px;
    margin: 20px auto;
}
#exp h2 {text-align: center;}
.job-title p {line-height: 0; font-size: 12px;}
.job-title {
    margin: 0 auto;
    margin-bottom: 20px;
    /* margin-top: 70px; */
    max-width: 200px;
    border: 2px solid rgb(246, 201, 11);
    border-radius: 5px;
    display: flex;
    text-align: center;
    flex-direction: column;
    padding: 15px 20px;
}
.expbox {width: 400px;}
.place-time {
    display: flex;
    justify-content: center;
}
.place-time p {margin: 0;}
.location {text-align: center; margin: 0;}
#exp .dot, #education .place-time .dot {margin: auto 10px;}


.expcontainer {
    display: grid;
    /* justify-content: space-between; */
    grid-template-columns: 1fr 1fr;
    grid-gap: 200px;
}
.dropdown {
    margin: 0 auto;
    max-width: 320px;
    text-align: justify;
    display: block
}

#education img {
    height: 100px; 
    /* align-self: start;  */
    /* margin-right: 100px; */
}
/* #education .place-time {justify-content: start;} */
#education p {margin: 0;}
#education {
    flex-direction: column; 
    padding-top: 200px;
    padding-bottom: 200px;
}
.school {
    margin-top: 100px;
    text-align: center;
}
/* .courses {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 100px;
} */
/* .courses h4 {grid-column: span 2;} */
.courses h4 {text-align: center;}
.courses div {
    display: flex;
    margin-top: 5px;
}
#education .divider {
    width: 50px;
    margin: 30px auto;
    /* display: flex;
    justify-self: center; */
}
.edubox {max-width: 1200px; margin: 0 auto;}
.courses .dot {margin: auto 0; margin-right: 20px;}

.video {
    margin: 0 auto;
    padding: 128px 120px; 
    text-align: center;
    /* display: flex;  */
    /* justify-content: center; */
}
iframe {width: 1200px; height: 675.5px;}
/* projects 01 ================================= */
.uiuxtext h4 {
    /* margin-top: auto; */
    margin-right: 10px;
}
.uiuxtext a {
    text-transform: none;
    /* line-height: 1;
    margin: 0; */
    display: flex;
}
.icons {height: 35px; margin-top: -10px;}


/* place holder page or 404 ==================== */
.placeholderpage {
    background-color: #fff;
}

.placeholderpage h3 {margin: auto; max-width: 600px;}

.placeholder {
    margin: 60px auto;
    text-align: center;
    max-width: 700px;
}

.phlink {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    max-width: 400px;
    text-align: center;
    margin: 50px auto;
}

.phlink a {
    border: 2px solid rgb(246, 201, 11);
    border-radius: 10px;
    padding: 60px 0px;
    margin: auto;
    width: 150px;
    font-weight: 600;
    font-size: 16px;
}

.phlink a:hover {
    color: #fff;
    background-color: rgb(246, 201, 11);
}

.placeholderpage footer {margin-top: 200px;}



/* responsive ================================ */
@media screen and (max-width: 1200px) {
    .square-box-y, .square-box-b {
        width: 100px;
    }
    .square-box-y span, .square-box-b span {
        font-size: 30px;
    }
    h3 {font-size: 14px;}


    .slcontainer {column-gap: 120px;}
    #skills {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #education {
        padding-top: 100px;
        padding-bottom: 150px;
    }
    .intro {margin: 220px auto;}

    .expcontainer {grid-gap: 200px;}
    .expbox {width: 280px;}
    p {font-size: 12px;}
    .expbox p {line-height: 1.5;}
    /* .place-time p {font-size: 11px;} */
    .job-title p {margin: 0;}
    .job-title {max-width: 250px;}
    #exp {padding-bottom: 70px; padding-top: 120px;}


    .uiux {grid-template-columns: 1fr 400px;}
    /* .carouseldots .dot, .dot1 {
        height: 10px; 
        width: 10px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .uiux .dot, .uiux .dot1 {height: 7px; width: 7px;} */

    iframe {height: 520px;}
}
@media screen and (max-width: 900px) {
    .boxes {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        max-width: 400px;
        margin-bottom: 100px;
    }
    .header-wrapper a {
        font-size: 14px;
    }
    .nav-right, .home {
        padding: 3px 30px;
    }
    .nav-right {grid-gap: 25px;}

    .textimg {width: 50px;}
    #education img {height: 50px;}

    .slcontainer {column-gap: 20px;}
    #skills {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    #education {
        padding-top: 50px;
        padding-bottom: 100px;
    }
    #exp {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    .expcontainer {grid-gap: 100px;}
    .expbox {width: 200px;}
    #exp h4, #education h4 {font-size: 14px;}
    .job-title {
        padding: 10px 20px;
    }
    #exp .place-time {flex-direction: column; text-align: center;}
    #exp .place-time .dot {opacity: 0; height: 0;}
    p {font-size: 12px;}


    .school {margin-top: 50px;}
    #skills .slcontainer {
        margin: 70px auto;
        row-gap: 10px;
    }
    h5 {font-size: 12px;}

    iframe {height: 370px;}
}

@media screen and (max-width: 1450px) {
    .catfood {left: -50px; top: 140px;}
    .cake {right: -100px;}
    .shopping {left: 70px;}
    .abtme {max-width: 500px; padding-right: 50px;}
}

@media screen and (max-width: 1200px) {
    .cake {
        width: 220px;
        right: -50px;
        bottom: -20px;
    }
    .shopping {
        width: 165px;
        top: -40px;
    }
    .catfood {
        width: 110px;
        top: 170px;
        left: -20px;
    }
    #profile {margin-left: 200px;}
    .abtme {max-width: 450px;}
}

@media screen and (max-width: 1000px) {
    #profile {margin-left: 120px;}
    .abtme {max-width: 400px;}
}

/* index new */
.intro-pic {
    /* object-fit: cover; */
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}
.homepage header {margin-bottom: 0;}
.homepage h2 {
    text-transform: capitalize;
    font-size: 16px; 
    font-weight: 500;
    text-align: left;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    color: black;
    margin: 0;
}
.homepage p {margin: 8px 0;}
.homepage main a {
    text-transform: lowercase;
    font-size: 16px;
    letter-spacing: normal;
}
.categories, .all-pj {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 5vw;
    row-gap: 30px;
    max-width: 80vw;
    margin: 10vh auto;
    margin-top: 3vh
}
.categories span {
    border-bottom: 1px solid rgb(246, 201, 11);
    color: black;
}
.categories span:hover {border-bottom: 1px solid rgb(0, 7, 222);}
.title, .pj-title {
    display: flex;
    border-bottom: 1px solid rgb(246, 201, 11);
    margin-bottom: .5rem;
    padding: 1rem 0;
}
.icon img, .icon {
    margin: auto 0;
    height: 1.5em;
    width: auto;
}
.icon {
    margin-left: auto;
}
.title-img img {
    object-fit: cover;
    height: 150px;
    width: 100%;
}
.all-pj .icon img {
    height: 1em;
}
.all-pj span {color: rgb(246, 201, 11);}
.tag {
    display: flex;
    flex-wrap: wrap;
}
.spacer {margin-right: 15px;}
.all-pj p {
    margin: 5px 0;
    border-bottom: 1px solid rgb(0, 7, 222);
    line-height: 1.75;
}

.all-pj h2 {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    color: black;
    margin: 0;
}


.highlight {
    display: flex;
    background-color: #fff;
    margin: 100px 0;
    margin-bottom: 150px;
}
.highlight-description {
    margin: auto 10vw;
    padding: 10px 0;
}
.highlight-description p {
    line-height: 1.75;
    margin: 20px 0;
}
.highlight-description img {
    width: 150px;
}
.highlight-icon img {
    width: auto;
    max-height: 30px;
    margin-right: 15px;
}
.highlight .title-img img {
    height: 100%;
    width: auto;
}

.top {margin: 50px auto; text-align: center;}

@media screen and (min-width: 1000px) {
    .categories, .all-pj {
        max-width: 800px;
        column-gap: 75px;
        row-gap: 30px;
    }
    .highlight-icon img {max-height: 3vw;}
}
@media screen and (min-width: 1200px) {
    .categories, .all-pj {
        max-width: 1000px;
    }
    .all-pj {
        grid-template-columns: repeat(4,1fr);
        grid-gap: 50px;
    }
}
@media screen and (min-width: 1500px) {
    .all-pj {
        max-width: 1250px;
        grid-template-columns: repeat(4,1fr);
        column-gap: 75px;
    }
}
@media screen and (max-width: 760px) {
    .categories, .all-pj {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .highlight-icon img {
        max-height: 30px;
        /* margin-right: 30px; */
    }
}
@media screen and (max-width: 530px) {
    .categories, .all-pj {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        max-width: 60vw;
    }
    .highlight {flex-direction: column;}
    .highlight-description {
        margin: 20px 20vw;
    }
    .highlight .title-img img {
        object-fit: cover;
        height: 150px;
        width: 100vw;
    }
}

/* meh =========================== */
img {
    max-width: 100%;
    height: auto;
}
.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.footer-links a {
    text-transform: none;
    color: black;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #F6C90B;
}

.footer-links div {
    margin-bottom: 12px;
}

html {scroll-behavior: smooth}
body {overflow-x: hidden;}