@font-face {
    font-family: 'Allison';
    src: url('../font/Allison/Allison-Regular.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Inter';
    src: url('../font/Inter/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Kaushan Script';
    src: url('../font/Kaushan_Script/KaushanScript-Regular.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Lato';
    font-weight: 400;
    src: url('../font/Lato/Lato-Regular.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Noto Sans';
    src: url('../font/Noto_Sans/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Noto Serif';
    font-style: italic;
    src: url('../font/Noto_Serif/NotoSerif-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Open Sans';
    src: url('../font/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Poppins';
    font-weight: 700;
    src: url('../font/Poppins/Poppins-Bold.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Roboto';
    font-weight: 400;
    src: url('../font/Roboto/Roboto-Regular.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Roboto Slab';
    src: url('../font/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf') format('truetype');
  }
  @font-face {
    font-family: 'Source Code Pro';
    src: url('../font/Source_Code_Pro/SourceCodePro-VariableFont_wght.ttf') format('truetype');
  }

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    position: relative;
}

body {
    height: 100%;
    margin: 0;
    background-color: rgb(231, 231, 231);
    word-wrap: break-word;
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
}

body, a.grid-element {
    color: rgba(0,0,0,.87);
}

body strong {
    font-weight: 600;
}

div.footer {
    text-align: center;    
    margin-top: auto;
    padding: 0px;
    -webkit-box-align: start;
}

div.footer-content {
    display: -webkit-box;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-box-pack: end;
}

div.footer-content-text {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-align: start;
    text-align: left;
    -webkit-box-flex: 1;
    flex: 1;
}

div.footer-content-link {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-align: end;
    text-align: right;
    -webkit-box-flex: 1;
    flex: 1;
}

div.gradient-line {
    width: 100%;
    height: 3px;
    background-image: linear-gradient(103deg, #5e00ac, #00b2e8);
}

div.slide {
    display: table;
    height: 100%;
    width: 100%;
}

div.slide-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

div.slide-content-box {
    width: 70%;
    margin: 0 auto;
    position: relative;
}

div.grid-wrapper {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(min(256px, 100%), 1fr));
    grid-template-rows: auto;
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    margin-right: 4vw;
    margin-left: 4vw;
    margin-top: 10vh;
    margin-bottom: 10vh;
    max-width: 100%;
}

a.grid-element {
    background-image: linear-gradient(180deg, #dddad6, #dddad6);
}

a.grid-element {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);
    transform-style: preserve-3d;
    opacity: 1;
    position: relative;
    display: flex;
    box-shadow: inset 0 0 0 2px #2b333d; 
    border-radius: 18px;
    justify-content: space-around;
    flex-direction: row;
    -webkit-box-flex: 1;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    max-width: 100%;
    text-align: left;
    text-decoration: none;
}

a.grid-element h4 {
    display: block;
}

div.grid-element-content {
    align-self: auto;
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    padding: 35px 25px 30px 25px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    align-items: flex-start;
}

div.grid-element-gradient {
    border-radius: 18px;
    opacity: 0;
    position: absolute;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 0;
    transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
}

div.grid-element-gradient#one {
    background-image: linear-gradient(132deg, #c73f00, #00b2e8);
}

div.grid-element-gradient#two {
    background-image: linear-gradient(132deg, #b30bd4, #00b2e8);
}

div.badge {
    position: absolute;
    right: 4px;
    top: 4px;
    border-radius: 4px; 
    padding: 4px 6px 4px 6px; 
    margin: 8px 8px 8px 8px; 
    color: white;
    font-size: 12px;
    transition: background .5s ease-out;
    -moz-transition: background .5s ease-out;
    -webkit-transition: background .5s ease-out;
    -o-transition: background .5s ease-out;
}

div.badge#one {
    border: 1px solid #c73f00;
    background: transparent; 
}

div.badge#two {
    border: 1px solid #b30bd4;
    background: transparent; 
}


a.grid-element:hover div.badge#one, 
a.grid-element:hover div.badge#two {
    border: 1px solid transparent;
    background: #00b2e8; 
}


a.grid-element:hover div.grid-element-gradient {
    opacity: 1;
}

div.title-wrapper {
    display: inline-block;     
}

@media only screen and (max-width: 600px) {
    h1.title {
        font-size: 300% !important;
    }

    h2.handwritten {
        font-size: 150% !important;
    }
    
    h2.headline {
        font-size: 125% !important;
    }
    
    h3.headline {
        font-size: 125% !important;
    }
    
    h4.headline {
        font-size: 112% !important;
    }
}

h1.title {
    /* background-image: linear-gradient(111deg, #310159, #00b2e8); */
    background-image: linear-gradient(111deg, #5e00ac, #00b2e8);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 600%;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
}

h2.handwritten {
    font-size: 300%;
}

h2.headline {
    font-size: 230%;
}

h3.headline {
    font-size: 200%;
}

h4.headline {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 150%;
}

h4.notice {
    margin-top: 0px;
    margin-bottom: 16px;
}

p.hint {
    margin-top: 0px;
    margin-bottom: 16px;
}

.text-uppercase {
    text-transform: uppercase!important;
}

.title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.handwritten {
    font-family: 'Allison', cursive;
    font-weight: 400;
}

.source-code {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

.source-code-light {
    font-family: 'Source Code Pro', monospace;
    font-weight: 200;
}

.source-code-bold {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
}

.notice {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
}

.hint {
    font-family: 'Roboto Mono', monospace;
    font-weight: 200;
}

h2.handwritten {
    color: rgba(0,0,0,.87);
}

a {
    color: #00b2e8;
}

.text-danger {
    color: #dc3545!important;
}

.alert {
    max-width: 768px;
    width: 100%;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}   

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.btn-primary {
    color: rgba(0,0,0,.87) !important;
    background-color: #00b2e8 !important;
    border-color: #00b2e8 !important;
}

[type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

.btn-xl {
    font-size: 18px;
    padding: 16px 32px;
}

.form-group input.form-control {
    height: auto;
}

.form-group input, .form-group textarea {
    padding: 16px;
}

.form-group textarea.form-control {
    height: 248px;
    min-height: 64px;
    max-width: 1024px;
    resize: vertical;
}

.form-control {
    display: block;
    width: 100%;
    max-width: 768px;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

button, input {
    overflow: visible;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: rgb(18,18,18);
    }
    body, a.grid-element {
        color: rgba(255,255,255,.87);
    }
    h2.handwritten {
        color: rgba(255,255,255,.87);
    }
    a {
        color: #00b2e8;
    }
    img {
        filter: grayscale(30%);
    }
    a.grid-element {
        background-image: linear-gradient(180deg, #222529, #222529);
    }
    .btn-primary {
        color: rgba(255,255,255,.87) !important;
        background-color: #5e00ac !important;
        border-color: #5e00ac !important;
    }
    .scroll-down {
        border-bottom: 2px solid #fff !important;
        border-right: 2px solid #fff !important;
    }
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: block;
    text-align: center;
    font-size: 24px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 13px;
    height: 13px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    z-index: 9;
    left: 50%;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 4s ease-in-out infinite;
    -moz-animation:    fade_move_down 4s ease-in-out infinite;
    animation:         fade_move_down 4s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
    0%   { -webkit-transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { -webkit-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@-moz-keyframes fade_move_down {
    0%   { -moz-transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { -moz-transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
@keyframes fade_move_down {
    0%   { transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { transform:translate(0,10px) rotate(45deg); opacity: 0; }
}
