@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*html {
    background-size: 2vmax 2vmax;
    background-image: radial-gradient(circle, #c4c4c4 1px, rgba(0, 0, 0, 0) 1px);
}*/

body {
    padding-top: 20px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto !important;
}

h1 {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    margin: 0;
    font-weight: 500;
    color: #00103f;
}

h2.home {
    text-align: center;
    font-family: 'Inter',sans-serif;
    margin-top: 4px;
    margin-bottom: 40px;
    font-weight: 400;
    color: #5c657f;
    font-size:20px;
}

h1.home {
    margin-top: 8px;
}

#links a {
    position: relative;
    top: 8px;
    width: 28px;
}

a:link {
    text-decoration: none !important;
}

.button {
    background: radial-gradient(153.36% 100% at 50% 0%, #4a526e 40.68%, #171f37 100%);
    border-radius: 40px;
    margin-top: 16px;
    margin-left: -4px;
    bottom: 24px;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 7px;
    padding-left: 32px;
    padding-right: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: lowercase;
    color: white;
    letter-spacing: 0.07em;
    display: inline-block;
    font-variant: small-caps;
}

.button:active {
    transform: scale(0.98)
}

.card {
	padding: 1em 1.5em;
	border-radius: 8px;
    background: white;
    margin: 32px auto;
   -moz-box-shadow:    inset 0 0 4px #000000;
   -webkit-box-shadow: inset 0 0 4px #000000;
   box-shadow:         inset 0 0 4px #0000002b;
   overflow: auto;
   background: #fbfbfb;
   position: relative;
}

.card h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
    color: #001144;  
}

.card p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #5c657f;
    margin: 0px;
    line-height: 150%;
}

.home.card img {
    width: 100%;
    margin-top: 36px;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    border-radius: 4px;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    color: #5b627e;
    font-variant: small-caps;
}

.header-tag {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    border-radius: 4px;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    color: #5a6278;
    text-align: center;
    font-variant: small-caps;
}

.content.card {
    /*padding: 1.5em 2em;*/
    background: none;
    box-shadow: none;
    margin-top:20px;
}

.content.card p {
    line-height: 160%;
    color: #181c29;
    font-size:18px;
}

.content.card img {
    width: 100%;
    height: auto;
    margin: 8px 0px;
}

#caption {
    color:#00103f;
    margin-top:40px;
    font-weight:500;
}

#back {
    width: 60px;
    height: 60px;
    position: fixed;
    border-radius: 60px;
    top: 24px;
    left: 40px;
    background: radial-gradient(153.36% 100% at 50% 0%, #4a526e 40.68%, #171f37 100%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
    font-size: 60px;
    font-weight: 700;
    color: white;
    line-height: 48px;
    padding-left: 18px;
    z-index: 10;
}

#back:active {
    transform: scale(0.98);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.32);
}


@media (min-width: 768px) {
    .home.card {
        display: flex;
        justify-content: space-between;
    }

    .home.card img {
        width: 40%;
        max-width: 320px;
        height: 100%;
        margin-top: 0px;
        margin-left: 40px;
        align-self: center;
    }
}

@media (min-width: 992px) {
    html {
        background-size: 1.5vmax 1.5vmax;
    }

    body {
        width: 85%;
    }

    .home.card img {
        margin-left: 80px;
    }
}

@media (min-width: 1200px) {
    html {
        background-size: 1.25vmax 1.25vmax;
    }

    .button {
        margin-top: 20px;
    }
}

@media (min-width: 1400px) {

    html {
        background-size: 1vmax 1vmax;
    }
    
}
