button {
    position: relative;
}

button * {
    z-index: 1;
}

/* Buttons */
button.btn-secondary {
    background: #f7953b;
    color: #072331;
    border: none;
}

button.btn-secondary:hover {
    background: #0d4c6e;
    color: #f7953b;
}
button.btn-primary {
    background: #0d4c6e;
    color: #f7953b;
    border: none;
}

button.btn-primary:hover {
    background: #f7953b;
    color: #0d4c6e;
}

button.btn-primary:hover::after, button.btn-secondary:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    z-index: 0 !important;
}

/* Outline buttons global */
button.btn-outline-darkblue, button.btn-outline-orange {
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    transition: .3s;
    z-index: 1;
    font-family: inherit;
    border-radius: 0;
}

button.btn-outline-darkblue::before, button.btn-outline-orange::before {
    content: '';
    width: 0;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: .5s ease;
    display: block;
    z-index: -1;
}

button.btn-outline-darkblue:hover::before, button.btn-outline-orange:hover::before {
    width: 105%;
}

button.btn-outline-darkblue:hover, button.btn-orange-darkblue:hover {
    color: #fff;
}

/* Outline buttons individual */

button.btn-outline-darkblue {
    border: 1px solid #0d4c6e;
    color: #0d4c6e;
}

button.btn-outline-darkblue::before {
    background: #0d4c6e;
}

button.btn-outline-orange {
    border: 1px solid #f48e05;
    color: #f48e05;
}

button.btn-outline-orange::before {
    background: #f48e05;
}

/* Cta button */

.cta {
    padding: 8px 15px;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #b1dae7;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.cta span {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #0d4c6e;
}

.cta i {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #0d4c6e;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta:hover:before {
    width: 100%;
    background: #b1dae7;
}

.cta:hover i {
    transform: translateX(0);
}

.cta:active {
    transform: scale(0.95);
}

/* Send button */
button.send {
    padding: .5em .8em;
    display: flex;
    align-items: center;
    border: none;
    overflow: hidden;
    transition: all 0.2s;
}

button.send span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

button.send svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

button.send:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

button.send:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

button.send:hover span {
    transform: translateX(5em);
}

button.send:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}

.check {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* On mouse-over, add a grey background color */
.check:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.check .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5.5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


button.expand {
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 70px;
    background: none;
    border: none;
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    transition: .2s;
    font-size: 24px;
}


button.expand:hover {
    color: rgba(255, 255, 255, 0.9);
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: .4s;
    transition: .4s;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch input:checked+.slider {
    background-color: #2196F3;
}

.switch input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

.switch input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.switch .slider.round {
    border-radius: 34px;
}

.switch .slider.round:before {
    border-radius: 50%;
}