@import url(https://fonts.googleapis.com/css?family=Nunito+Sans);
@import url(https://fonts.googleapis.com/css?family=Rubik);


@font-face {
  font-family: "devicon";
  src: url("fonts/devicon.ttf?iehcku") format("truetype"),url("fonts/devicon.woff?iehcku") format("woff"),url("fonts/devicon.svg?iehcku#devicon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^=devicon-],[class*=" devicon-"] {
  font-family: "devicon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@import url(https://fonts.googleapis.com/css?family=Nunito+Sans);

@import url(https://fonts.googleapis.com/css?family=Rubik);

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1.5;
  color: #555;
  font-family: 'Nunito Sans', sans-serif;
}

details,footer,header,main,section {
  display: block;
}

h1 {
  margin: .67em 0;
  font-size: 2.5rem;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

strong {
  font-weight: bolder;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

[type=reset],[type=submit],html [type=button] {
  -webkit-appearance: button;
}

[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

[type=checkbox],[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

[hidden] {
  display: none;
}

/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@-webkit-keyframes pulse {
  0%, to {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: .4;
    top: 0;
  }

  50% {
    -ms-filter: none;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    top: -10px;
  }
}

@keyframes pulse {
  0%, to {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: .4;
    top: 0;
  }

  50% {
    -ms-filter: none;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    top: -10px;
  }
}

@font-face {
  font-family: 'FontAwesome';
  src: url(../fonts/fontawesome-webfont.eot?v=4.7.0);
  src: url(../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0) format("embedded-opentype"), url(../fonts/fontawesome-webfont.woff2?v=4.7.0) format("woff2"), url(../fonts/fontawesome-webfont.woff?v=4.7.0) format("woff"), url(../fonts/fontawesome-webfont.ttf?v=4.7.0) format("truetype"), url(../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular) format("svg");
  font-weight: 400;
  font-style: normal;
}

.fa {
  display: inline-block;
  font: 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-envelope:before {
    content: "\f0e0";
}

.fa-linkedin:before {
    content: "\f0e1";
}

.fa-github-alt:before {
    content: "\f113";
}

.fa-github:before {
    content: "\f09b";
}

.fa-file-pdf-o:before {
    content: "\f1c1";
}

.fa-chevron-down:before {
    content: "\f078";
}


footer,header,section {
  display: block;
}

h1,h2,h3,h4,strong {
  margin-top: 1em;
  padding-top: 1em;
  line-height: 1.25;
  color: #333;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 1em 0;
}

#particles-js {
  background: #1488CC;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #2B32B2, #1488CC);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #2B32B2, #1488CC);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  display: flex;
  vertical-align: bottom;
  width: 100%;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.header {
  z-index: 1;
  text-align: center;
  color: #fff;
  position: absolute;
  font-family: 'Rubik', sans-serif;
  width: 80%;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.header .site-title {
  font-size: 35px;
  display: block;
  line-height: 1;
  color: #fff;
}

@media only screen and (min-width:550px) {
  .header .site-title {
    margin: 0;
    font-size: 90px;
  }
}

.header .site-description {
  font-size: 20px;
  display: block;
  line-height: 1;
  color: #fff;
  margin-top: 10px;
}

@media only screen and (min-width:550px) {
  .header .site-description {
    font-size: 30px;
  }
}

.header-links {
  margin: 10px;
}

.header-links .link {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  margin: 10px;
}

@media only screen and (min-width:550px) {
  .header-links .link {
    font-size: 20px;
  }
}

.header-icons {
  display: flex;
  justify-content: center;
  text-align: center;
}

.down,.header-icons .icon {
  color: #fff;
  text-align: center;
}

.header-icons .icon {
  height: 20px;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: all .7s;
  width: 20px;
  font-size: 20px;
  margin: 5px;
}

@media only screen and (min-width:550px) {
  .header-icons .icon {
    width: 35px;
    height: 35px;
    font-size: 35px;
  }
}

.down {
  position: absolute;
  bottom: 25px;
  width: 100%;
  margin: 0 auto;
  display: block;
  font-size: 30px;
  cursor: pointer;
}

.down .icon {
  position: absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  fill: #fff;
  -webkit-animation: pulse 1.3s infinite;
  animation: pulse 1.3s infinite;
}

#about {
  width: 90%;
  margin: 0 auto;
  max-width: 960px;
}

@media only screen and (min-width:550px) {
  #about {
    width: 80%;
  }
}

.tech {
    margin: 12px;
    width: 100%;
}

.user {
  text-align: center;
  font-size: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.user p {
  font-size: 16px;
}

@media only screen and (min-width:550px) {
  .user {
    flex-wrap: nowrap;
    font-size: 75px;
  }
}

@media only screen and (min-width: 550px) and (max-width: 1197px) {
    .user {
        justify-content: center;
    }
    .tech {
        flex: 0 0 calc(50% - 24px); /* 2 sections per row */
        box-sizing: border-box;
        margin: 12px;
    }
}

@media only screen and (max-width: 549px) {
    .user {
        justify-content: center;
    }
    .tech {
        flex: 0 0 100%;
        box-sizing: border-box;
        margin: 12px 0;
    }
}

.user-details {
  text-align: center;
  margin: 5px auto;
}

#projects {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

@media only screen and (min-width:550px) {
  #projects {
    width: 80%;
  }
}

.user-projects {
  margin: 20px auto;
}

.user-projects img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.user-projects h5 {
  margin: 0;
}

.user-projects p {
  margin-right: 5px;
}

@media only screen and (min-width:550px) {
  .contents {
    margin-left: 0;
    width: 48%;
  }

  .contents,  .contents-right {
    margin-top: -5%;
  }

  .contents-right,  .images-right {
    float: right;
    width: 48%;
  }

  .images-right img {
    float: right;
  }

  .images-left {
    float: left;
    width: 48%;
  }

  .images-left img {
    float: left;
  }
}

.project-link {
  display: inline-block;
  margin: 10px 0;
  padding: 5px;
  color: #1488CC;
  background-color: transparent;
  border: 1px solid #1488CC;
  border-radius: 10px;
  text-align: center;
  outline: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color .3s ease-out, background-color .3s ease-out, border-color .3s ease-out;
}

.project-link:active,.project-link:hover {
  background-color: #5347a8;
  border-color: #5347a8;
  color: #fff;
  transition: color .3s ease-in, background-color .3s ease-in, border-color .3s ease-in;
}

#education {
    width: 90%;
    margin: 0 auto;
    max-width: 960px;
}

.education-block {
    position: relative;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #1488CC;
    transition: transform 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;

}

.education-block picture {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: end;
    justify-content: end;
}
.education-block picture img, .education-block picture source {
    align-self: end;
    width: 30%;
    max-width: 300px;
}

.education-block:hover {
    transform: translateX(10px);
}

.education-content h3 {
    color: #333;
    margin-bottom: 5px;
}

.education-content h4 {
    color: #1488CC;
    margin: 0;
    padding: 0;
    font-size: 1.1em;
}

.education-date {
    color: #666;
    font-style: italic;
    margin: 5px 0;
}

.education-description {
    color: #555;
    line-height: 1.6;
}

#certificates {
    width: 90%;
    margin: 0 auto;
    max-width: 960px;
}

.certificates-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.certificate-block {
    display: flex;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #1488CC;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.certificate-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(20, 136, 204, 0.03), rgba(43, 50, 178, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-block:hover {
    transform: translateX(10px);
}

.certificate-block:hover::before {
    opacity: 1;
}

.certificate-logo {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    z-index: 1;
}

.certificate-logo img {
    max-width: 80px;
    height: auto;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.certificate-block:hover .certificate-logo img {
    filter: grayscale(0%);
}

.certificate-content {
    flex: 1;
    z-index: 1;
}

.certificate-content h3 {
    color: #333;
    margin: 0;
    padding: 0;
}

.certificate-content h4 {
    color: #1488CC;
    margin: 5px 0;
    padding: 0;
    font-size: 1.1em;
}

.certificate-date {
    color: #666;
    font-style: italic;
    margin: 5px 0;
}

.certificate-description {
    color: #555;
    line-height: 1.6;
    margin: 10px 0;
}

@media only screen and (min-width: 550px) {
    #education,
    #certificates {
        width: 80%;
    }
}

@media only screen and (max-width: 768px) {
    .certificate-block {
        flex-direction: column;
        text-align: center;
    }

    .certificate-logo {
        margin: 0 0 15px 0;
    }

    .certificate-block:hover {
        transform: translateY(-5px);
    }
}

.footer {
  background: #1488CC;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #2B32B2, #1488CC);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #2B32B2, #1488CC);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 10px 0;
  margin-top: 100px;
  text-align: center;
  color: #fff;
}