/* Font Import, Reset Sheet etc. */ 
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
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}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}
*, ::before, ::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

body {
  overflow: hidden;
  background-image: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Inter', sans-serif;
  color: #F1F1EE;
  height: 100vh;
}

/* Text Styling */
h1 { font-weight: 600; font-size: 3.25rem; margin-bottom: 30px; text-shadow: 0 3px 6px #0000006b; letter-spacing: -3px; }
p { font-weight: 300; font-size: 1.1rem; letter-spacing: 1px; line-height: 1.8; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; }
.center { text-align: center; margin-bottom: 1rem; cursor: pointer; }
.highlight { font-weight: 300; font-size: 40px; text-shadow: 0 3px 6px #0000006b; letter-spacing: -3px; }
.light { font-weight: 300; font-size: 0.9rem !important; line-height: 1; }
.semi-bold { font-weight: 500; }
.bold { font-weight: 600; font-size: 1rem; }
.hover { cursor: pointer; }

/* Navigation Bar Styling */
nav {
  position: absolute;
  width: fit-content;
  width: -moz-fit-content;
  padding: 30px;
  border-radius: 15px;
  background-color: #15151515;
  font-size: 1.1rem;
  font-weight: 400;
  text-shadow: 0 3px 6px #0000001a;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}
nav .selected { font-weight: 600; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-right: 30px; }
nav ul li:last-child { margin-right: 0; }
.download-cv { position: absolute; right: 2rem; top: 41px; width: fit-content; width: -moz-fit-content; padding: 20px; border-radius: 15px; background-color: #15151515; font-size: 0.95rem; font-weight: 300; text-shadow: 0 3px 6px #0000001a; }

/* Centering Content (Desktop View) */
section { position: relative; top: 55%; left: 50%; transform: translate(-50%, -50%); max-width: 1600px; }

/* Dividing Two Rows (Flex) */
.content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 200px;
  padding-right: 200px;
  align-items: center;
  margin: 0 auto;
}
.content .left, .content .right { flex: 1; }
.content .left { padding-right: 200px; }
.content .project { padding-right: 0;}

/* Border Box Styling */
.border-box {
  padding: 1rem;
  width: 100%;
  height: 100%;
  background-color: #FDFFFB75;
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  color: #1E1E1E;
  overflow: hidden;
  max-height: 33rem;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.border-box::-webkit-scrollbar { display: none; }
.border-box p { margin-bottom: 0rem; font-size: 1rem; }
.border-box .column { flex: 1 0 50%; padding: 1rem; }
.border-box .item { display: block; }
.border-box .item .cv { margin-right: 0.5rem; height: 20px; }
.border-box .item .img { margin-right: 0.5rem; width: 80%; height: 80; }
.border-box .img-border { border-radius: 10px; }
.border-box .item .text { flex: 1; font-weight: 400; font-size: 0.8rem; }
.cv-box { justify-content: center; }
.last { margin-bottom: 0rem; }

/* Button Styling */
.button { background-color: rgba(253, 255, 251, 0.75); border-radius: 10px; border: none; padding: 10px 20px; color: #1E1E1E; cursor: pointer; transition: transform .2s; }
.button:hover { background-color: rgba(253, 255, 251, 0.85); transition: background-color 150ms linear; }

/* Profile Picture Homepage */
.profile-picture { max-width: 400px; max-height: 400px; border-radius: 50%; overflow: hidden; float: right; }
.profile-picture img { width: 100%; height: 100%; object-fit: cover; }

/* Media Querys Scaling */
@media (max-width: 1250px), (max-height: 755px) {
  body { overflow: auto; }
  section { top: 5rem; transform: translateX(-50%); }
  nav { width: 90%; }
  .download-cv { visibility: hidden; }

  .content {
    flex-direction: column;
    padding-top: 5rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .content .left { padding-right: 0; }
  .content .right { padding-top: 2rem; padding-bottom: 2rem;}
}

@media (min-width: 650px) {
  nav { width: fit-content; width: -moz-fit-content; }
  .download-cv { visibility: visible; }
}