@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Style */
:root {
    --orange-pqp: #FF7500;
    --blue-pqp: #27334B;
}

body {
    background-color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    overflow: hidden;
    color: var(--blue-pqp);
}

a {
    color: var(--blue-pqp);
}

/* Titles */
h1, h2 {
    color: var(--blue-pqp);
    line-height: 1.5;
}
h1 {
    font-size: 1rem;
    font-style: italic;
}
h2 {
    font-weight: 600;
}

p {
    line-height: 1.5;
}

header {
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.10);
    transition: height 1s;
    padding: 0 2rem;
}
header.active {
    height: 200px;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 6.75rem;
    width: 100%;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.header-logo img {
    width: 194px;
    height: auto;
}

.main-iframe {
    height: calc(100vh - 200px - 4rem);
    background-color: #f4f4f4;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.iframe {
    height: 100%;
    display: none;
}

.nav-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.nav-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #D0D0D0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    border-radius: 1.25rem;
    transition: all 1s;
    position: relative;
}
.nav-card_icon {
    background-color: #FFE4CC;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-card:hover,
.nav-card--active {
    border: 1px solid var(--orange-pqp);
    background-color: #FFF2E6;
    cursor: pointer;
}
.nav-card_content p {
    font-size: 0.875rem;
}

.nav-card a:link {
    text-decoration: none;
}

.inset-link {
    inset: 0;
    position: absolute;
}

@media screen and (max-width:1023px) {
    header {
        padding: 0 1rem;
    }
    header.active {
        height: 250px;
    }
    .main-iframe {
        height: calc(100vh - 250px);
    }
    .header-container {
        flex-direction: column;
        gap: 1rem;
        justify-content: space-evenly;
        height: 100%;
    }
    .nav-container {
        gap: .5rem
    }
    .nav-card {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
    }
    .header-logo {
        flex-direction: row;
    }
    .header-logo img {
        height: 55px;
        width: auto;
    }
}
@media screen and (max-width:1020px) {
    .main-iframe {
        padding: 0;
    }
}

@media screen and (max-width:699px) {
    header.active {
        height: 320px;
    }
    .main-iframe {
        height: calc(100vh - 320px);
    }
    .nav-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .nav-card {
        padding: .5rem 1rem;
    }
}