
:root {
    --backgroundcolor: rgb(202,202,204);
    --fontcolor: #353a3e;
}

@font-face {
    font-family: "MenloRegular";
    src: url("fonts/Menlo/Menlo-Regular.ttf");
}

@font-face {
    font-family: "ManropeExtraLight";
    src: url("fonts/Manrope/Manrope-ExtraLight.ttf");
}

@font-face {
    font-family: "ManropeLight";
    src: url("fonts/Manrope/Manrope-Light.ttf");
}

@font-face {
    font-family: "ManropeMedium";
    src: url("fonts/Manrope/Manrope-Medium.ttf");
}

html, body {
    font-family: ManropeLight, arial, sans-serif !important;
    /*font-family: "Open Sans", sans-serif !important;*/
    height: 100% !important;
    width: 100% !important;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: var(--backgroundcolor) !important;

}

html {
    scroll-behavior: smooth;
}

html, body, ul, li {
    margin: 0;
    padding: 0;
}

.f-medium {
    font-family: ManropeMedium, arial, sans-serif !important;
}

#background {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
}

.wrapper {
    overflow-x: hidden;
    overflow-y: auto;
    height: calc(100% - 95px);
    position: relative;
}

.wrapper div.container {
    max-width: 1100px;
    text-align: center;
}

#logo {
    max-width: 200px;
    position: absolute;
    left: calc(50% - 100px);
    top: 50px;
}

.lazy {
    transition: ease-in 500ms;
    opacity: 0;
}

.c-card {
    background: transparent;
    color: var(--fontcolor);
    position: fixed;
    left: 0;
    width: 100%;
    top: 280px;
    height: calc(100% - 280px);
    overflow:  auto;
    display: none;
}

.c-content {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
}

.c-container {
    margin-top: 25px;
    text-align: left;
    height: 100%;
    padding: 20px 20px 10px;

    border: 3px solid;
    box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.c-container:hover {
    color: red;
}

.c-container.back-grade-1 {
    background-color: rgba(255, 255, 255, 0.1);
}

.c-container.back-grade-2 {
    background-color: rgba(255, 255, 255, 0.18);
}

.c-container.back-grade-3 {
    background-color: rgba(255, 255, 255, 0.25);
}

.c-container.back-grade-4 {
    background-color: rgba(255, 255, 255, 0.6);
}

.c-container.back-grade-5 {
    background-color: rgba(255, 255, 255, 0.5);
}

.c-container.back-grade-6 {
    background-color: rgba(255, 255, 255, 0.6);
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

[class*="col-"] {
    margin-bottom: 30px;
}

.primary-btn {
    font-family: ManropeLight, arial, sans-serif !important;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--fontcolor);
    cursor: pointer;
    border: 3px solid;
    padding: 0.25em 0.5em;
    box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    background-color: transparent;
}

.primary-btn:active {
    box-shadow: 0px 0px 0px 0px;
    top: 5px;
    left: 5px;
}

.label-head-lg {
    font-size: 22px;
}

.contact-form input, .contact-form textarea {
    background-color: rgba(255,255,255,0.3);
    transition: ease-in 300ms;
    border-radius: 0;
    font-family: ManropeLight, arial, sans-serif !important;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
    outline: none;
    border-color: var(--fontcolor);
    box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
}

.form-email {
    display: inline !important;
    width: calc(100% - 110px) !important;
}

button.send {
    margin-left: 9px;
}

.secondary-btn {
    --b: 3px;
    --s: .45em;
    --color: #373B44;

    padding: calc(.3em + var(--s)) calc(.6em + var(--s));
    color: var(--color);
    --_p: var(--s);
    background:
            conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0)
            var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    outline-offset: .6em;
    font-size: 16px;

    border: 0;

    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.secondary-btn:hover,
.secondary-btn:focus-visible{
    --_p: 0px;
    outline-color: var(--color);
    outline-offset: .05em;
}

.secondary-btn:active {
    background: var(--color);
    color: #fff;
}

input.fill, textarea.fill {
    border: 1px solid red !important;
}

textarea {
    resize: none;
}

.toast {
    display: none;
    position: fixed;
    width: 300px;
    bottom: 50px;
    margin-left: calc(50% - 150px);
    color: green;
    text-align: center;
    padding: 10px;
    background-color: #fff !important;
    outline: none;
    border-color: green;
    border: 3px solid;
    box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
    background-color: rgba(255,255,255,0.6);
}

footer {
    margin-top: 0;
    margin-bottom: 0;
    color: black;
    position: relative;
    background-color: rgba(255,255,255,0.7);
    padding: 8px;
}

@media (min-width: 768px) {
    .primary-btn {
        padding: 0.25em 0.75em;
    }
}

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

    #logo {
        top: 10px;
    }

    .c-card {
        top: 200px;
        height: calc(100% - 200px);;
    }

    .label-head {
        font-size: 15px;
    }

    .label-head-lg {
        font-size: 19px;
    }

    .c-container {
        padding: 7px;
        margin-top: 15px;
    }

    .c-container.back-grade-2 {
        background-color: rgba(255, 255, 255, 0.25);
    }

    .c-container.back-grade-3 {
        background-color: rgba(255, 255, 255, 0.4);
    }

    .p {
        font-size: 12px;
    }

    .contact-form input, .contact-form textarea {
        background-color: rgba(255,255,255,0.6);
    }

}