@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200;400;600&display=swap');

:root {
    --sm-blue-color: #2ca7df;
    --sm-near-black-color: #0c0e14;
    --sm-near-white-color: #e8e8e8;
}

a, p, span {
    color: var(--sm-near-white-color);
}

html {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    /* font-family: 'Roboto', sans-serif; */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    line-height: 1.1;
    background: var(--sm-near-black-color);
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/img/body-background.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 0 -25vh;
    /* opacity: 0.02; */
    opacity: 0.05;
    z-index: -10;
}

h1 {
    width: 100%;
    margin: 6vh 0;
    font-size: 2em;
    line-height: 1em;
    text-align: center;
    text-transform: uppercase;
    color: var(--sm-blue-color);
}

input, textarea, select {
    width: 100%;
    line-height: 2;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 0.75em;
    padding-left: 0.5em;
    background: var(--sm-near-white-color);
    font-family: inherit;
    font-size: inherit;
    transition: box-shadow 0.15s, background 0.1s, color 0.15s;
}

input:focus, textarea:focus, input[type=submit]:hover, input[type=button]:hover, select:focus {
    outline: none;
    box-shadow: 0px 0px 0px 2px var(--sm-blue-color);
}

input, select {
    padding-top: 0.15em !important;
}

textarea {
    height: 100px;
    min-height: 35px;
    max-height: 300px;
    line-height: 1.4;
    padding-top: 0.4em;
    resize: vertical;
}

input[type=submit], input[type=button] { 
    width: fit-content;
    float: right;
    padding: 0 0.75em;
    margin-left: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
}

input[type=submit]:active, input[type=button]:active { 
    background: var(--sm-blue-color);
    color: var(--sm-near-white-color);
}

.hidden:not(tbody) {
    display: none !important;
}

.hidden-list {
    /* height: initial;
    overflow: initial; */
    opacity: 0;
    transform: translateY(-20px) !important;
    pointer-events: none !important;
}

/* ----- A LINK UNDERLINE EFFECT START ----- */
.link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.link:after {
    display: block;
    content: "";
    border-bottom: 2px solid var(--sm-blue-color);
    transform: scaleX(0);
    transition: transform 0.15s;
}

.link:hover:after {
    transform: scaleX(1);
}
/* ----- A LINK UNDERLINE EFFECT END ----- */

/* ----- BLUE BLOCKS IN BACKGROUND START ----- */
.block {
    position: fixed;
    width: 32vw;
    height: 200vh;
    top: -50vh;
    z-index: -1;
    opacity: 0.8;
    /* background: var(--sm-blue-color); */
    background: var(--sm-near-white-color);
    animation: block 0.3s ease-in;
    transition: opacity 0.3s;
}

@keyframes block {
    from { opacity: 0; }
    to { opacity: 0.8; }
  }

.block-1 {
    left: 100vw;
    transform: rotate(15deg);
}

.block-2 {
    left: -30vw;
    transform: rotate(-5deg);
}

.block-3 {
    left: 97vw;
    transform: rotate(20deg);
}

.block-4 {
    left: -36vw;
    transform: rotate(-13deg);
}

.block-5 {
    left: -30vw;
    transform: rotate(-6deg);
}
/* ----- BLUE BLOCKS IN BACKGROUND END ----- */

.separator {
    display: flex;
    width: 75%;
    margin: 2.5em 0 0.5em 0;
    /* border-top: 3px solid #2ca7df; */
}

.separator.long {
    width: 100%;
}

.separator h1 {
    width: fit-content;
    /* padding: 0 3%; */
    padding: 0 0.75em;
    margin: 0 auto;
    white-space: nowrap;
    transform: translateY(-50%);
    /* background: var(--sm-near-black-color); */
}

.separator div {
    width: 100%;
    border-top: 3px solid #2ca7df;

}

/* .separator span {
    position: relative;
    margin-top: -11px;
    display: inline-block;
    padding: 0 30px 12px 30px;
    text-transform: uppercase;
    vertical-align: top;
    background: #0c0e14;
} */

#main {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

@media only screen and (max-width: 860px) {
    #logo img {
        max-width: 380px !important;
        margin-bottom: 1em !important;
    }

    h1 {
        font-size: 2em;
    }

    .block {
        opacity: 0 !important;
        animation: none;
    }
}

@media only screen and (max-width: 600px) {      

}

@media only screen and (max-width: 400px) {
    #main {
        /* width: 84%; */
    }
    .separator {
        margin: 2em 0 0.5em 0;
    }
}
