@import url("https://fonts.googleapis.com/css?family=Lato:100,300,400");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
    font-family: 'Fredericka';
    src: url('../fonts/fredericka.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/fredericka.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/fredericka.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/fredericka.woff') format('woff'),
        /* Pretty Modern Browsers */
        url('../fonts/fredericka.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/fredericka.svg#fredericka') format('svg');
    /* Legacy iOS */
}

/* -=== Reset ===- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    --primary-color: #fff;
    --secondary-color: #9f1c1c;
    --light-color: #ccc;
    --dark-color: #333;
    --red-color: #9f1c1c;
    --medium-font-size: 20px;
    --small-font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    background: var(--light-color);
    color: #eee;
}

header {
    position: relative;
    margin: 100px 0 25px 0;
    font-size: 2.3em;
    text-align: center;
    letter-spacing: 7px;
}

#form {
    position: relative;
}

input {
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    padding: 0px 15px 0px 15px;

    background: transparent;
    outline: none;
    color: var(--dark-color);

    border: solid 1px var(--dark-color);
    border-bottom: none;

    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

input:hover {
    background: var(--light-color);
    color: #000;
}

textarea {
    background: transparent;
    outline: none;

    color: var(--dark-color);
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    border: solid 1px var(--secondary-color);
    
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

textarea:hover {
    background: var(--light-color);
    color: #000;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
    color: #bbb5af;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: #bbb5af;
}

input::placeholder,
textarea::placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::placeholder,
textarea::focus:placeholder {
    color: #bbb5af;
}

input::-ms-placeholder,
textarea::-ms-placeholder {
    color: #aca49c;
    font-size: 0.875em;
}

input:focus::-ms-placeholder,
textarea:focus::-ms-placeholder {
    color: #bbb5af;
}

/* on hover placeholder */

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-webkit-input-placeholder,
textarea:hover:focus::-webkit-input-placeholder {
    color: #cbc6c1;
}

input:hover::-moz-placeholder,
textarea:hover::-moz-placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-moz-placeholder,
textarea:hover:focus::-moz-placeholder {
    color: #cbc6c1;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::placeholder,
textarea:hover:focus::placeholder {
    color: #cbc6c1;
}

input:hover::placeholder,
textarea:hover::placeholder {
    color: #e2dedb;
    font-size: 0.875em;
}

input:hover:focus::-ms-placeholder,
textarea:hover::focus:-ms-placeholder {
    color: #cbc6c1;
}

/* -=== Contact ===- */

.contact {
    background-color: var(--primary-color);
}

.contact-text p {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-text h6,
.contact-text .phone,
.contact-text .mail {
    font-size: var(--medium-font-size);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form form label {
    font-size: var(--medium-font-size);
    padding: 10px 0;
}

.contact-form form input,
.contact-form form textarea {
    font-size: var(--medium-font-size);
    padding: 10px;
    resize: none;
    margin: 6px 0;
    border-radius: 12px;
    outline: none;
    border: 2px solid var(--dark-color);
}

.contact-form form input[type="submit"] {
    margin: 16px 0;
    cursor: pointer;
    border: 2px solid var(--dark-color);
    font-size: var(--medium-font-size);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 500;
    transition: 0.4s;
}

.contact-form form input[type="submit"]:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
}

.contact-form label {
    color: var(--secondary-color);
}

a:hover {
    font-weight: 700;
}

article h2 {
    padding: 10px;
}

.footer {
    position: absolute;
    bottom: 0;
    color: var(--dark-color);
}

.wrapper {
    width: 100%;
}

.text-mydark {
    color: var(--dark-color);
}

.text-mylight {
    color: var(--light-color);
}

.text-myred {
    color: var(--red-color);
}

.bg-mydark {
    background-color: var(--dark-color);
}

.bg-mylight {
    background-color: var(--light-color);
}

a.text-mylight:hover {
    color: var(--light-color);
}

a.text-mydark {
    text-shadow: 1px 1px #fff;
}

a.text-mydark:hover {
    color: var(--dark-color);

}

#header-nav li a {
    margin-top: 0.25rem;
    padding: 0 1rem;
    border: none;
    border-radius: 10px 10px;
    background: white;
    opacity: 75%;
    text-align: center;
    font-weight: 700;
}

#header-nav li:first-child a {
    margin-top: 0;
}

#header-nav li a:hover {
    font-weight: 700;
    text-shadow: 2px 2px #fff;
    opacity: 100%;
}

#back-top {
    display: inline-block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: xx-large;
    border: none;
    outline: none;
    background-color: #9f1c1c;
    color: white;
    cursor: pointer;
    padding: 5px 20px;
    border-radius: 5%;
}

#logo {
    height: 100%;
    max-height: 10rem;
}

.contact-form form input[type="submit"] {
    font-size: var(--small-font-size);
}

.anim-box-front {
    background-repeat: no-repeat;
    background-position: center center;
}

.anim-box-front h3 {
    color: var(--light-color);
    text-shadow: 3px 3px var(--dark-color);
}

/* ANIM-BOX */
.anim-box {
    background-color: transparent;
    width: 100%;
    height: 40vh;
    perspective: 1000px;
}

.anim-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.anim-box-front,
.anim-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--light-color);
    border-radius: 10px 10px;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
}

.font-header {
    font-family: 'Nautilus', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
}

#header-text h2 {
    font-weight: 100;
    font-size: 2.8rem;
}

h1 {
    font-size: 0.8em;
    text-decoration: none;
}

.contact svg {
    fill: var(--secondary-color);
}

.contact-maps {
    padding: 25px;
    min-height: 400px;
}

.employee {
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary-color);
    border-radius: 10px 10px;
}

.employee h3 {
    color: var(--secondary-color);
}

.employee:nth-child(odd) {
    flex-direction: row;
}
.employee:nth-child(even) {
    flex-direction: row-reverse;
}

.employee .employee-info {
    padding: 5px;
}

.employee-image {
    position: relative;
    padding: 5px;
}

.employee-image img {
    border-radius: 50% 50%;
}

.employee .img-text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 3px 0px 2px #fff, -3px 0px 2px #fff, 0px 3px 2px #fff, 0px -3px 2px #fff;

}

.footer-contact {
    border: 3px solid var(--secondary-color);
    border-radius: 50% 50%;
    background: #fff;
}

.navbar-nav li a {
    border: 2px solid var(--secondary-color);
    border-radius: 50% 50%;
    min-width: 110px;
    min-height: 110px;
    font-size: large;
}

.navbar-brand .navtext {
    min-height: 110px;
}