@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');

@font-face {
  font-family: SatoshiRegular;
  font-weight: normal;
  src: url('./css/Satoshi_Complete/Fonts/OTF/Satoshi-Regular.otf');
}


body {
  font-family: 'EB Garamond', serif;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

section {
  display: inline-block;
}

/*---GENERAL HEADING PROPERTIES---*/
h1 {
  font-family: 'SatoshiRegular';
  font-weight: 600;
  margin: 0;
}

h2 {
  font-family:'SatoshiRegular';
  margin: 0;
}

h3 {
  font-family: 'SatoshiRegular';
  margin-bottom: 5px;
}

h4 {
  font-family: 'SatoshiRegular';
  margin: 0;
}

p {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

/*---INTRO TO EVA---*/
.introduction {
  height: 600px;
  width: 100%;
  position: relative;
}

.container {
  margin: 60px 10px
}

.presentation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.container img {
  border-radius: 50%;
  max-width: 160px;
  max-height: 164px;
}

.presentation-text {
  display: flex;
  flex-direction: column;
  margin: auto 0 auto 0x;
}

.presentation-text h2 {
  font-family: 'SatoshiVariable';
  color: blue;
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
}

.presentation-text h3 {
  font-family: 'SatoshiRegular';
  font-size: 32px;
  font-weight: 900;
  line-height: 43px;
}

.presentation-text h4 {
  font-family: 'SatoshiRegular';
  color: #565656;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.container p {
  margin: 30px 0 30px 0;
}


/*---FOR SCREEN READERS---*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/*--SOCIAL MEDIA ICON--*/
.links {
  border-radius: 40px;
  max-height: 20px;
  margin: 10px 5px 5px 5px;
  padding: 7px 10px;
  border: none;
  display: flex;
  flex-direction: row
  
}


.svg-icon1 {
  height: 40px;
  width: 40px;
  margin: 10px;
}

.social-media {
  background-color: transparent;
  border: none;
}

.svg-icon1:hover{
  background-color: rgb(184, 183, 183);
}

.introduction-side-image { 
  width: 100%;
  height: 100%;
  background-image: url('./images/background.jpeg');
  background-size: cover;
  background-position: 75%;
  display: inline-block;
  
}

/*----TECH SECTION ----*/
.tech {
  background-color: rgb(186, 238, 212);
  grid-column: 1 / 3;
  width: 100%;
  height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.tech h1 {
  color: blue;
  font-size: 80px;
  line-height: 108px;
  font-weight: 900;
  z-index: 1;

}

.tech p {
  max-width: 45%;
  margin: 0 0 0 100px;
  border: none;
  z-index: 1;
  font-size: 22px;
}

.tech-tag {
  color: white;
  padding: 0 2px;
}


.js {
  background-color: #0B24F4;
}

.react {
  background-color: #e65f76;
}

.mob {
  background-color: #12af2c;
}

/*---FEATURED PROJECTS----*/
:root {
  --featured-proj-width: 700px;
}

.featured-projects {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: flex-start;
}

.featured-projects h1 {
  color: #0B24F5;
  max-width: var(--featured-proj-width);
  font-size: 80px;
  line-height: 108px;
  font-weight: 700;
  margin-top: 70px;
  margin-bottom: 10px;
  z-index: 1;
}

.project-container {
  max-width: var(--featured-proj-width);
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px auto;
}

.square-project-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: 55%;
}

.square-project-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.project-container-text {
  background-color: white;
  margin: 20px 0 20px 40px;
}

.project-container-text p {
  margin: 10px auto 25px auto;
  z-index: 1;
}

.code-tags {
  margin: 10px 0 20px 0;
}

.code-tags p {
  display: inline;
  background-color: black;
  color: white;
  margin: 0 2px;
  padding: 2px 5px;
}


/*---LINKS---*/
a {
  text-decoration: none;
  color: black;
}

a:visited {
  text-decoration: none;
  color: black;
}

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

.project-links a {
font-family: 'SatoshiRegular';
font-size: 20px;
border-radius: 40px;
line-height: 27px;
max-height: 40px;
margin: 10px 5px 5px 5px;
padding: 7px 15px 7px 10px;
border: none;
display: flex;
flex-direction: row;
align-items: center;
}

.live-button:hover  {
  background: #ff9595;
  color: white;
}

.git-code-button:hover  {
  background-color: #ba95ff;
  color: white;
}

.project-links button .icons:hover {
  fill: rgb(255, 255, 255);
}

.project-links .icons {
  width: 32px;
  height: 32px;
  padding-right: 10px;
  margin-right: 8px;
}


.project-links button .icons:hover {
  fill: rgb(255, 255, 255);
}


/*--MY WORDS SECTION--*/

.my-words {
  width: 100%;
  background-color: #FCEDEA;
  grid-column: 1 / 3;
}
.my-words h1{
  color: #EB5577;
  font-size:50px;
  margin: 50px auto auto auto;
  padding-left: 100px;
}

.article img {
  width: 100%;
  max-width: 300px;
}

.article h2 {
  font-size: 20px;
  color: #ff9595;;
  font-weight: 900;
  line-height: 27px;
  margin: 10px 0;
}

.article h3 {
  font-size: 32px;
  font-weight: 900;
  line-height: 43px;
  margin: 0 0 20px 0;
}

.my-words-container {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.article {
  grid-column: 1 / 2;
  width: 50%;
  max-width: 350px;
  margin: 10px auto 10px auto;
  padding: 10px max(2px, (100vw - var(--contentWidth))/ 2);
}
.button-read-article{
  background-color: #F5F5F5;
  border-radius: 40px;
  max-height: 45px;
  margin: 10px 5px 5px 5px;
  padding: 7px 10px;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.button-read-article .icon{
  fill: rgb(0, 0, 0);
  width: 16px;
  height: 16px;
  filter: brigthness(70%);
  z-index: 2;
}

.button-read-article p {
  font-size: 16px;
  padding-left: 10px;
}

.button-read-article:hover {
  background-color:#FFD338;
  color: white;
}

/*---SKILLS SECTION---*/
.skills {
  display: flex;
  background-color: #FDF2E4;
  grid-column: 1 / 3;
  flex-direction: column;
  justify-content: center;
  height: 800px;
}

.skills h1{
  color: blue;
  text-align: center;
  font-size: 80px;
  font-weight: 700px;
  margin: 25px auto;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}
.row {
  padding: 0 20%;
}

.column-code {
  float: left;
  width: 25%;
}
.column-code h4{
  display:inline-flex;
  background-color:#EB5577;
  padding: 3px;
  color: white;
}

.column-toolbox {
  float: left;
  width: 25%;
}
.column-toolbox h4{
  display:inline-flex;
  background-color: #2483E0;
  padding: 3px;
  color: white;
}

.column-more {
  float: left;
  width: 25%;
}
.column-more h4{
  display:inline-flex;
  background-color:#0B24F4;
  padding: 3px;
  margin-bottom: 5px;
  color: white;
}

.column-upcoming {
  float: left;
  width: 25%;
}
.column-upcoming h4{
  display:inline-flex;
  background-color:#6DB486;
  padding: 3px;
  margin-bottom: 5px;
  color: white;
}

/*---TIME TO TALK SECTION---*/
.contact {
  height: 800px;
  grid-column: 1/3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact h1 {
  font-family: 'Satoshi';
  font-size: 120px;
  font-weight: 900;
  line-height: 162px;
  color: #EB5577;
  margin-bottom: 50px;
}

.contact img {
  border-radius: 50%;
  max-width: 150px;
}

.contact .presentation {
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
}

.contact .presentation-text {
  display: flex;
  flex-direction: column;
  margin: auto 0 auto 10px;
}

.contact p {
  font-weight: bold;
  margin-top: 15px;
}

.contact .links {
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  padding: 10px;
}

.contact .links button {
  margin: 10px;
}

/*-----MOBILE QUERY------*/

@media (max-width: 667px) {

body{
grid-template-columns: 1fr;
}

.introduction-side-image {
  display: none;
}


.introduction {
  min-height: 500px;
  width: 100%;
  position: relative;
}

.container {
  margin: 50px var(--side-margins-mobile);
}

.presentation{
  grid-column: 1 / 3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.container p {
  margin: 20px 0 5px 0;
  position: relative;
  font-size: 16px;
}

.svg-icon1 {
  height: 20px;
  width: 20px;
  margin: 10px;
}

.tech {
  grid-column: 1 / 3;
  flex-direction: column;
}

.tech p {
  max-width: 200px;
  margin: 20px 0 0 0;
}

.project-container {
  flex-direction: column;
  justify-content: flex-start;
  margin: 10px auto 10px auto;
  background-color: white
}

.featured-projects h1 {
  text-align: center;
  font-size: 58px;
  line-height: 78px;
  margin-bottom: 20px;
}

h1 {
  font-size: 70px;
  margin-left: 10%;
}

.project-container-text {
  background-color: white;
  margin: 10px;
}

.square-project-image {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  object-position: 55%;
  margin: 0 10px;
}
.project-links {
  flex-direction: column;
  margin: 10px 0;
}

.my-words {
  grid-column: 1 / 3;
}

.my-words h1{
  text-align: center;
  font-size: 58px;
  line-height: 78px;
}
.article {
  width: 100%;
}

.skills {
  grid-column: 1 / 3;
  height: 1000px;
}

.skill-lists-container {
  display: flex;
  flex-direction: column;
}

.contact .presentation {
  flex-direction: column;
}

.contact h1 {
  font-size: 50px;
  color: #EB5577;
}

/*---MOBILE-SKILL SECTION QUERY--*/
.column-code h4 {
  display: inline-flex;
  text-align: center;
}

.column-code {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 50px;
}
.column-code p{
  text-align: center;
 }


.column-toolbox {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 50px;
}

.column-toolbox p{
  text-align: center;
 }

.column-more {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 50px;
}

.column-more p{
  text-align: center;
 }

.column-upcoming {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 50px;
}

.column-upcoming p{
  text-align: center;
 }

}

/*---TABLET AND NORMAL DESKTOP*/
@media (min-width: 667px) and (max-width: 1024px) {

body {
  grid-template-columns: 1fr 1fr;
}

.introduction-side-image {
  height: 400px;
  grid-column: span 2;
  grid-row: 1; /*kanske radera*/
}

.introduction {
  height: 660px;
  grid-column: span 2; 
}


.container {
  margin: 20px 20px;
}

.introduction .container p {
  margin-left: 30px;
}

.tech {
  grid-column: 1 / 3;
  flex-direction: column;
}
.tech p {
  max-width: 400px;
  margin: 0 0 0 100px;
  border: none;
  z-index: 1;
}

.skill-lists-container {
  flex-direction: column;
}

.project-container {
  background-color: white;
}
.project-container-text {
margin: 10px;
background-color: white;
}
}