/***** FONTS ******/
@font-face {
    font-family: 'DarumaDropOne';
    src: url('/assets/fonts/daruma-drop-one-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Schoolbell';
    src: url('/assets/fonts/Schoolbell-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'GloriaHallelujah';
    src: url('/assets/fonts/GloriaHallelujah-Regular.ttf') format('truetype');
}

body {
    font-family: Schoolbell;
}

h1, h2, h3, h4 {
    font-family: DarumaDropOne;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.25rem;
}

h5, .cell-h5 {
    font-family: GloriaHallelujah;
    font-size: 1.15rem;
    font-weight: bold;
}

h6 {
    font-family: DarumaDropOne;
    font-size: 1.15rem;
    font-weight: bold;
}

/***** COLORS ******/
:root {
    --haiti: #201534;
    --ebony-clay: #2B1C47;
    --rebecca-purple: #663399;
    --royal-fuchsia: #C22492;
    --persian-pink: #ED74C8;
    --platinum: #E5E4E2;
    --gunsmoke: #898884;
}

body {
    background-color: var(--ebony-clay);
    color: var(--haiti);
}

/***** SCROLLBAR  ******/
html {
	scroll-behavior: smooth;
    min-height: 100%;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: var(--ebony-clay);
}

::-webkit-scrollbar-thumb {
    background: var(--haiti);
}

/***** UTILITIES ******/
body {
    min-width: 320px;
}

.flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-centered-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/***** PAGE ******/
.container {
    width: 100%;
    min-height: 100vh;
}

.useful-width {
    width: 90%;
    max-width: 1240px;
    padding: 60px 0;
    position: relative;
}

/* TOP BUTTONS */
.button {
    background-color: var(--royal-fuchsia);
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.75));
    padding: 5px 10px;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
}

.portfolio {
    position: absolute;
    top: 0;
    left: 0;
}

.pdf {
    position: absolute;
    top: 0;
    right: 0;
}

.pdf svg, .portfolio svg {
    margin-left: 10px;
}

.pdf:hover, .portfolio:hover {
    transform: translateY(-2px);
}

/* BOTTOM BUTTONS */
.arrow-nav {
    position: absolute;
    bottom: 0;
    margin: 30px 0;
}

.arrow-nav svg {
    color: var(--royal-fuchsia);
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.75));
    font-size: 3rem;
    margin: 0 10px;
}

#left-arrow svg {
    color: var(--persian-pink);
}

/***** MAIN *****/
#page-1, #page-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: white;
    border: 5px inset var(--royal-fuchsia);
    border-radius: 5px;
    -webkit-box-shadow: inset 3px 3px 4px 0px var(--haiti), 4px 4px 5px 0px var(--haiti); 
    box-shadow: inset 3px 3px 4px 0px var(--haiti), 4px 4px 5px 0px var(--haiti);
    padding: 10px;
    margin-bottom: 60px;
}

#page-2 {
    display: none;
}

/*** HEADER ***/
header {
    width: 100%;
    margin-bottom: 10px;
}
/* TITLE */
.cv-banner {
    justify-content: flex-end;
    background-image: url("/assets/img/cv/cv-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.cv-title {
    text-align: center;
    width: 100%;
    /* z-index: 10; */
}

.cv-title h2 {
    font-family: GloriaHallelujah;
    margin-top: 5px;
}

.cv-banner img {
    width: 75px;
    height: auto;
    border: 2px solid var(--rebecca-purple);
    filter: drop-shadow(5px 5px 5px rgba(102, 51, 153, 0.25));
}

/*** SECTIONS ***/
section {
    width: 100%;
}

/* ABOUT */
#about {
    margin: 10px 0;
}

#about p{
    margin-bottom: 5px;
}

/* TRAINING */
#training {
    margin-bottom: 10px;
}

.training-item {
    margin: 10px 0;
}

.training-header {
    display: flex;
    margin-bottom: 5px;
}

.training-header p {
    font-family: GloriaHallelujah;
}

.training-title {
    display: flex;
    flex-direction: column;
}

.training-title.left {
    margin-right: 10%;
    width: fit-content;
    white-space: nowrap;
}

