@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.color1 {background-color: #328CA9;}
.color2 {background-color: #0E6EA9;}
.color3 {background-color: #2C4EA3;}
.color4 {background-color: #193882;}
.color5 {background-color: #102446;}

nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
    height: 80px;
    line-height: 80px;
    z-index: 111;
}

/* ------------------------------------- MENU DESKTOP ------------------------------------- */

#menu-desktop {
    display: flex;
}

.logo {
    display: flex;
    cursor: pointer;
}

.navItems {
    display: flex;
}

.navItems li{
    list-style: none;
    margin: 0 15px;
}

.navItems li a{
    font-size: 20px;
    color: #3d535f;
    letter-spacing: 3px;
    text-decoration: none;
    text-transform: capitalize;
}

.navItems li a:hover{
    color: #0e5fb5;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #0e5fb5;
}
  
.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0e5fb5;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
  
.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ------------------------------------- SOCIAL LINKS ------------------------------------- */

.links a {
    font-size: 25px;
    color: #3d535f;
    margin: 25px 10px;
}

#facebook:hover {
    color: #3b5998;
}

#twitter:hover {
    color: #00acee;
}

#instagram:hover {
    color: #DD2A7B;
}

#github:hover {
    color: #171515;
}

#linkedin:hover {
    color: #0e76a8;
}

#orcid:hover {
    color: #A5CD39;
}

/* ------------------------------------- MENU MOBILE ------------------------------------- */

#menu-mobile {
    display: none;
}

.topnav {
    overflow: hidden;
    background-color: #f3f5f8;
    z-index: 200;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}
.topnav a {
    float: left;
    display: block;
    color: #3d535f;
    text-align: center;
    padding: 0 16px;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.1em;
}
.topnav a:hover {
    background-color: #f3f5f8;
    color: #3d535f;
}
.topnav .icon {
    display: none;
}

/* ----------------------------------- BUTTON SCROLL UP ----------------------------------- */
#topBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: #304e6f;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: 0.5s;
  }
  
#topBtn:hover {
    font-size: 1.6em;
    background-color: #3f5872;
}

/* ----------------------------------- TOAST ----------------------------------- */



/* ------------------------------------- SECTION HOME ------------------------------------- */

#home-content {
    min-height: 100vh;
    background-image: linear-gradient(to bottom right, #f3f5f8, #f3f5f8, #abc1e1);
}

.topline {
    display: block;
    position: relative;
    font-size: 35px;
    letter-spacing: 1px;
    margin-top: 40px;
    color: #3d535f;
}

.topline::after {
    position: absolute;
    content: '';
    height: 4px;
    width: 45px;
    bottom: 10px;
    background-color: #0e5fb5;
}

h1.home-h1 {
    margin: 20px 0;
    display: block;
    font-size: 5em;
    font-weight: 700;
    color: #3d535f;
}

.multiText {
    color: #0e5fb5;
    text-transform: capitalize;
}

.home-text {
    display: block;
    width: 90%;
    font-size: 1.2em;
    color: #3d535f;
    text-align: justify;
    letter-spacing: 1px;
}

.buttons {
    width: 100%;
    margin: auto;
    text-align: left;
    margin-top: 40px;
}

#contact {
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 1.4em;
    font-weight: 400;
    color: #fff;
    background-color: #0e5fb5;
    padding: 8px 14px;
    border-radius: 5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    transition: 0.5s;
}

#contact:hover {
    color: #fff;
    background-color: #3d535f;
    letter-spacing: 0.09em;
}

.imgbox {
    text-align: center;
}

.imgbox #me {
    position: relative;
    height: 100%;
    width: calc(130%-80px);
    top: 20px;
    right: 50px;
    animation: animateUser 4s linear infinite;
}

@keyframes animateUser {
    50% {
        right: 30px;
        top: 10px;
    }
}

.mobile-img {
    display: none;
}

/* ------------------------------------- SECTION ABOUT ------------------------------------- */
#about-content {
    min-height: 100vh;
    background: linear-gradient(to left, #d8cac7, #d8cac7, #bc7e72);
}

.about-hobby {
    text-align: center;
    width: 90%;
}

.about-h1 {
    padding-left: 10px;
    padding-top: 2vh;
    font-size: 3.5em;
    font-weight: 700;
    color: #1c1e2d;
    text-shadow: 1px 1px #595b64;
}

