* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100vh;
    background-image: url("../JonasAbadilla_PortfolioWebsite_May2025/Images/dotgrid.jpg");
    position: relative;
    background-size: cover;
    background-position: bottom;
}

/* navigation bar start*/
nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 4px 30px;
    border: none;
    border-radius: 15px;

    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;

    font-size: 18px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;

    transition: 0.3s;
}

.cta1 {
    border-style: solid;
    border-color: #ff9800;
    border-radius: 10px;

    padding: 0 28px;
    margin-left: 40px;
    margin-right: 40px;
}

#ctav2 {
    margin-top: 19px;
}

.cta1:hover {
    color: #ff9800;
}

nav a:hover {
    transform: scale(1.1);
    color: #ff9800;
}

nav li:first-child {
    margin-right: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.027);
    backdrop-filter: blur(4px);
    box-shadow: -10px 0 10px rgb(0, 0, 0, 0.1);

    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}
.sidebar a {
    margin-left: 10px;
    width: 100%;
}

.menu-button {
    display: none;
}

@media(max-width: 900px) {
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block;
    }
}

@media(max-width: 500px) {
    .sidebar {
        width: 100%;
    }
}
/* navigation bar end */

/* hero section start */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10rem 5%;

    font-size: clamp(32px, 5vw, 64px);
    font-family: Helvetica, Arial, sans-serif;
}

.hero .desktop {
    text-align: center;
}

.hero div h1 {
    color: #1A1C35;
    text-shadow: 10px 0px 4px #ffce8688;
    font-weight: lighter;
}

.hero div span {
    font-style: italic;
    font-weight: bold;

    transition: 0.2s;
}

.hero div span:hover {
    color: #ff9800;
}

.hero .desktop a {
    display: inline-block;

    text-decoration: none;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: black;

    background-color: #ff9800;
    border-radius: 10px;

    margin-top: 5vh;
    padding: 18px 35px 18px;

    transition: 0.3s;
}

.hero .desktop a:hover {
    transform: scale(1.1);
    color: #ffffff;
}


@media (max-width: 1150px) {
    .hero .desktop h1 {
        text-align: left;
    }

    .hero {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
}
/* hero section end */

/* hero start */
.slider-wrapper {
    position: relative;
    max-width: 80%;
    margin: 10vh auto;
    border-radius: 15px;
    padding: 20px;

    background-color: rgba(54, 54, 54, 0.082);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 20px #00000048;
}

.slider {
    display: flex;
    aspect-ratio: 16 / 9;

    overflow-x: auto;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    border-radius: 15px;
}

.slider a {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 100%;

    scroll-snap-align: start;
    object-fit: cover;

    border-radius: 15px;

    transition: 0.2s;
}

.slider a:hover {
    filter: blur(5px);
    transform: scale(1.1);
}

.slider-nav {
    display: flex;
    column-gap: 2rem;
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #ff9800;
    opacity: 0.50;
    transition: ease 250ms;
}

.slider-nav a:hover {
    opacity: 100%;
}

@media (max-width: 1150px) {
    .slider-wrapper {
        max-width: 90%;
    }
}

@media (max-width: 500px) {
    .slider a{
        display: flex;
    }
    .slider-wrapper {
        padding: 10px;
    }
    .slider-nav {
        bottom: 1.3rem;
    }
}
/* hero end */

/* portfolio start */
.container {
    max-width: 80%;
    margin: 10rem auto;
}

.container h1{
    font-style: italic;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    color: #1A1C35;
}

.container .title {
    margin-bottom: 3vh;
    text-align: left;
}
.container .title2 {
    margin-top: 3vh;
    text-align: right;
}

.container .image-container {
    background-color: rgba(87, 87, 87, 0.082);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 20px #00000048;
    columns: 3 250px;
    gap: 20px;

    border-radius: 15px;
    padding: 20px;
}

.container .image-container img {
    margin-bottom: 10px;
    border-radius: 5px;
    width: 100%;

    transition: 0.3s;
}

.container .image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px #1A1C35;
}

@media (max-width: 923px) {
    .container {
        margin: 70px auto;
    }
}
@media (max-width: 623px) {
    .container {
        margin: 50px auto;
    }
}
/* portfolio end */

/* story start */
.bigger {
    max-width: 80%;
    margin: 10rem auto;
} 

.big {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.big h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(32px, 4vw, 64px);
    font-weight: bold;
    color: #1A1C35;

    margin-bottom: 15px;
    transition: 0.2s;
}

.big h1:hover {
    color: #ff9800;
}

.big p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.5;
}

.big1 {
    width: 50%;
}

.big2 {
    width: 100%;
}
.big2 img {
    width: 100%;
    border-radius: 15px;
}

.big3 {
    width: 50%;
}

