/* @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap'); */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    /* border: 1px solid red; */
}

body {
    height: 100vh;
    width: 100vw;
    /* font-family: 'Fira Code', monospace; */
    font-family: "Inter", sans-serif;
    background-image: url("./imgs/background.jpg");
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar {
    display: flex;
    flex-direction: row;
    width: 100%;

    /* border: 1px solid rgb(47, 232, 84); */
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    height: 4vh;
}

.navitem {
    text-decoration: none;
    font-size: 0.75em;
    padding: 0.5em 0.5em;
    margin: 0em 0.5em;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.5s ease-in;
}

img.navitem {
    width: auto;
    height: 60%;
}

.navitem:hover {
    background: rgba(255, 255, 255, 0.25);
}

#main {
    max-width: 75vw;
    height: 80vh;

    border-radius: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow: 4px 4px 8px rgba(45, 48, 50, 0.5);
}

/* TOP BAR - START */

#bar {
    height: 4vh;
    width: 100%;
    background-color: rgb(32, 32, 32);

    border-bottom: 1px solid rgba(45, 48, 50, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

#bar-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    position: absolute;
    top: 10;
    left: 0;
}

#bar-title {
    color: white;
    font-weight: 700;
    margin: 1em 0em;
}

.bar-item {
    height: 0.8em;
    width: 0.8em;
    border-radius: 50%;
    margin: 0em 0.4em;
}

#close {
    background-color: rgb(237, 106, 94);
}
#min {
    background-color: rgb(224, 191, 79);
}
#max {
    background-color: rgb(97, 197, 84);
}

/* TOP BAR - END */

/* CONTENT - START */

#content {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    flex: 1;
    overflow: hidden;

    background-color: rgb(25, 25, 25);
}

#img-vid-container {
    border: 1px solid rgba(45, 48, 50, 0.5);
    width: 35%;
    margin: 0em 1em;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

#myimage {
    width: 100%;
    scroll-snap-align: center;
}

#myvideo {
    width: 100%;
    scroll-snap-align: center;
}

#desc-container {
    width: 65%;
    margin: 1em;

    overflow-y: auto;
}

#desc {
    color: white;

    height: 100%;
    text-align: justify;
    vertical-align: center;
    font-size: 11pt;
}

/* CONTENT - END */

/* CONTACT - START */

#contact-me {
    height: 4vh;
    display: flex;
    justify-content: center;
    background-color: rgb(32, 32, 32);

    border-top: 1px solid rgba(45, 48, 50, 0.5);

    width: 100%;
}

.contact-me-item {
    margin: 0em 1em;
    padding: 0em 1em;
    transition: all 0.5s ease-in;

    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-me-item:hover {
    background: rgba(128, 128, 128, 0.25);
}

.contact-me-item > a {
    text-decoration: none;
    font-size: 0.75em;
    padding: 0.5em 0.5em;
    margin: 0em 0.5em;
    color: white;
    font-weight: 600;
}

.contact-me-icon {
    height: 20px;
    width: 20px;
}

/* CONTACT - END */

/* PROJECT - START */

#projects {
    list-style: none;
    padding: 0 1em;
}

.project {
    background-color: rgb(45, 45, 45);
    border: 1px solid rgb(25, 25, 25);
    display: flex;
}

.project-body {
    display: flex;
    flex-direction: column;
    width: 65%;
    padding: 1em 1em;
}

.project-title {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.project-title > a {
    text-decoration: none;
    color: white;
    transition: all 0.5s ease-in;
}

.project-title > a:hover {
    color: rgb(192, 192, 192);
    border-bottom: 2px solid rgb(192, 192, 192);
}

.project-desc {
    color: white;
    width: 100%;
    text-align: justify;
}

.project-logo {
    width: 35%;
}

/* PROJECT - END */

/* EDUCATION - START */

#education {
    color: white;
    border: 1px solid white;
    margin: 0em 5em;
}

#education td {
    padding: 1em 1em;
    transition: all 0.5s ease-in;
    text-align: center;
    vertical-align: center;
}

#education td:hover {
    background-color: rgba(128, 128, 128, 0.25);
}

/* EDUCATION - END */