.about-h3 {
    padding-top: 2vh;
    font-size: 1.5em;
    font-weight: 700;
    color: #1c1e2d;
}

.about-h3-hobby {
    padding-top: 2vh;
    font-size: 2em;
    font-weight: 700;
    color: #1c1e2d;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about-img {
    border-radius: 5px;
    margin: auto;
    margin-top: 25px;
}

.about-text {
    display: block;
    width: 100%;
    font-size: 1em;
    color: #1c1e2d;
    text-align: justify;
    letter-spacing: 1px;
}

.hobby-element {
    background-color: #232537;
    border: 3px #1c1e2d solid;
    border-radius: 5px;
    padding: 10px 0px;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    margin-bottom: 30px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
}

.hobby-element:hover {
    background-color: #1c1e2d;
}

span.hobby-icon {
    font-size: 2em;
}

span.hobby-font {
    font-size: 0.8em;
}

#CV {
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: 400;
    color: #fff;
    background-color: #1c1e2d;
    padding: 28px 28px;
    border-radius: 5px;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    transition: 0.5s;
}

#CV:hover {
    color: #fff;
    background-color: #232537;
    letter-spacing: 0.1em;
}

.cv-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

a.spred:link {
    color: #925549;
}
a.spred:visited {
    color: #925549;
}
a.spred:hover {
    color: #bc7e72;
}
a.spred:active {
    color: #925549;
}

.btn-cv {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 30px;
}

/* ------------------------------------- SECTION PROJECTS ------------------------------------- */
.wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to left, #d8cac7, #d8cac7, #bc7e72);
    color: #fff;
}

.tabs input {
    visibility: hidden;
}

