* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;

}

/* GLOBAL */
html { font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;

  background: #0f172a;
  color: #e5e7eb;
}



h1, h2, h3 {
     font-weight: 600;

}

h3 {padding:10px 0}

.container {
  display: flex;
}
.green {background:#3c6382}


/* ========================= */
/* DESKTOP SIDEBAR */
/* ========================= */
.sidebar {
  width: 30%;
  height: 100vh;
  position: fixed;
  padding: 40px;
  background: #020617;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.sidebar h1 {
  margin-bottom: 8px;
  font-size:1.8rem
}
.topbar p {margin-bottom:15px}

.socials {
  margin-bottom: 30px;
}

.socials img {float:left;display:inline;width:40px}
.socials a {
  display:inline-block;
  color: #38bdf8;
  text-decoration: none;
  margin: 6px ;
  transition: 0.3s;
}

.socials a:hover {
  opacity: 0.7;
}


/* NAV */
nav {
 
}

nav ul {
  list-style: none;
}

nav ul li {
  margin: 12px 0;
}

nav a { background:#273c75;padding:10px;
  color: #e5e7eb;display:block;width:120px;
  text-decoration: none;
  transition: 0.3s;border-radius:3px;
  text-align:center;margin:10px 0;
}

nav a:hover {
  background:#0097e6;
}

.mobile-nav a.active,
.desktop-nav a.active {
  background: #38bdf8;
  color: #020617;font-weight:bold;
  
 
}

nav a {
  transition: all 0.3s ease;
}



/* ========================= */
/* CONTENT */
/* ========================= */
.content {
  margin-left: 30%;
  width: 70%;
  padding: 60px 80px;
}

/* SECTIONS */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 100px;
  scroll-snap-align: start;
}

.section-block {width:100%;margin:10px;padding:10px 0;border-bottom:1px solid #273c75}

.about-block {width:100%;margin:10px;padding:10px 0;}
.about-block li {margin-left:16px}


.languages li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 16px;
}

.languages img {
  width: 20px;
  height: auto;
  margin-right: 8px;
}
.br {width:100%;clear:both;float:left;}

/* HEADINGS */
h2 {padding-bottom:6px;
  margin-bottom: 25px;
  font-size: 30px;
  border-bottom: 2px solid #38bdf8;
  display: inline-block;
}

/* LISTS */
ul li {
  margin: 10px 0;
  font-size: 16px;
}

/* SKILLS */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.skills img {
  min-width:60px;max-width:80px;height:auto;display:inline-block;
  transition: transform 0.3s;
}

.skills img:hover {
  transform: scale(1.2);
}



/* ========================= */
@media (max-width: 900px) {

  html {
    scroll-snap-type: none;
  }

  .container {
    flex-direction: column;
  }

  /* HEADER */
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px 20px;
    align-items: stretch;
    text-align: left;
  }


.topbar {text-align:center;}
  /* TOP ROW: image + name */
  .profile-img {
    width: 50%;
    height: 50%;
    margin: 20px 25%;
    display: block;
    vertical-align: middle;
  }

  .sidebar h1 {
    font-size: 18px;
    margin: 0;
    display: block;
    vertical-align: middle;
    margin-left: 10px;
  }

  /* DIVIDER */
  .sidebar::after {
    content: "";
    display: block;
    height: 1px;
 
    margin: 15px 0;
  }

  /* SOCIALS */
  .socials {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: center; 
  align-items: center;    
}

  .socials a {
    font-size: 14px;
  }

  /* MENU */
  nav ul {bottom:0;position:fixed;left:0;
    display: flex;
    justify-content: space-between;   
	padding:10px;
	background:#273c75;width:100%;float:left;
	 gap: 5px;
  }

  nav ul li {
    margin: 0;
  }

  nav a {
    font-size: 14px;
  }

  /* CONTENT */
  .content {
    margin-left: 0;
    width: 100%;
    padding: 25px 20px;
  }

  /* SECTIONS */
  section {
   
    padding: 70px 0 40px;
  }

  .skills img {
    width: 38px;
  }
}