
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}
html {
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    max-width: 100%; overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    gap: 20px;
}
h1 {
    margin: 0 auto;
    color: #333;
    text-align: center;
    font-size: 280%;
    margin-top: 13%;
    margin-bottom: 40px;
}
h2 {
    text-align: center;
    color: #333;
    font-size: 200%;
    max-width: 60%;
    margin: 0 auto 40px auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h3 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

h3.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

h2.scroll-animate {
    animation: pulse 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
p {
    color: #666;
    font-size: 150%;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}
.top-bar {
    position: fixed;
    width: 100%;
    display: flex;
    left: 0;
    justify-content: space-evenly;
    top: 0;
    background-color: #333;
    overflow: hidden;
    z-index: 100;
}

.top-bar a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.top-bar a:hover {
    text-decoration: underline;
    color: #f2f2f2;
}
.top-bar a.active {
    text-decoration: underline;
    color: #f2f2f2;
}
.flex {
    margin-top: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;

}   
.home-text {
    margin-bottom: 15%;
}
.try-the-website a {
    text-decoration: none;
    color: #444;
    transition: 1s;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    border: none;
    outline: none;
}

.try-the-website a:hover {
    text-decoration: underline;
    color: #444;
    transition: 1s;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    border: none;
    outline: none;
}
.div1 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    padding: 5%;
    margin-right: -1%;
}
.div1 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.div2 {
    flex: 2;
    max-width: 50%;
    padding: 5%;
    margin-left: -1%;
}
.div2 h2 {
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
}
.div2 p {
    margin: 0;
    text-align: center;
}
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 1s;
    font-family: 'Montserrat', sans-serif;
    font-size: 150%;
    scroll-margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    font-size: 1.25rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}



.active, .accordion:hover {
    background-color: #ccc;
}
.try-the-website {
    background-color: #eee;
    color: #444;
    transition: 1s;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    border: none;
    outline: none;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 100%;
}
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    }

.right-col{
    display: flex;
    flex-direction: column;
    width: 70%;
    margin: 0 0;
    align-items: center;
    }
    
.wip-img,
.wip-text {
width: 80%;
}

.wip-text{
font-size: 100%;
}

.project-description {
    text-align: left;
    font-size: 100%;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    max-width: none;
}

@media (max-width: 1000px) {
    .panel .flex {
        flex-direction: column;
        gap: 2%;
    }
    .panel .div1 {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        padding: 2% !important;
    }
    .panel .div2 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}

.list-item {
    text-align: left;
    font-size: 100%;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    color: #444;
}


.first-visit-alert {
    position: fixed;
    top: 70px;
    right: 20px;
    padding: 16px 20px;
    background-color: #808080;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    font-size: 0.9rem;
    z-index: 200;
    max-width: 260px;
    display: none;
}

.first-visit-alert .closebtn {
    margin-left: 12px;
    color: #fff;
    font-weight: bold;
    float: right;
    font-size: 18px;
    line-height: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.first-visit-alert .closebtn:hover {
    color: #000;
}