.projects-buttons {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.projects-buttons label {
    width: 20px;
    height: 20px;
    background: #fff;
    opacity: 0.5;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.5s;
}

.tabs input:nth-child(1):checked ~ .projects-buttons label:nth-child(1),
.tabs input:nth-child(2):checked ~ .projects-buttons label:nth-child(2),
.tabs input:nth-child(3):checked ~ .projects-buttons label:nth-child(3) {
    opacity: 1;
    width: 50px;
}

.projects-content {
    position: relative;
    width: 300vw;
    display: flex;
    transition: 0.5s;
}

.projects-content .box {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    padding: 40px;
}

.projects-content .box:nth-child(1) {
    background: linear-gradient(90deg, #43cea2, #185a9d);
}
.projects-content .box:nth-child(2) {
    background: linear-gradient(90deg, #ff4e50, #f9d423);
}
.projects-content .box:nth-child(3) {
    background: linear-gradient(90deg, #9d50bb, #6e48aa);
}

.tabs input:nth-child(1):checked ~ .projects-content {
    left: 0;
}
.tabs input:nth-child(2):checked ~ .projects-content {
    left: -100vw;
}
.tabs input:nth-child(3):checked ~ .projects-content {
    left: -200vw;
}

.projects-content .box .box-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.projects-content .box .box-content i {
    font-size: 10em;
    margin-bottom: 10px;
}

.projects-h2 {
    font-weight: bold;
    font-size: 5em;
}

.projects-p {
    width: 60%;
    text-align: center;
    font-size: 1.5em;
}

.projects-btn {
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    background-color: #f3f5f8;
    color: #3d535f;
    padding: 8px 14px;
    border-radius: 5px;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    transition: 0.5s;
}

.projects-btn:hover {
    color: #f3f5f8;
    background-color: #3d535f;
    letter-spacing: 0.1em;
}

/* ------------------------------------- SECTION SKILLS ------------------------------------- */
#skills-content {
    width: 100%;
    min-height: 100vh;
    padding: 0px 13%;
    background: linear-gradient(to right, #e9fefc, #fcfffe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.skills_head{
    width: 100%;
    margin-bottom: 50px;
    display: grid;
    place-items: center;
    text-align: center;
}
.skills_head h2{
    font-size: 6em;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.skills_head p{
    font-size: 1.5em;
}
.skills_head h2 span{
    color: #067568;
    text-transform: uppercase;
}
.skills_main{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}
.skills_main .skill_bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:  0 10px;
}
.skill_bar .info p:nth-child(2){
    font-weight: 500;
}
.skill_bar .bar{
    width: 100%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.144);
    border-radius: 25px;
    margin-top: 5px;
    position: relative;
}
.skill_bar .bar span{
    width: 50%;
    height: 100%;
    position: absolute;
    background-color: #067568;
    border-radius: 25px;
}
.skill_bar .bar .html_css{
    width: 90%;
    animation: html_css 2s;
}
@keyframes html_css {
    0%{
        width: 0%;
    }100%{
        width: 90%;
    }
}
.skill_bar .bar .bootstrap{
    width: 75%;
    animation: bootstrap 2s;
}
@keyframes bootstrap {
    0%{
        width: 0%;
    }100%{
        width: 75%;
    }
}
.skill_bar .bar .javascript{
    width: 70%;
    animation: javascript 2s;
}
@keyframes javascript {
    0%{
        width: 0%;
    }100%{
        width: 70%;
    }
}
.skill_bar .bar .php{
    width: 70%;
    animation: php 2s;
}
@keyframes php {
    0%{
        width: 0%;
    }100%{
        width: 70%;
    }
}
.skill_bar .bar .python{
    width: 75%;
    animation: python 2s;
}
@keyframes python {
    0%{
        width: 0%;
    }100%{
        width: 75%;
    }
}
.skill_bar .bar .java{
    width: 80%;
    animation: java 2s;
}
@keyframes java {
    0%{
        width: 0%;
    }100%{
        width: 80%;
    }
}
.skill_bar .bar .git{
    width: 95%;
    animation: git 2s;
}
@keyframes git {
    0%{
        width: 0%;
    }100%{
        width: 95%;
    }
}
.skill_bar .bar .jira{
    width: 75%;
    animation: jira 2s;
}
@keyframes jira {
    0%{
        width: 0%;
    }100%{
        width: 75%;
    }
}
.skill_bar .bar .sql{
    width: 65%;
    animation: sql 2s;
}
@keyframes sql {
    0%{
        width: 0%;
    }100%{
        width: 65%;
    }
}

/* ------------------------------------- SECTION RESEARCH ------------------------------------- */

#research-content {
    min-height: 100vh;
    background-image: linear-gradient(to top, rgb(145, 233, 218), rgb(77, 211, 189));
}

.research-h1 {
    padding-top: 40px;
    font-size: 3.5em;
    font-weight: 700;
    color: rgb(1, 49, 41);
    text-shadow: 1px 1px #5a6459;
    margin-bottom: 30px;
    text-align: center;
}

.research-h2 {
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 2.5em;
    font-weight: 700;
    color: rgb(1, 49, 41);
}

.research-top-text {
    display: block;
    width: 100%;
    margin: auto;
    margin-bottom: 30px;
    font-size: 1.2em;
    color: #1c1e2d;
    text-align: center;
    letter-spacing: 1px;
}

.scientist {
    align-content: center;
    padding-bottom: 50px;
}

.book {
    position: relative;
    border-radius: 10px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 12px #000;
    box-shadow: 1px 1px 12px #000;
    -webkit-transform: preserve-3d;
    -ms-transform: preserve-3d;
    transform: preserve-3d;
    -webkit-perspective: 2000px;
    perspective: 2000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    margin: auto;
}
  
.cover {
    top: 0;
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0;
    -webkit-box-shadow: 1px 1px 12px #000;
    box-shadow: 1px 1px 12px #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
  
.book:hover .cover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: rotatey(-80deg);
    -ms-transform: rotatey(-80deg);
    transform: rotatey(-80deg);
}
  
p.articles {
    font-size: 20px;
    font-weight: bolder;
}

.article-download {
    --border-color: linear-gradient(-45deg, #00ffae, #037eaa, #3300ff);
    --border-width: .125em;
    --curve-size: .5em;
    --blur: 30px;
    --bg: #03120b;
    --color: #afffff;
    color: var(--color);
        /* use position: relative; so that BG is only for .btn */
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-content: center;
    padding: .5em 1.5em;
    font-size: 17px;
    border: 0;
    text-transform: uppercase;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, .6);
    clip-path: polygon(
                /* Top-left */
                0% var(--curve-size),

                var(--curve-size) 0,
                /* top-right */
                100% 0,
                100% calc(100% - var(--curve-size)),

                /* bottom-right 1 */
                calc(100% - var(--curve-size)) 100%,
                /* bottom-right 2 */
                0 100%);
    transition: color 250ms;
}

.article-download::after,
.article-download::before {
    content: '';
    position: absolute;
    inset: 0;
}

.article-download::before {
    background: var(--border-color);
    background-size: 300% 300%;
    animation: move-bg7234 5s ease infinite;
    z-index: -2;
}
  
  @keyframes move-bg7234 {
    0% {
      background-position: 31% 0%
    }
  
    50% {
      background-position: 70% 100%
    }
  
    100% {
      background-position: 31% 0%
    }
  }
  
.article-download::after {
    background: var(--bg);
    z-index: -1;
    clip-path: polygon(
              /* Top-left */
              var(--border-width) 
              calc(var(--curve-size) + var(--border-width) * .5),
  
              calc(var(--curve-size) + var(--border-width) * .5) var(--border-width),
  
              /* top-right */
              calc(100% - var(--border-width)) 
              var(--border-width),
  
              calc(100% - var(--border-width)) 
              calc(100% - calc(var(--curve-size) + var(--border-width) * .5)),
  
              /* bottom-right 1 */
              calc(100% - calc(var(--curve-size) + var(--border-width) * .5)) calc(100% - var(--border-width)),
              /* bottom-right 2 */
              var(--border-width) calc(100% - var(--border-width)));
    transition: clip-path 500ms;
}
  
.article-download:where(:hover, :focus)::after {
    clip-path: polygon(
                  /* Top-left */
                  calc(100% - var(--border-width)) 
  
                  calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
      
                  calc(100% - var(--border-width))
  
                  var(--border-width),
      
                  /* top-right */
                  calc(100% - var(--border-width))
  
                   var(--border-width),
      
                  calc(100% - var(--border-width)) 
  
                  calc(100% - calc(var(--curve-size) + var(--border-width) * .5)),
      
                  /* bottom-right 1 */
                  calc(100% - calc(var(--curve-size) + var(--border-width) * .5)) 
                  calc(100% - var(--border-width)),
  
                  /* bottom-right 2 */
                  calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
                  calc(100% - var(--border-width)));
    transition: 200ms;
}
  
.article-download:where(:hover, :focus) {
    color: #fff;
}

a.article-btn {
    text-decoration: none;
}

img.articles-img {
    max-width: 100%;
    max-height: 100%;
}

ul.conferences {
    padding-left: 30px;
    list-style-type: none;
}

ul.conferences li {
    font-size: 1.1rem;
    letter-spacing: 1.2px;
}

ul.conferences li a {
    color: rgb(1, 49, 41);
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.2s;
}

ul.conferences li a:hover {
    color: rgb(15, 56, 49);
    letter-spacing: 1.2px;
}

/* -------------------------------------- SECTION OFFER -------------------------------------- */

#offer-content {
    min-height: 100vh;
    background: url('../img/services-background.png');
    background-size: cover;
}

.offer-h1 {
    padding-top: 40px;
    font-size: 3.5em;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px #5a6459;
    margin-bottom: 30px;
    text-align: center;
}

.offer-text {
    display: block;
    width: 90%;
    margin: auto;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #1c1e2d;
    text-align: center;
    letter-spacing: 1px;
}

.offer-img {
    margin:auto;
    height: 200px;
    padding-bottom: 10px;
}

.offer-card {
    width: 100%;
    min-height: 300px;
    border-radius: 20px;
    background: #f5f5f5;
    position: relative;
    padding: 1.8rem;
    border: 2px solid #c3c6ce;
    transition: 0.5s ease-out;
    overflow: visible;
    margin: auto;
    margin-bottom: 30px;
}

#offer-less1, #offer-less2, #offer-less3 {
    display: none;
}

