@import url('https://fonts.googleapis.com/css2?family=Francois+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

:root {
    --blue: #3898ec;
    --bluel: #4797de;
    --dblue: #146ebc;
    --yel1: #f0be3a;
    --yel2: #ffd700;
}

body {
    font-family: 'Francois One', sans-serif;
    text-align: center;
    margin: 0;

}

a, a:visited, a:hover, a:active {
    color: inherit;
}

.menu-bar {
    /* display: none; */
    width: 100%;
    /* height: 30px; */
    /* background-color: var(--yel1); */
    background-color: #fff;
    /* box-shadow: 1px 1px 3px #333; */
    padding: 8px;
}

input[type='text'] {
    background-color: white;
    padding: 3rem 1rem;
    font-size: larger;
    /* transform: rotate(-2deg); */
    border: 4px solid #555;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

input[type='text']:focus {
    transform: rotate(0deg);
    border: 4px solid var(--blue);
}

h2 {
    line-height: 1.4 !important;
}


.tcc-btn {
    background-color: var(--blue);
    color: #FFF;
    padding: 1rem 6rem;
    font-size: larger;
    height: initial;
    /* transform: rotate(-2deg); */
    user-select: none;
}

.tcc-btn:hover {
    background-color: var(--blue);
    box-shadow: 1px 1px 3px #777;
    transform: rotate(0deg);
    /* color: var(--yel1); */
}

.bg-full {
    width: 100%;
    min-height: 100vh;
    /* padding-top: 5vw; */
    /* padding-bottom: 5vw; */
    /* scroll-snap-align: start; */
}

.bg-image {
    background-image: url('/img/tcc-background.png');
    /* background-size: 60%; */
}

.container {
    /* border: 1px dashed lightcoral; */
}

.column {
    /* border: 1px dashed #eee; */
}

.row {
    /* gap: 10px; */
}

.txt-blue {
    color: var(--blue);
    /* color: #fff; */
    text-align: center;
    font-size: clamp(32px, 6vw, 70px) !important;
}

.txt-blue h1 {
    font-size: clamp(32px, 6vw, 70px) !important;
}

.sub-txt h2 {
    font-size: clamp(28px, 3vw, 36px) !important;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
}

.title {
    color: var(--blue);
    /* text-align: left; */
    font-size: clamp(32px, 6vw, 70px);
    margin-top: 2vh;
}

.text {
    color: #555;
    /* font-family: 'Lato'; */
    font-family: 'Roboto';
    line-height: 1.4 !important;
    /* font-family: 'Exo'; */
}

.tcc-logo {
    background-color: var(--yel2);
    color: #333;
    padding: 0px 8px;
    /* transform: rotate(-2deg); */
    display: inline-block;
    box-shadow: 1px 1px 1px #777;
    font-family: 'Francois One';
    border-radius: 2px;
}

.tilt2 {
    transform: rotate(-2deg);
}

.flex-cc {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bg-pop {
    background-color: var(--yel2);
}

.h100 {
    min-height: 100%;
}

.mt-4 {
    margin-top: 10px;
}

.mt-8 {
    margin-top: 60px;
}

.my-8 {
    margin-top: 60px;
    margin-bottom: 60px;
}

.pa-2 {
    padding: 2rem;
}

.bg-grad {
    background: rgb(255, 255, 255);
    /* background: linear-gradient(0deg, rgba(175,208,237,1) 0%, rgba(232,245,255,1) 18%, rgba(255,255,255,1) 25%); */
}

.bg-gray {
    background: #eee;
}

.bg-grad-left {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(175, 208, 237, 1) 0%, rgba(232, 245, 255, 1) 18%, rgba(255, 255, 255, 1) 25%);
}

.img-300 img {
    max-width: 300px !important;
}

.mobile {
    display: none !important;
}

.desktop {
    display: inherit !important;
}

/* SLIDER */

.slider {
    position: relative;
    width: 300px;
    height: 600px;
    margin: auto;
    overflow: hidden;
    /* border: 1px dashed #eee; */
}

.slide {
    width: 300px;
    /* height: 400px; */
    /* background: white; */
    position: absolute;
    transition: 0.6s ease;
    transform: translate(0, -100%);
}

.slide.active {
    transform: translate(0, 25%);
}

.slide.active~.slide {
    transform: translate(0, 200%);
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: var(--yel2);
    margin: 15% auto;
    /* 15% from the top and centered */
    margin-top: 40vh;
    padding: 20px;
    border: 4px solid #111;
    transform: rotate(-2deg);
    width: 80%;
    /* Could be more or less, depending on screen size */
    font-size: 4vw;
    color: #111;
    animation-name: spin;
    animation-duration: 800ms;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}

.modal-content p {
    margin: 0;
    padding: 10px 0;
}

/* The Close Button */
.close {
    color: #333;
    float: right;
    font-size: 6vw;
    font-weight: bold;
    line-height: 0;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes spin {
    from {
        transform: rotate(0deg) scale(0.1);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

/* ************************* */
.input-error {
    border: 4px solid crimson !important;
    animation: tilt-shaking 0.1s linear 0.5s 3;
}

input+label {
    color: crimson;
    margin-top: -12px;
    font-weight: 400;
    visibility: hidden;
}

.input-error+label {
    visibility: visible;
}

@keyframes tilt-shaking {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1deg);
    }

    50% {
        transform: rotate(0eg);
    }

    75% {
        transform: rotate(-1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.square {
    opacity: 0;
    transform: scale(0.1);
    max-width: 300px;
}

.square img {
    height: 280px;
    object-fit: scale-down;
}

.square-transition {
    opacity: 1;
    transform: scale(1);

}


@media (prefers-reduced-motion: no-preference) {

    .square-wrapper div:nth-child(1) {
        transition: opacity 0.5s ease-in 0.5s, transform 0.5s ease-in 0.5s;
    }

    .square-wrapper div:nth-child(2) {
        transition: opacity 0.5s ease-in 1.5s, transform 0.5s ease-in 1.5s;
    }

    .square-wrapper div:nth-child(3) {
        transition: opacity 0.5s ease-in 2.5s, transform 0.5s ease-in 2.5s;
    }

}

/* ***************************** */

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

    .mobile {
        display: inherit !important;
    }

    .mobile-mt4 {
        margin-top: 4rem !important;
    }

    .desktop {
        display: none !important;
    }

    .title {
        /* font-size: 40px; */
    }

    .text h2 {
        font-size: 3rem;
    }

    .bg-full {
        height: inherit;
    }

    .bg-image {
        /* background-size: auto; */
    }

    .column.column-33, .column.column-67 {
        max-width: initial !important;
    }

    .mt-8 {
        margin-top: 30px;
    }

    .button {
        margin-top: 20px;
    }

    .font-scale {
        font-size: smaller;
    }

    #cards {
        margin: 40px 0;
    }
}