html {
    font-size: 10px;
}

body {
    font-family: math;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}



.container {
    margin: 3.2rem auto;
    padding: 3rem;
    background-color: #ffffff;
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.1);
    border-radius: 0.8rem;
    width: 80%;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 4.48rem;
}

.filters {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #ecf0f1;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

label {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #34495e;
    font-size: 2rem;
}

.filters input[type="text"], input[type="number"],
select {
    padding: 1rem;
    margin-bottom: 2rem;
    width: 20%;
    max-width: 32rem;
    border-radius: 0.8rem;
    border: 0.1rem solid #bdc3c7;
    background-color: #f9f9f9;
    color: #2c3e50;
}

.generate-btn {
    padding: 1.2rem 2.5rem;
    background-color: #ff1361;
    color: white;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    font-size: 2.2rem;
    max-width: 34rem;
    transition: background-color 0.3s ease;
    width: 20rem;
}

.generate-btn:hover {
    background-color: #2980b9;
}

.generate-btn:active {
    background-color: #1c598a;
}

.advanced-options {
    display: none;
    margin: 2rem 0;
    animation: slideDown 0.3s ease-in-out;
    width: 100%;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem;
    justify-content: center;
}

.advanced-options-btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    background-color: #242145;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
    width: 15.5rem;
}

.advanced-options input[type="text"] {
    width: 20%;
}

.result {
    margin-top: 4rem;
    /* 40px */
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    /* 30px */
    justify-content: space-between;
}

.random-object {
    width: calc(22% - 1rem);
    /* 20% - 10px */
    background-color: #ffffff;
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.1);
    /* 6px, 15px */
    border-radius: 1rem;
    /* 10px */
    text-align: center;
    padding: 1.5rem;
    /* 10px */
    transition: transform 0.3s ease;
}

.random-object:hover {
    transform: translateY(-1rem);
    /* -10px */
}

.random-object img {
    width: 100%;
    height: 20rem;
    /* 200px */
    object-fit: cover;
    border-radius: 0.8rem;
    /* 8px */
    margin: 2rem auto;
}

.random-object h3 {
    font-size: 2.4rem;
    /* 12px */
    color: #2c3e50;
    margin-bottom: 1rem;
    /* 10px */
}


.random-object p {
    font-size: 1.5rem;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .random-object {
        width: calc(50% - 3rem);
        /* 50% - 30px */
    }
    .container {
        padding: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .random-object {
        width: 100%;
    }

    .advanced-options input[type="text"], input[type="number"] {
        width: 90%;
    }

    .advanced-options label {
        margin-bottom: 0;
    }

    input[type="text"],
    select {
        width: 90%;

    }
}


/* for animal generator */

.basic-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    width: 100%;
    padding: 2rem;
    align-items: center;
}

/* Info Content */
.info-content {
    padding: 3rem 0;
    margin-top: 5rem;
    transition: all 0.3s ease;
    font-family: math;
}


.info-content section {
    margin-bottom: 2rem;
}

.info-content h2 {
    font-size: 3.6rem;
    color: #242145;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.info-content h3 {
    font-size: 2.8rem;
    color: #242145;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.info-content li {
    font-size: 1.8rem;
    color: #555;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    padding: 1rem 0;
    text-align: justify;
}
.info-content ul {
    padding-left: 2rem;
    list-style-type: disc;
}


p#resultText {
    font-size: 2.2rem;
}

.info-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-content table thead th {
    background-color: #242145;
    color: #ffffff;
    text-align: left;
    padding: 12px;
    font-weight: 600;
}

.info-content table tbody td {
    padding: 12px;
    border-top: 1px solid #ddd;
}

.info-content table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.info-content table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}

@media (max-width: 600px) {
  
    .info-content table tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
    }

    .info-content table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        text-align: left;
        color: #555;
    }
}
.minutes-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    transition: transform 0.3s ease;
}

.minutes-card:hover {
    transform: translateY(-3px);
}

.minutes-card h2 {
    font-size: 25px;
    color: #242145;
    margin-bottom: 20px;
}

.minutes-card h3 {
    font-size: 20px;
    color: #242145;
    margin-bottom: 20px;
}

.minutes-card p {
    font-size: 18px;
    color: #444;
    padding: 10px;
}

@media (min-width: 997px) {
    .minutes-wrapper {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .minutes-card {
        flex: 1 1 calc(33.333% - 20px);
    }
}

.og-image-section {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff;
}
    
.og-image {
    width: 100%;
    max-width: 800px; /* controls max size on desktop */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}
    
.og-image:hover {
    transform: scale(1.02);
}
  