html {
    height: 100%;
}

body {
    font-family: helvetica, arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 16px;
    background: rgb(19,0,36);
    background: linear-gradient(90deg, rgba(19,0,36,1) 0%, rgba(27,0,64,1) 31%, rgba(81,37,119,1) 100%);
}

a, a:active {
    color: #fff;
    cursor: pointer;
}

a:hover {
    color: #EFDCF9;
}

h1 {
    font-size: 70px;
    color: white;
    margin-bottom: 20px;
    margin-top: 50px;
    text-align: center;
    font-family: "Anton", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.benefits-container h1 {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 50px;
}

input {
    max-width: 500px;
    min-width: 200px;
    width: 80%;
    margin-right: 15px;
    padding: 12px 22px;
    background-color: #fff;
    border-radius: 20px;
    border: #784f8b 1px solid;
    margin-top: 20px;
    color: #323E42;
    outline: none;
}

input:focus {
    outline: none;
    border-color: rgba(81,37,119,1);
}

input, button, .button {
    padding: 12px 22px;
    border-radius: 20px;
    margin-top: 20px;
}

.buttons {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

button, .button {
    background-color: rgb(81,37,119,1);
    border: #784f8b 1px solid;
    color: #fff;
    cursor: pointer;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 800;
    font-style: normal;
}

button:hover, .button:hover {
    background-color: #fff;
    color: #323E42;
}

.button {
    display: inline;
    text-decoration: none;
    font-size: 14px;
}

.delete-button {
    font-size: 11px;
    padding: 3px;
    margin-left: 10px;
    background-color: #ff4c4c;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.delete-button:hover {
    background-color: #ff1a1a;
}

.back-button {
    width: 140px;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.benefits-container {
    padding-left: 10%;
    padding-right: 10%;
}

#urlInput {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 16px;
}

#output {
    white-space: pre-wrap;
}

#downloadJson {
    display: none;
    font-size: 16px;
    margin-top: 30px;
}

#scrapeButton {
    width: 140px;
    font-size: 16px;
    margin-right: 10px;
    margin-top: 30px;
}

#loadingMessage {
    text-align: center;
    margin-top: 15px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.info-link {
    text-decoration: none;
    color: inherit;
    font-size: 1.2em;
    margin-left: 5px;
    vertical-align: super;
}

.info-link:hover,
.info-link:focus {
    text-decoration: underline;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

ul {
    list-style-type: disc;
    padding-left: 40px;
    padding-top: 10px;
    margin-top: 0;
    line-height: 1.4rem;
}

ul li {
    word-wrap: break-word;
    white-space: normal;
    padding: 5px 0;
}

h2 {
    margin-top: 10px;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 600;
}

#tabs {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    font-size: 14px;
}

.tablink {
    background-color: #512577;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: inline-block;
    border-radius: 20px 20px 0 0;
    font-size: 14px;
    border: #784f8b 1px solid;
    text-align: center;
    width: 120px;
    flex: 1;
}

.tablink:hover {
    background-color: #fff;
    color: #323E42;
    border: rgb(81,37,119,1) 1px solid;
    border-radius: 20px 20px 0 0;
}

.tabcontent {
    display: none;
    padding: 20px;
    border-top: none;
    border-radius: 0;
    margin-bottom: 20px;
}

.tabcontent.active {
    display: block;
}

.tablink.active {
    background-color: #fff;
    color: #323E42;
    border: rgb(81,37,119,1) 1px solid;
}

#tabContentWrapper {
    border: rgb(81,37,119,1) 1px solid;
    border-radius: 0;
    margin-top: -1px;
    flex: 1;
}

footer {
    font-size: 11px;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: auto;
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    #urlInput {
        width: 75%;
    }
    .tablink {
        font-size: 12px;
        padding: 7px 12px;
        max-width: 100px;
    }

    input {
        width: 90%;
    }

}

@media (max-width: 499px) {
    body {
        font-size: 12px;
    }
    .tablink {
        max-width: 55px;
        font-size: 10px;
    }
}

.download-link {
    color: #fff;
    cursor: pointer;
}

.download-link:hover {
    color: #EFDCF9;
}

.download-links {
    margin-left: 10px;
}

h2 {
    display: inline-block;
    margin-top: 10px;
}

ul {
    list-style-type: disc;
    padding-left: 40px;
    padding-top: 0;
    margin-top: 0;
    line-height: 1.4rem;
}

#imageGallery img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    margin: 5px;
    display: inline-block;
}

.zoom-button {
    font-size: 18px;
    padding: 7px;
    margin-top: -20px;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .zoom-button {
        margin-top: -5px;
    }
}

.button.small-button {
    font-size: 12px;
    padding: 5px 10px;
}

.undo-button {
    font-size: 12px;
    padding: 5px 10px;
    background-color: #ffa500;
    border: 1px white solid;
    color: #fff;
    cursor: pointer;
    border-radius: 12px;
}

.undo-button:hover {
    background-color: rgb(19,0,36); 
    color: #fff;
}
