
body {
    background-color: #161a19;
    font-family: "Roboto Mono", monospace;
}

.contact-page {
    padding-top: 100px;
    padding-bottom: 120px;
    padding-left: 100px;
    padding-right: 50px;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 80px 0;
        padding-top: 260px;
        padding-left: 20px;
    }
}

.row {
    max-width: 1400px;
}

@media (max-width: 1180px) {
    .col-1 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 1180px) {
    .col-2 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
        margin-left: 8.33333%;
    }
}

@media (max-width: 1000px) {
    .col-1 {
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }
}

@media (max-width: 1000px) {
    .col-2 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .col-1 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .col-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .columns {
        padding: 0 20px;
    }
}

.ct-text {
    margin: 1em;
}


@media (max-width: 768px) {
    .ct-text {
        margin: 0;
    }
}

.title {
    font-weight: 600;
    font-size: 38px;
    line-height: 48px;
    color: #dbb59d;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .title {
        font-size: 26px;
        line-height: 38px;
        margin-bottom: 20px;
    }
}

p {
    font-size: 18px;
    line-height: 30px;
    color: #dbb59d;
}

@media (max-width: 768px) {
    p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    #contact-form {
        margin-top: 40px;
    }
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: normal;
    color: #dbb59d;
}
input, textarea {
    width: 100%;
    /*padding: 0.5rem;*/
    /*margin-top: 0.25rem;*/
    /*border: 1px solid #ccc;*/
    border: 0;
    color: #fff !important;
}
[type="color"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="datetime"]:focus, [type="email"]:focus, [type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, [type="week"]:focus, select:focus, textarea:focus {
    border: 0 !important;
    box-shadow: none;
}

textArea::placeholder {
    color: #dbb59b !important;
    opacity: .4 !important;
}

.txt-privacy {
    position: relative;
    top: -1px;
}

button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #0073e6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background: #005bb5;
}

#response {
    transition: .3s;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    #response {
        width: calc(100% - 40px);
    }
}

#content-response .success {
    background: #dff0d8;
    color: #3c763d;
    padding: 2em;
}

@media (max-width: 768px) {
    #content-response .success {
        padding: 2em 1em;
    }
}

#content-response .error {
    background: #f2dede;
    color: #a94442;
    padding: 2em;
}

@media (max-width: 768px) {
    #content-response .error {
        padding: 2em 1em;
    }
}

#response .close-alert-btn {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0;
    line-height: 0;
    margin: 0;
}

.alert-message .close-alert-btn svg {
    pointer-events: none;
}


.ct-privacy {
    width: calc(100% + .1em);
    margin: 1em .5em;
    margin-bottom: 50px;
    margin-right: 0;
}

@media (max-width: 768px) {
    .ct-privacy {
        margin-left: 0;
        margin-right: 0;
    }
}

.custom-checkbox {
    display: flex !important;
}

.ct-privacy input {
    width: auto;
}

.ct-privacy label {
    margin: 0;
}

.ct-privacy a {
    color: #dbb59d;
    text-decoration: underline;
}

[type="button"], [type="submit"] {
    transition: .3s ease;
    background-color: #dbb59d;
    border-radius: 0;
    color: #161a19;
    margin: 1em .5em;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 18px;
    padding: 13px 20px;
    margin-top: 0;
}

