html, body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
    background-color: #FFFAF5;
    color: #777;

    font-family: "Bad Script", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
}

html { overflow-x: hidden; }

/* W3.CSS 5.02 March 31 2025 by Jan Egil and Borge Refsnes */
html { box-sizing: border-box; }

*, *:before, *:after { box-sizing: inherit; }

/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body { margin: 0; }

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; }
summary { display: list-item; }
audio, canvas, progress, video { display: inline-block; }

progress { vertical-align: baseline; }

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden], template { display:none; }

a { background-color: transparent; }
a:active, a:hover { outline-width: 0; }

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
b, strong { font-weight: bolder; }
dfn { font-style: italic; }

mark {
    background: #ff0;
    color: #000;
}

small { font-size: 80%; }

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

figure { margin: 1em 40px; }

img { border-style: none; }

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

button, input, select, textarea, optgroup {
    font: inherit;
    margin: 0;
}
optgroup { font-weight: bold; }

button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type=button], [type=reset], [type=submit] { -webkit-appearance: button; }
button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring { outline: 1px dotted ButtonText; }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em;
}
legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

textarea { overflow: auto; }

[type=checkbox], [type=radio] { padding: 0; }

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { height: auto; }

[type=search]{
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type=search]::-webkit-search-decoration { -webkit-appearance: none; }

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Parallax Effect */
#home-container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    opacity: 0.9;

    background-image: url('./bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);

    white-space: nowrap;
}

#home-title {
    background-color: #000 !important;
    color: #fff !important;
    
    padding: 12px 24px !important;
    text-align: center !important;
    font-size: 24px !important;
    animation: opac 0.8s;
    letter-spacing: 4px;
    
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home-logo {
    width: clamp(250px, 70vw, 550px);
    height: auto;
    display: block;
    margin: 0 auto;
    
    padding: 12px 24px;
    animation: opac 0.8s;
}

section {
    padding: 64px;
    text-align: justify;
    background-color: #1D58E0;
    color: #DDD;
}

section h3 {
    text-align: center;
}

section table td:first-child {
    padding-right: 30px;
}

#plx2 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;   

    background-image: url("bg2.jpeg");

    min-height: 500px;
}

@keyframes opac {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
    #home-container, #plx-2 {
        background-attachment: scroll;
        min-height: 400px;
    }

    #home-logo img {
        width: 70vw;
        max-width: 250px;
    }
}

/* Comment section */
#carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#username-1, #username-2 {
    font-weight: bold;
}


#username-1, #username-2, #content-1, #content-2 {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #F3972F;
}

#stars-1 span, #stars-2 span {
    margin: 2px;
}

.comment-wrapper {
    background-color: white;
    padding-top: 5px;
    border-radius: 50px;
    width: 500px;
    height: 170px;
    margin: 20px;
}

#comment-1, #comment-2 {
    width: 80%;
    height: 80%;
    margin: 0 auto;
}

.checked {
    color: #F3972F;
}

#carousel > div {
    flex: 1 1 40%;
}

@media (max-width: 768px) {
    section {
        padding: 20px;
    }

    #carousel {
        flex-direction: column;
        align-items: center;
    }

    #carousel > div {
        width: 90%;
        flex: none;
    }
}

footer {
    width: 100%;
    height: 150px;
    background-color: #F3972F;
    color: #DDD;
    margin: 0 auto;
    text-align: center;
}

footer h3 {
    width: 100%;
    height: 150px;

    line-height: 150px;

    padding: 0;
    margin: 0 auto;
}