/* RESET */

*{
    box-sizing: border-box;
}

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;
}

/* END OF RESET */

:root{
    --font-sans: "Source Sans 3", Helvetica, Arial, sans-serif;
    --font-mono: "Anonymous Pro", monospace;
    --fs-xl: clamp(3rem, 9vw + 1rem, 3.6rem);
    --fs-l: clamp(1.8rem, 3vw + 1rem, 2.3rem);
    --fs-m: clamp(1rem, 1.5vw + 1rem, 1.6rem);
    --fs-s: clamp(0.8rem, 0.3vw + 1rem, 0.85rem);
    --boxShadow: 0 2px 3px -2px rgba(0, 0, 0, 0.5);
    --color-white: #fff;
    --color-black: #2b2b2b;
    --color-gray: #808080;
    --color-code-blue: #007EC1;
    --color-code-blue-light: #65b7ff;
    --color-code-aliceblue: #ecf6ff;
    --color-code-aliceblue_2: #e1f2ff;
}

html {
    font-family: var(--font-sans);
    min-height: 100%;
    scroll-behavior: smooth;
}

  body {
    position: relative;
    min-height: 100vh;
    width: 100%;  
    margin: 0 auto;
    hyphens: none;
    background-color: var(--color-code-aliceblue);
}

#top {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 0rem;
  overflow-x: hidden;
}
  
:target {
    scroll-margin-top: 50px;
}

h1{
  color: var(--color-code-blue);
  font-size: var(--fs-xl);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.subtitle{
  font-size: 1.8rem;
  color: var(--color-code-blue);
}

h2{
  font-size: var(--fs-xl);
  color: var(--color-code-blue);
  margin: 2rem 0;
}

h3{
  color: var(--color-code-blue);
  font-size: var(--fs-l);
  margin-bottom: 1rem;
}

h4{
  font-size: 1.25rem;
  color: var(--color-code-blue);
  margin-bottom: 1rem;
}

h5{
  font-size: 1.1rem;
  color: var(--color-code-blue);
  margin-bottom: 0.9rem;
}

h6{
  font-size: 0.9rem;
  color: var(--color-code-blue);
  margin-bottom: 0.7rem;
}

p{
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

strong{
  font-weight: 700;
}

a {
    color: var(--color-code-blue);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.2;
}
a:hover {
    text-decoration: underline;
    color: var(--color-code-blue);
}

button {
    font: inherit;
    border: 0;
    cursor: pointer;
    padding: 1rem 2rem;
    border-radius: 0px;
}

#menu-btn{
    display: none;
}

/* NAV MENU */

#nav-menu{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    min-height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background-color: transparent;
}
  
#nav-menu ul li {
    display: inline;
    margin: 1rem 2rem;
}
#nav-menu ul li a{
  position: relative;
  color: var(--color-black);
  padding-bottom: 8px;
  font-size: 1.4rem;
}
#nav-menu ul li a:hover{
  text-decoration: none;
  color: var(--color-code-blue);
}
  
/* logo */
#logo{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  padding: 10px;
  height: 65px;
  width: auto;
  transition: 0.5s 0s opacity ease-in-out;
}

#logo-top{
  padding: 6px;
  height: 120px;
  width: auto;
}

/* SECTIONS */
section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  justify-content: center;
}

.section-wrap{
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 1;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-wrap p{
  margin: 0rem 0rem 2rem 0rem;
  color: var(--color-white);
  font-weight: bold;
}

.content-wrap{
  min-width: 1475px;
  max-width: 1475px;
  margin: 2.5rem auto;
}

/* ABOUT */

#about{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  background-color: var(--color-code-aliceblue);
  /* background-image: url(/home/background.webp); */
  background-position: center;
  background-size: cover;
  padding-top: 8rem;
}

#about-wrap p{
  font-size: 2.25rem;
  color: var(--color-white);
  font-weight: bold;
}

/* SERVICES */

#services{
  background-color: var(--color-code-aliceblue_2);
}

#services h3:first-of-type{
  margin-top: 2rem;
}

/* PROJECTS */

#projects{
  background-color: var(--color-code-aliceblue);
}

#projects .content-wrap h3{
  font-weight: 400;
  margin-bottom: 1rem;
  /* padding-left: 1rem;
  border-left: 28px solid #c0e4ff; */
}

#projects .content-wrap p{
  font-weight: 400;
  margin-left: 0;
}

.project-wrap{
  width: 100%;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-wrap .img-box{
  max-width: 33.3%;
}
.project-wrap .img-box img{
  width: 100%;
}

/* TEAM */
#team{
  background-color: var(--color-code-aliceblue_2);
}

.persons-wrap{
  margin: 3rem 0;
}

.persons-wrap h3{
  margin-bottom: 0.5rem;
}

.person{
  margin-bottom: 2.2rem;
}

.person h4 a{
  font-size: 1.25rem;
}

.img-box{
  width: 100%;
}
.img-box img{
  width: 100%;
}

/* CONTACT */

#contact{
  background-color: var(--color-code-aliceblue);
  min-height: calc(100vh - 50px);
}

#contact-wrapper{ 
  max-width: 100%;
  padding: 0 1.5rem;
}

address{
  font-weight: 500;
  line-height: 1.5;
  font-size: 1.5rem;
}

address a{
  display: block;
}

/* FOOTER */

footer{
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: var(--fs-s);
  color: var(--color-gray);
  background-color: var(--color-code-aliceblue);
  width: 100%;
  min-height: 50px;
}

p.copyright, p.by, footer a{
  font-size: var(--fs-s);
  color: var(--color-gray);
  text-align: center;
  margin-bottom: 0.5rem;
}