@media (max-width: 768px) {
    [type="button"], [type="submit"] {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

[type="button"]:hover, [type="submit"]:hover {
    background-color: #161a19;
    border-radius: 0;
    color: #dbb59d;
    border: 2px solid #dbb59d;
}

.privacy-link {
    text-decoration: none !important;
    border-bottom: 1px solid #dbb59d;
}

input[type="text"], input[type="email"], textArea {
    font-size: 14px;
}
input[type="text"]:placeholder, input[type="email"]:placeholder, textArea:placeholder {
    font-size: 14px;
}

.nirko-textarea {
    padding-top: 1em !important;
}

.nirko-textarea .input__label--nariko {
    position: static;
}






/* Nasconde visivamente l'input mantenendolo accessibile */
.visually-hidden {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* Wrapper generale */
.custom-checkbox-wrapper {
    margin-top: 1em;
}

/* Label cliccabile */
.custom-checkbox {
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
}

/* Box visivo della checkbox */
.custom-checkbox-box {
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #dbb59d;
    margin-right: 8px;
    display: inline-block;
    background-color: transparent;
    position: relative;
    transition: all 0.2s ease;
}

/* Checkmark */
.custom-checkbox-box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #dbb59d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Stato selezionato */
input[type="checkbox"]:checked + .custom-checkbox .custom-checkbox-box::after {
    opacity: 1;
}

/* Focus visibile */
/*input[type="checkbox"]:focus + .custom-checkbox .custom-checkbox-box {
    box-shadow: 0 0 0 4px rgba(219, 181, 157, 0.2);
    border: solid #dbb59d;
    outline: none;
}*/







/* NARUKO */

.input {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: .5em;
    /*max-width: 400px;*/
    /*width: calc(100% - 2em);*/
    width: 100%;
    vertical-align: top;
}

@media (max-width: 768px) {
    .input {
        margin: 0.5em 0;
    }
}

.input__field {
    position: relative;
    display: block;
    float: right;
    padding: 0.8em;
    width: 60%;
    border: none;
    border-radius: 0;
    background: #f0f0f0;
    color: #aaa;
    font-weight: 400;
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
    outline: none;
}

.input__label {
    display: inline-block;
    float: right;
    padding: 0 1em;
    width: 40%;
    color: #6a7989;
    font-weight: normal;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input__label-content {
    position: relative;
    display: block;
    padding: 1.6em 0;
    width: 100%;
}

.graphic {
    position: absolute;
    top: 0;
    left: 0;
    fill: none;
}

.icon {
    color: #ddd;
    font-size: 150%;
}

/* Individual styles */


/* Nariko */
.input--nariko {
    overflow: hidden;
    padding-top: 3em;
}

.input__field--nariko {
    width: 100%;
    background: transparent !important;
    opacity: 0;
    padding: 0.35em;
    z-index: 100;
    color: #f18292;
}

.input__label--nariko {
    width: 100%;
    bottom: 0;
    position: absolute;
    pointer-events: none;
    text-align: left;
    color: #dbb59d;
    padding: 0 0.5em;
}

.input__label--nariko::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4em;
    top: 100%;
    left: 0;
    background: transparent;
    border-top: 2px solid #dbb59d;
    -webkit-transform: translate3d(0, -3px, 0);
    transform: translate3d(0, -3px, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.input__label-content--nariko {
    padding: 0.5em 0;
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transition: -webkit-transform 0.3s, color 0.3s;
    transition: transform 0.3s, color 0.3s;
    font-size: 20px;
}

.input__field--nariko:focus,
.input--filled .input__field--nariko {
    cursor: text;
    opacity: 1;
    -webkit-transition: opacity 0s 0.3s;
    transition: opacity 0s 0.3s;
}

.input__field--nariko:focus + .input__label--nariko::before,
.input--filled .input__label--nariko::before {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    -webkit-transform: translate3d(0, -3.3em, 0);
    transform: translate3d(0, -3.3em, 0);
}

.input__field--nariko:focus + .input__label--nariko .input__label-content--nariko,
.input--filled .input__label-content--nariko {
    color: #dbb59d;
    -webkit-transform: translate3d(0, -2em, 0) scale3d(0.81, 0.81, 1);
    transform: translate3d(0, -2em, 0) scale3d(0.81, 0.81, 1);
}




/* REPLACE MENU */

main {
    height: auto;
}

nav.menu {
    display: block !important;
}

.menu__button {
    background: transparent;
    border: 0;
}

button {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

button:hover {
    background: transparent;
}