.offer-card-less {
    width: 100%;
    min-height: 300px;
    border-radius: 20px;
    background: #f3e6ff;
    position: relative;
    padding: 1.8rem;
    border: 2px solid #c8c3ce;
    transition: 0.5s ease-out;
    overflow: visible;
    margin: auto;
    margin-bottom: 30px;
}
   
.offer-card-details {
    color: black;
    height: 100%;
    gap: .5em;
    display: grid;
    place-content: center;
}
   
.offer-card-button {
    transform: translate(-50%, 125%);
    width: 60%;
    border-radius: 1rem;
    border: none;
    background-color: #6c00ca;
    color: #fff;
    font-size: 1rem;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    transition: 0.3s ease-out;
}
   
.offer-text-body {
    color: rgb(105, 105, 105);
    letter-spacing: 2px;
    text-align: center;
}

.offer-services-fee {
    color: rgb(51, 51, 51);
    letter-spacing: 0.5px;
    text-align: center;
}

.blockchain-text {
    line-height: 1.8;
}

.general-text {
    line-height: 1.8;
    padding-bottom: 140px;
}

.offer-table {
    margin-top: 4px;
}

.offer-table td {
    padding-top: 10px;
}

.offer-table .td-right {
    text-align: right;
}
   
/*Text*/
.offer-text-title {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}
   