@media (max-width: 1150px) {
    .bigger {
        max-width: 80%;
        margin: 10rem auto;
    }
    .big {
        flex-direction: column;
    }
    .big1 {
        width: 50%;
        align-self: flex-start;
    }
    .big2 {
        width: 100%;
    }
    .big3 {
        text-align: right;
        width: 50%;
        align-self: flex-end;
    }
    .big h1 {
        font-size: 50px;
    }
}
@media (max-width: 600px) {
    .bigger {
        max-width: 90%;
        margin: 5rem auto;
    }
    .big {
        flex-direction: column;
    }
    .big1 {
        width: 100%;
    }
    .big2 {
        width: 100%;
        margin: 25px 0px;
    }
    .big3 {
        text-align: right;
        width: 100%;
    }
    .big h1 {
        font-size: 50px;
        margin-bottom: 8px;
    }
}

.background-container {
    max-width: 40%;
    margin: 10rem auto;

    display: flex;
    justify-content: center;
}

.about-me {
    width: 100%;
    background-color: rgba(87, 87, 87, 0.082);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 20px #00000048;

    padding: 2rem 2rem;
    border-radius: 15px;
}

.about-me h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(32px, 4vw, 64px);
    text-align: center;

    color: #1A1C35;

    margin-bottom: 20px;

    transition: 0.2s;
}
.about-me h1:hover {
    color: #ff9800;
}

.about-me p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;

    line-height: 1.5;

    text-align: center;
}

@media (max-width: 1150px) {
    .background-container {
        max-width: 80%;
        margin: 20px auto;
    }
    .about-me {
        padding: 3rem;
    }
    .about-me h1 {
        font-size: 50px;
    }
}

@media (max-width: 600px) {
    .background-container {
        width: 90%;
        margin: 4rem auto;
    }
    .about-me {
        padding: 2rem;
    }
    .about-me h1 {
        font-size: 50px;
        margin-bottom: 8px;
        text-align: left;
    }
    .about-me p {
        text-align: left;
    }
}
/* story end */

/* jolo start */
.huge {
    max-width: 80%;
    margin: 10rem auto;

    background-color: rgba(87, 87, 87, 0.082);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 20px #00000048;

    border-radius: 15px;
    padding: 20px;
}

.hugev1 {
    display: flex;
    flex-direction: row;

    gap: 40px;
}

.hugev2 {
    width: 100%;
}
.hugev2 img {
    width: 100%;

    border-radius: 15px;
    display: flex;
    align-items: end;
}
.hugev2 img {
    width: 100%;

    border-radius: 15px;
}

.hugev3 h1 {
    font-family: Helvetica, Arial, sans-serif;
}

.hugev4 h1 {
    font-size: clamp(32px, 4vw, 64px);
}
.hugev4 h2 {
    font-size: 24px;
    font-family: Helvetica, Arial, sans-serif;

    margin-bottom: 15px;
}

.hugev3 {
    width: 100%;

    display: flex;
    align-items: end;
}

.hugev3 p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;

    margin-bottom: 5vh;
    line-height: 1.5;
}
.cta2 {
    display: inline-block;

    text-decoration: none;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: black;

    background-color: #ff9800;
    border-radius: 10px;

    padding: 18px 35px 18px;

    transition: 0.2s;
}

.cta2:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.style{
    width: 100%;
    margin-top: 5vh;
    border-radius: 15px;
}

.style img {
    width: 100%;
    border-radius: 15px;
}

.stylev1 {
    width: 100%;
    margin-top: 5vh;

    columns: 2;
    gap: 20px;
}
.stylev1 img {
    width: 100%;
    margin-bottom: 20px;

    border-radius: 15px;
}


@media (max-width: 1150px) {
    .stylev1 {
        columns: 1;
    }
    .style {
        overflow-x: auto;
        display: flex;
    }
    .style img {
        width: 120%;
    }
}
@media (max-width: 500px) {
    .stylev1 {
        columns: 1;
    }
    .style {
        overflow-x: auto;
        display: flex;
    }
    .style img {
        width: 180%;
    }
}

@media (max-width: 1150px) {
    .hugev1 {
        flex-direction: column;
    }

    .hugev4 h1 {
        font-size: 50px;
    }

    .hugev5 {
        text-align: right;
    }
}

@media (max-width: 500px) {
    .hugev1 {
        gap: 20px;
    }
    .hugev5 {
        text-align: center;
    }
}
/* jolo end */

/* Footer Start */
footer {
    bottom: 0;
    width: 100%;
}

.foot a {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.foot {
    padding-top: 6vh;
    padding-bottom: 6vh;
}

.foot .social {
    text-align: center;
    padding-bottom: 35px;
}

.foot .social a {
    display: inline-block;
    margin-right: 1vw;
    margin-left: 1vw;

    transition: 0.3s;
}

.foot .social a:hover {
    transform: scale(1.2);
}

.foot .info {
    display: flex;
    justify-content: center;
}

.foot .info a{
    text-decoration: none;
    color: #000000;
    font-size: 18px;

    margin-top: 2vh;
    padding: 0px 30px;

    transition: 0.3s;
}

.foot .info a:hover {
    transform: scale(1.2);
    color: #ff9800;
}
/* footer end */