:root {
    --base-color: #000;
    --btn-mode-color: #000;
    --btn-mode-txt-color: grey;
    --contact-h1-color: #262626;
    --input-background: #101010;
    --input-txt-color: #cacaca;
    --input-error-background: #130303;
    --send-btn-background: #264159;
    --send-btn-txt-color: #000;

}

.lightmode {
    --base-color: #f9f9f9;
    --btn-mode-color: #f9f9f9;
    --btn-mode-txt-color: grey;
    --contact-h1-color: #d5d5d5;
    --input-background: #f0f0f0;
    --input-txt-color: #101010;
    --input-error-background: #f0dddd;
    --send-btn-background: #6d89a2;
    --send-btn-txt-color: #FFF;
}

@font-face {
    font-family: "Audiowide";
    src: url('/fonts/Audiowide-Regular.ttf');
}
@font-face {
    font-family: "Corbel";
    src: url(/fonts/CORBEL.TTF);
}


body {
    background: var(--base-color);
    transition: 0.8s ease;
}
#btn-mode {
    position: absolute;
    right: 12px;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--btn-mode-color);
    color: var(--btn-mode-txt-color);
    border: 1px solid grey;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    text-transform: uppercase;
}
#btn-mode:focus-visible, #btn-mode:focus {
    outline: none;
    box-shadow: none;
}

svg {
    /*width: 382px;*/
    width: 600px;
    height: 380px;
}
div.contact {
    display: block;
    width: 400px;
    margin: auto; 
}
.contact > h1 {
    /*color: #70ad47;*/
    color: var(--contact-h1-color);
    text-align: center;
    font-family: "Corbel";
    margin: 0.2rem;
    font-size: 3rem;
    letter-spacing: 0.4rem;
}
div.input-group {
    margin: 0.8rem 0;
}
label {
    display: block;
    color: grey;
    font-family: "Corbel";
    font-size: 1.2rem;
    transition: 0.5s ease;
}
input, textarea {
    
    width: 100%;
    box-sizing: border-box;
    /*background: #262626;*/
    background: var(--input-background);
    border: 1px solid gray;
    /*border-radius: 0.3rem;*/
    border-radius: 1.5rem;
    /*padding: 0.4rem;*/
    padding: 0.8rem 1.4rem;
    /*color: #cacaca;*/
    color: var(--input-txt-color);
    transition: 0.8s ease;
}
textarea {
    height: 8rem;
    resize: none;
}
input:focus-visible, textarea:focus-visible{
    outline: none;
    box-shadow: none;
    border: 1px solid #cacaca;
}
.input-error {
    background: var(--input-error-background);
    border: 1px dashed #900;
}
.input-error:focus-visible{
    border: 1px dashed red;
}
.send-btn {
    display: block;
    width: 100%;
    /*width: 100%;*/
    background: var(--send-btn-background);
    border: none;
    color:  var(--send-btn-txt-color);
    border-radius: 0.3rem;
    border-radius: 1.5rem;
    font-family: "Corbel";
    font-size: 1.4rem;
    letter-spacing: 0.7rem;
    padding: 0.8rem;
    cursor: pointer;
    transition: 0.5s ease;
    font-weight: bold;
    margin: 2rem auto;
}
.send-btn:hover {
    background: #2e74b5;
}
/*@media only screen and (max-width: 1200px) {
    svg {
        width: 56%;
    }
}*/
@media only screen and (max-width: 600px) {
    svg {
        width: 100%;
        height: 262px;
    }
    div.contact {
        width: 100%;
    }
    textarea {
        height: 5rem;
    }
}