/*Hover*/
.offer-card:hover {
    border-color: #6c00ca;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}
   
.offer-card:hover .offer-card-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}

.offer-card-less:hover {
    border-color: #6c00ca;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.offer-card-less:hover .offer-card-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}

/* ------------------------------------- SECTION CONTACT ------------------------------------- */
#contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to bottom, #328CA9, #2C4EA3, #102446);
}

#contact-content::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #328CA9, #2C4EA3, #102446);
}

.contact-wrapper {
    position: relative;
    min-width: 1100px;
    min-height: 550px;
    display: flex;
    z-index: 100;
}

.contact-wrapper .contactInfo {
    position: absolute;
    top: 40px;
    width: 350px;
    height: calc(100% - 80px);
    background: #102446;
    z-index: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.contact-wrapper .contactInfo h2 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.contact-wrapper .contactInfo ul.info {
    position: relative;
    margin: 20px 0;
}

.contact-wrapper .contactInfo ul.info li {
    position: relative;
    list-style: none;
    display: flex;
    margin: 20px 0;
    cursor: pointer;
    align-items: flex-start;
}

.contact-wrapper .contactInfo ul.info li span:nth-child(1) {
    width: 30px;
    min-width: 30px;
}

.contact-wrapper .contactInfo ul.info li span:nth-child(1) i {
    max-width: 100%;
    filter: invert(1);
}

.contact-wrapper .contactInfo ul.info li span:nth-child(2) {
    color: #fff;
    margin-left: 10px;
    font-weight: 300;
}

.contact-wrapper .contactInfo ul.sci {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-wrapper .contactInfo ul.sci li {
    list-style: none;
    margin-right: 15px;
}

.contact-wrapper .contactInfo ul.sci a {
    text-decoration: none;
}

.contact-wrapper .contactInfo ul.sci i {
    color: #fff;
    font-size: 1.5em;
}

.contact-wrapper .contactForm {
    position: absolute;
    padding: 70px 50px;
    padding-left: 250px;
    margin-left: 150px;
    width: calc(100% - 150px);
    height: 100%;
    background: #fff;
    box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
}

.contact-wrapper .contactForm h2 {
    color: #102446;
    font-size: 24px;
    font-weight: bold;
}

.contact-wrapper .contactForm .formBox {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
}

.contact-wrapper .contactForm .formBox .inputBox {
    position: relative;
    margin-bottom: 35px;
}

.contact-wrapper .contactForm .formBox .inputBox.w50 {
    width: 47%;
} 

.contact-wrapper .contactForm .formBox .inputBox.w100 {
    width: 100%;
}

.contact-wrapper .contactForm .formBox .inputBox input,
.contact-wrapper .contactForm .formBox .inputBox textarea {
    width: 100%;
    resize: none;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 300;
    color: #3d535f;
    border: none;
    outline: none;
    border-bottom: 1px #3d535f solid;
}

.contact-wrapper .contactForm .formBox .inputBox textarea {
    height: 120px;
}

.contact-wrapper .contactForm .formBox .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    pointer-events: none;
    color: #102446;
    font-size: 18px;
    font-weight: 300;
    transition: 0.3s;
}

.contact-wrapper .contactForm .formBox .inputBox input:focus ~ span,
.contact-wrapper .contactForm .formBox .inputBox input:valid ~ span,
.contact-wrapper .contactForm .formBox .inputBox textarea:focus ~ span,
.contact-wrapper .contactForm .formBox .inputBox textarea:focus ~ span {
    transform: translateY(-20px);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
}

.contact-wrapper .contactForm .formBox .inputBox input[type="submit"] {
    position: relative;
    cursor: pointer;
    background: #102446;
    color: #fff;
    border: none;
    width: 50%;
    padding: 8px 14px;
    border-radius: 5px;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    transition: 0.5s;
}

.contact-wrapper .contactForm .formBox .inputBox input[type="submit"]:hover {
    background: #328CA9;
    letter-spacing: 0.1em;
}

/* ------------------------------------- FOOTER ------------------------------------- */
footer {
    background: #102446;
    color: #f3f5f8;
}
.footer-content {
    padding: 10px;
    text-align: center;
}

@media only screen and (max-width: 1200px) {
    .contact-wrapper {
        width: 90%;
        min-width: auto;
        margin: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }
    .contact-wrapper .contactInfo {
        top: 0;
        height: 550px;
        position: relative;
        box-shadow: none;
    }
    .contact-wrapper .contactForm {
        position: relative;
        width: calc(100% - 350px);
        padding-left: 0;
        margin-left: 0;
        padding: 40px;
        height: 550px;
        box-shadow: none;
    }
}

@media only screen and (max-width: 1130px) {
    .links {
        position: absolute;
        left: 0;
        margin-top: 100px;
    }
    .links a {
        margin: 0 0 0 10px;
        padding: 0;
        display: block;
    }
    h1 {
        font-size: 4em;
    }
    .btns {
       text-align: left;
    }
}

@media only screen and (max-width: 992px) {
    .topline {
        font-size: 20px;
    }
    .topline::after {
        position: absolute;
        content: '';
        height: 3px;
        width: 25px;
        bottom: 6px;
        background-color: #0e5fb5;
    }
    h1 {
        font-size: 3em;
    }
    p {
        font-size: 15px;
    }
    .imgbox #me {
        width: 400px;
    }
    #CV {
        font-size: 12px;
    }
    #contact-content {
        background: #aed5ea;
    }
    #contact-content::before {
        display: none;
    }
    .contact-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    .contact-wrapper .contactForm {
        width: 100%;
        height: auto;
    }
    .contact-wrapper .contactInfo {
        width: 100%;
        height: auto;
        flex-direction: row;
    }
    .contact-wrapper .contactInfo ul.sci {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 860px) {
    .links {
        display: none;
    }
    .home-text {
        width: 100%;
    }
    #CV {
        width: 100%;
    }
}

