/* MAIN STYLESHEET */

/* SET GENERAL TAGS AND RESETS */

:root {
    --clear-color: #ebe2ed;
    --hard-color: #600178;
    --bg-color: #1f002765;
    --bg-clear:#ffffff62;
}

* {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    font-family: "Lato", "Calibri", sans-serif;
}

body {
    position: relative;
    background-color: white;
    min-height: 100vh;
    color: white;
}

a {
    color: inherit; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

input, button {
    all: inherit;
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background-color: white;
}

input {
    color: gray;
}

button {
    color: var(--hard-color);
}


img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
}

/*set text and other standard stylings*/

h1 {
    text-align: center;
    font-size: 4rem;
    color: white;
}


h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight:400;
    text-transform: uppercase;
    letter-spacing: 10px;
}


h4 {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
}

h5 {
    font-size: 1.1rem;
    font-weight: 400;
}

h6 {
    font-size: 0.6rem;
    font-weight: light;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.lower {
    text-transform: none;
}

.links a,
footer a,
footer a p {
    text-decoration: underline;
    transition: 0.2s;
}

.links a:hover,
footer a:hover,
footer a p:hover {
    text-decoration-thickness: 0.15rem;
}

.set_color {
    color: var(--hard-color);
}

.set_white {
    color: white;
}

.set_clear {
    color: var(--clear-color);
}

.normal-letter-spacing {
    letter-spacing: normal;
}

.flex {
    width: 100%;
    display: flex;
    gap: 1rem;
}

.inline-center {
    justify-content: center;
    align-items: center;
}

/*navigation bar*/

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-clearer);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

nav .logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

nav .logo a img {
    max-height: 1.5rem;
}

nav ul {
    display: inline;
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 1rem;
    font-weight: 500;
}

nav ul li:hover {
    text-decoration: underline;
}

/* set page background image */

.background {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-image: url("./imgs/thor-alvis-dWwZBcjw3GE-unsplash-2000w.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
    z-index: -2;
}

.overlay {
    width: 100%;
    background-color: #38004696;
    min-height: 100vh;
}

/*splash*/

.splash {
    width: 100%;
    padding-inline: 1rem;
}

.filler {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100svh;
    gap: 2rem;
}

.splash-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
}

.form-container {
    padding: 1rem;
    background-color: var(--bg-clearer);
    border-radius: 0.5rem;    
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-spacing {
    padding-top: 7rem;
    width: 100%;
    padding-inline: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-spacing .form-container {
    width: 80%;
}

.form-container-non-main {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.splash form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0.5rem;
}

.search_submit {
    background-color: var(--bg-color);
    color: var(--clear-color);
    text-align: center;
    font-weight: bold;
}

.search_submit:hover {    
    background-color: var(--clear-color);
    color: var(--hard-color);
    cursor: pointer;
}

select {
    all: inherit;
    width: 100%;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    min-width: fit-content;
    color: gray;
}

option {
    color: gray;
    font-size: 0.8em;
}


/*main container*/
/*listings and articles*/

main {
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}


/*featured section scroller*/

@keyframes slide {
    from { left:100%; transform: translate(0, 0); }
to { left: -100%; transform: translate(-100%, 0); }
}
@-webkit-keyframes slide {
from { left:100%; transform: translate(0, 0); }
to { left: -100%; transform: translate(-100%, 0); }
}

.scroller-container { 
    width:100%;
    height:120px;
    line-height:120px;
    overflow:hidden;
    position:relative;
}

.scroller {
    position:absolute;
    top:0;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 5rem;
    height:120px;
    font-size:30px;
    animation-name: slide;
    animation-duration: 280s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name: slide;
    -webkit-animation-duration: 280s;
    -webkit-animation-timing-function:linear;
    -webkit-animation-iteration-count: infinite;
}

.scroller:hover {
    animation-play-state: paused;
}

.scroller a {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.scroller a .material-symbols-outlined {
    font-size: 3rem;
    position: relative;
}

.scroller h3 {
    text-wrap: nowrap;
    margin: 0;
    padding: 0;
    line-height: normal;
}

.scroller_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.scroller_text p {
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    line-height: 0.8;
}


/*contact us*/

.contact_us {
    display: flex;
    padding: 0.5rem;
    padding-bottom: 2rem;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.contact_us h2 {
    color: var(--hard-color);
    text-align: center;
    font-weight: 400;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: var(--clear-color);
    color: var(--hard-color);
    margin-top: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {    
    background-color: var(--bg-color);
    color: white;
}

.btn:active {
    background-color: var(--clear-color);
    color: white;
}


/*footer*/

footer {
    position: absolute;
    bottom: 0;
    clear: both;
    width: 100%;
    background-color: var(--bg-clearer);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    font-size: 0.6rem;
}

footer p {
    letter-spacing: 3px;
    padding: 0.5rem 1rem;
    text-align: center;
}

footer a:hover {
    text-decoration: underline;
}




/* articles styling */

.article_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 5rem 0.5rem;
}

.article_container h3 {
    margin: 0;
    margin-bottom: 2rem;
}

article {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

article p {
    text-align: justify;
    font-size: 0.8rem;
    padding: 0.5rem 0;
}

article h4 {
    margin-top: 1.5rem;
}


/* STYLE FOR CONTACT PAGE */


.int_wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.int_wrapper form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.int_wrapper input, .int_wrapper textarea {
    display: block;
    box-sizing: content-box;
    margin-bottom: 1rem;
    width: 100%;
    padding: 0.5rem;
    border-radius: 3px;
    border: solid 1px #ebe2ed;
    font-family: inherit;
    font-size: 0.8rem;
    box-shadow: 0 0 2px #4b005f;
}

.int_wrapper textarea {
    height: 18rem;
}


.int_wrapper p {
    position: relative;
    top: -0.5rem;
    text-align: left;
    font-size: 0.7rem;
}

.int_wrapper input:focus, .int_wrapper textarea:focus {
    outline: none !important;
    border:1px solid #4b005f;

}

#submit_btn {
    box-shadow:none;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    border-radius: 5px;
    padding: 0.5rem 2rem;
}

.form_button_dis {
    background-color: #a3a3a3;
}

.form_button_enb {
    background-color: #e8d5ec;
    cursor: pointer;
}

.form_button_enb:hover {
    background-color: #4b005f;
    color: #ebe2ed;
}

/* for withus page */

.withus {    
    width: 100%;
    padding: 0;
}

.withus-overlay {
    background-color: var(--bg-clearer);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 0.5rem;
    padding-bottom: 3rem;
    color: white;
}

.withus-overlay p {
    font-size: 1.1rem;
}

.withus-overlay li {
    margin: 1rem 0;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.withus .material-symbols-outlined {
    margin-right: 1rem;
}


.btn_wu {
    padding: 0.5rem 1rem;
    background-color: var(--bg-color);
    color: white;
    margin-top: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn_wu:hover {
    background-color: white;
    color: var(--hard-color);
}

.btn_wu:active {
    background-color: var(--hard-color);
    color: white;
}


/* message sent result message notification */

.message_wrapper {
    margin: 1rem auto;
    width: fit-content;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    margin-top: -2rem;
    margin-bottom: 1rem;
    color: white;
}

.message_wrapper p {
    font-size: 0.7rem;
}

.error {
    background-color: rgb(187, 92, 92);
}

.success {
    background-color: rgb(62, 156, 90);
}

