@import url("https://use.typekit.net/mef6rdo.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');



* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "neue-haas-unica", sans-serif;
    line-height: 100%;
    cursor: url('blue-cursor.png'), auto;
}

header {
    text-align: center;
    padding: 11px 12px 200px 12px;
    background-color: white;
    /* border-bottom: 1px solid #ccc; */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
}

nav a {
    text-decoration: none;
    color: black;
}

nav a:link {
    color: rgb(0, 0, 0);
}

nav a:visited {
    color: black;
}

nav a:hover {
    color: #adadad;
    cursor: url('orange-cursor.png'), auto;
    /* text-decoration: underline; */
}

nav a:active {
    color: #FF6B00;
}

nav p {
    color: black;
}

.orange {
    color: #FF6B00;
}

.blue {
    color: #FF6B00;
}

/* .home-change::after {
    content: "hello, i'm carennza.";
    color: rgb(0, 0, 0);
}

.home-change:hover::after {
    content: "view works by carennza";
    color: #FF6B00;
} */








/* for portfolio grid */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 12px auto;
    padding: 0 12px;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

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

.overlay-text {
    font-size: 1.2rem;
    font-weight: 300;
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    /* Use Flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover .overlay-text {
    opacity: 1;
    cursor: url('orange-cursor.png'), auto;
}










/* for text */

.textbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.text {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    padding: 11px 12px 200px 12px;
    text-align: justify;
}

.text h1 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    color: black;
    line-height: 120%;
}

.text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    color: #FF6B00;
    line-height: 120%;
}

.text p {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    color: #5F6368;
    line-height: 120%;
}

.text a {
    color: #5F6368;
}

.text a:link {
    color: #5F6368;
}

.text a:visited {
    color: #5F6368;
}

.text a:hover {
    color: #FF6B00;
    cursor: url('orange-cursor.png'), auto;
    /* text-decoration: underline; */
}

.text a:active {
    color: #FF6B00;
}
















/* for projects image showcase */

.project-show-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin: 12px auto;
    padding: 0 12px;
    position: relative;
    overflow: hidden;
}

.project-show-1 img {
    width: 100%;
    height: auto;
    display: block;
}

video {
    width: 100%;
    height: auto;
    display: block;
}

.project-show-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 12px auto;
    padding: 0 12px;
    position: relative;
    overflow: hidden;
}

.project-show-2 img {
    width: 100%;
    height: auto;
    display: block;
}

.project-show-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 12px auto;
    padding: 0 12px;
    position: relative;
    overflow: hidden;
}

.project-show-3 img {
    width: 100%;
    height: auto;
    display: block;
}









/* for footer */

footer {
    padding: 0px 12px 12px 12px;
}

footer .textbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

footer .textbox a {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    color: #000000;
    line-height: 120%;
    text-decoration: none;
}

footer .textbox a:link {
    color: rgb(0, 0, 0);
}

footer .textbox a:visited {
    color: black;
}

footer .textbox a:hover {
    color: #adadad;
    cursor: url('orange-cursor.png'), auto;
}

footer .textbox a:active {
    color: #FF6B00;
}




footer .textbox-right {
    text-align: right;
    margin: 0 auto;
}

footer .textbox-right a {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    color: #000000;
    line-height: 120%;
    text-decoration: none;
}

footer .textbox-right a:link {
    color: rgb(0, 0, 0);
}

footer .textbox-right a:visited {
    color: black;
}

footer .textbox-right a:hover {
    color: #adadad;
    cursor: url('orange-cursor.png'), auto;
}

footer .textbox-right a:active {
    color: #FF6B00;
}







/* this is for phone responsive */

@media only screen and (max-width: 430px) {

    header {
        padding: 8px 8px 80px 8px;
    }

    nav {
        font-size: 1rem;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
        margin: 8px auto;
        padding: 0 8px;
    }

    .text {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: -0.02rem;
        padding: 11px 8px 80px 8px;
        text-align: justify;
    }
    
    .text h1 {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: -0.02rem;
        color: black;
        line-height: 120%;
    }
    
    .text h2 {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: -0.02rem;
        color: #FF6B00;
        line-height: 120%;
    }
    
    .text p {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: -0.02rem;
        color: #5F6368;
        line-height: 120%;
    }

    .project-show-1 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
        margin: 8px;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .project-show-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 8px;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .project-show-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 8px;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    footer {
        padding: 0px 8px 8px 8px;
    }
    
    footer .textbox a {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: -0.02rem;
        color: #000000;
        line-height: 120%;
        text-decoration: none;
    }
    
}