@media only screen and (max-width: 760px) {
    #menu-desktop {
        display: none;
    }
    #menu-mobile {
        display: block;
    }
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    #home-img {
        display: none;
    }
    .mobile-img {
        display: flex;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 700px) {
    .contact-wrapper .contactForm {
        padding: 25px;
    }
    .contact-wrapper .contactInfo {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-wrapper .contactInfo ul.sci {
        margin-top: 40px;
    }
    .contact-wrapper .contactForm .formBox .inputBox.w50 {
        width: 100%;
    }
    .contact-wrapper .contactForm .formBox .inputBox input[type="submit"] {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    h1.home-h1 {
        font-size: 2.5em;
        font-weight: 900;
    }
    .home-text {
        font-size: 0.98em;
    }
    .about-hobby {
        text-align: center;
        width: 100%;
        order: 2;
    }
    .hobby-show {
        display: none;
    }
    .about-br {
        display: none;
    }
    #CV {
        font-size: 1.5em;
        padding: 14px;
    }
    .cv-icon {
        font-size: 1em;
        margin-bottom: 0;
    }
    .btn-cv {
        position: relative;
        text-align: center;
    }
    .projects-content .box .box-content img {
        width: 5rem;
    }
    .projects-content .box .box-content i {
        font-size: 5em;
        margin-bottom: 10px;
    }
    .projects-h2 {
        font-size: 2em;
    }
    .projects-p {
        width: 90%;
        text-align: center;
        font-size: 1em;
    }
    .projects-btn {
        font-size: 1em;      
    }
    #skills-content {
        padding: 10vh 0;
    }
    #skills-content .skills_head h2 {
        font-size: 3em;
    }
    .skills_main {
        grid-template-columns: repeat(1, 1fr);
    }
}