.training-title.right {
    justify-content: space-between;
}

.training-date {
    color: var(--royal-fuchsia);
}

/* PROJECTS */
#projects {
    margin-bottom: 10px;
}

.project-item {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.project-item h5 {
    margin-right: 10px;
    white-space: nowrap;
}

.project-item svg {
    color: var(--royal-fuchsia);
    margin-left: 5px;
}

.project-item p {
    margin-bottom: 5px;
}

.project-name {
    display: flex;
    flex-wrap: wrap;
}

.project-link, .project-desc {
    font-family: GloriaHallelujah;
}

.project-link {
    text-decoration: underline;
    color: var(--royal-fuchsia);
    display: block;
    float: left;
}

.project-details a, .work-details a  {
    color: var(--rebecca-purple);
    text-decoration: underline;
    font-weight: bold;
}

#about em, .project-details em, .work-details em  {
    color: var(--rebecca-purple);
    font-weight: bold;
}

/* WORK EXPERIENCES */
.work-item {
    margin: 10px 0;
}

table {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 5px;
}

.left-col {
    width: 40%;
}

th {
    text-align: left;
    vertical-align: top;
}

.work-name, .work-location{
    padding-left: 20px;
}

.work-date {
    color: var(--royal-fuchsia);
}

.work-details-list {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
}

.work-details-list li{
    list-style: disc inside;
}

/*** ASIDE ***/
aside {
    width: 100%;
    width: 340px;
    max-width: 340px;
    height: 100%;
    justify-content: space-between !important;
}

aside article {
    width: 100%;
    background-color: rgba(102, 51, 153, 0.1);
    box-shadow: 4px 4px 4px var(--rebecca-purple);
    padding: 10px;
    margin: 10px 0;
}

aside article section {
    margin: 10px 0;
}

aside article h4 {
    text-align: center;
    margin-bottom: 10px;
}

aside article h6 {
    margin-bottom: 5px;
}

aside article li {
    padding: 5px;
    display: flex;
    align-items: center;
}

aside article svg {
    font-size: 1.2rem;
    width: 20px;
    margin-right: 10px;
    color: var(--rebecca-purple);
}

aside article img {
    width: 20px;
    height: auto;
    margin-right: 5px; 
}

.links {
    text-decoration: underline;
}

.li-diploma {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.li-diploma p{
    margin-left: 2px;
}

.skill-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.skill-list li {
    margin-right: 20px ;
}

.soft.skill-list li {
    margin-right: 10px;
}

/***** RESPONSIVE *****/
@media screen and (min-width: 768px) {
    /***** MAIN *****/
    #page-1, #page-2 {
        padding: 30px;
    }
    /***** UTILITIES ******/
    h1, h2 {
        font-size: 3rem;
    }
    h3 {
        font-size: 2.25rem;
    }
    h4 {
        font-size: 1.5rem;
    }
    h5, .cell-h5, .project-link, .project-desc {
        font-size: 1.25rem;
    }
    h6 {
        font-size: 1.25rem;
    }
    #about p, .work-experience p, .work-experience li {
        font-size: 1.25rem;
    }
    .training-sub-title, #projects p, #training p {
        font-size: 1.15rem !important;
    }
    /***** HEADER *****/
    /* TITLE */
    .cv-banner img {
        width: auto;
        height: 270px;
    }
    /***** SECTIONS *****/

    .project-item h5 {
        margin-right: 20px;
    }
    /* ASIDE */
    aside {
        padding: 20px 0;
    }
}

@media screen and (min-width: 1024px) {
    /***** SECTIONS *****/
    #cv-main {
        flex-direction: row;
        align-items: flex-start;
    }
    #cv-content {
        margin-right: 10px;
    }
    #cv-content {
        margin-right: 20px;
    }
    /* ASIDE */
    aside {
        min-width: 290px;
    }
    .work-details-list {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

@media screen and (min-width: 1250px) {
    #cv-main {
        display: grid;
        grid-template-columns: 3fr 1fr;
        grid-template-rows: 1fr;
    }
}

@media screen and (min-width: 1350px) {
    /***** SECTIONS *****/
    aside {
        min-width: 340px;
    }
}

