/* ======================= Fonts ======================= */
@font-face {
    font-family: Certificate1;
    font-style: normal;
    font-weight: 800;
    src: url(https://res.cloudinary.com/dmvtd4gas/raw/upload/v1599156255/certi%20font/Certificate-Regular_cfnyvw.woff) format('woff'), 
         url(https://res.cloudinary.com/dmvtd4gas/raw/upload/v1599156252/certi%20font/Certificate-Regular_wpyc7z.woff2) format('woff2'), 
         url(https://res.cloudinary.com/dmvtd4gas/raw/upload/v1599156260/certi%20font/Certificate-Regular_r2btne.ttf) format('truetype');
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    src: local('Poppins Regular'), local('Poppins-Regular'), 
         url(https://fonts.gstatic.com/s/poppins/v12/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    src: local('Poppins Regular'), local('Poppins-Regular'), 
         url(https://fonts.gstatic.com/s/poppins/v12/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    src: local('Poppins Regular'), local('Poppins-Regular'), 
         url(https://fonts.gstatic.com/s/poppins/v12/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, 
                   U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================= Loader ======================= */
#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #222 no-repeat center center;
    z-index: 99999;
}

/* ======================= Body ======================= */
body,
html {
    background: #e6f2ff;
}

/* ======================= Title ======================= */
.titl {
    font-size: 35px;
    font-family: Certificate1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 13vh;
}

/* ======================= App Wrapper ======================= */
div#app {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ======================= Search Box ======================= */
div#app .search-wrapper {
    position: relative;
}

div#app .search-wrapper input {
    display: inline-block;                     /* allows transform scaling */
    padding: 4px 12px;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    text-align: center;
    font-family: Helvetica;
    font-size: 16px;                           /* prevents mobile auto-zoom */
    transform: scale(1);                       /* default state */
    transition: transform 0.2s ease, outline 0.2s ease;  /* smooth scaling and outline */
    transform-origin: center center;           /* scale from center */
}

/* Hover zoom effect */
div#app .search-wrapper input:hover {
    transform: scale(1.25);
}

/* Focus outline only; no scale */
div#app .search-wrapper input:focus {
    outline: #66b0ff solid 1px;
}

/* Placeholder styling */
div#app .search-wrapper input::-webkit-input-placeholder {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 100;
    font-family: Poppins, sans-serif;
}

/* ======================= Cards Wrapper ======================= */
div#app .wrapper {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    padding-top: 12px;
}

/* ======================= Cards ======================= */
div#app .card {
    white-space: nowrap;
    box-shadow: rgba(0, 0, 0, 0.217647) 0 1px 6px, rgba(0, 0, 0, 0.217647) 0 1px 4px;
    max-width: 300px;
    min-width: 300px;
    max-height: 475px;
    margin: 15px auto;
    transition: transform 0.15s ease-in-out;
    background: #fff;
    vertical-align: middle;
    text-align: center;
}

div#app .card:hover {
    transform: scale(1.1);
}

/* ======================= Card Links ======================= */
div#app .card a {
    font-family: Poppins, sans-serif;
    white-space: pre-wrap;
    text-decoration: none;
    padding: 3px;
    margin: 0 auto;
    color: #4d4d4d;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    overflow-wrap: break-word;
}

div#app .card a img {
    height: 100px;
}

/* ======================= Spacing ======================= */
div#app.brmedium {
    display: block;
    margin-bottom: 2em;
    font-size: 25%;
}

div#app.brmedium1 {
    display: block;
    margin-bottom: 15em;
    font-size: 25%;
}