@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

:root {
    --background-color: rgba(1, 8, 14, 0.78);
    font-size: 15px;
}

.small-letters, .medium-letters, .big-letters {
    margin-top:0.5rem;
    text-align: left;
}
.small-letters {
    font-weight: 500;
    font-size: 0.91rem;
    margin:auto;
    margin-left:0.05rem;
    margin-bottom:0.6rem;
    letter-spacing: var(--letter-spacing-small);
    line-height: var(--line-height-medium);
}
.medium-letters {
    font-size: 0.9rem;
    letter-spacing: var(--letter-spacing-small);
    line-height:1.25rem;
    text-shadow: 2px 2px 3px #0000004d;
    cursor:text;
}
.big-letters {
    font-size: 2.25rem;
    margin-bottom:0.2rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-small);
}
.testing {
    display:flex;
    margin:auto;
    margin-bottom:var(--margin-medium);
    margin-bottom:1.2rem;
    overflow:hidden;

    opacity: 0;
    animation-name: fade-in;
    animation-duration: 2.0s;
    animation-fill-mode: forwards;
    animation-delay: 0.4s;
}
.marked {
    font-weight: 500 !important;
}
.btn-row {
    margin-top:2.7rem;
    display:flex;
    gap:1rem;
}
.btn {
    padding:0.65rem 1.70rem;
    border:1px solid var(--font-color-blue);
    outline:none;
    background: rgba(0,0,0,0.35);
    color:var(--font-color-white);
    cursor:pointer;
    letter-spacing: var(--letter-spacing-small);
    border-radius: 3px;
    transition: all 0.3s;
    font-size: 0.80rem;
    font-weight: 500;
    min-width: 7.3rem;
    min-height: 2.5rem;
}
.btn:hover {
    background: rgba(0,0,0,0.7);
    /* border:2px solid rgb(25, 148, 192); */
}
.blue {
    color:var(--font-color-blue);
}


:root {
    --letter-spacing-small:0.03rem ;
    --letter-spacing-medium:0.07rem ;
    --letter-spacing-large:0.08rem ;
    --letter-spacing-xlarge:0.1rem ;

    --font-color-dark: rgb(44, 48, 51);
    --font-color-white: rgb(241, 244, 247);
    --font-color-blue: #10e7ff;

    --margin-medium: 2.5rem;

    --line-height-small:1.2rem;
    --line-height-medium:1.2rem;
}
* {
    font-family: 'Roboto', sans-serif;
    overflow-x:hidden;
}
html {
  margin: 0px;
  padding:0;
  color:var(--font-color-white);
}
video {
    height:100vh;
    width:100%;
    object-fit: cover;
    position: absolute;
    z-index:-1;
    filter:brightness(0.7);
}

body {
    /* background: rgba(5, 0, 12, 0.2); */
    margin: 0px;
    padding:0;
}
.wrapper{
    width:100%;
}

header {
    letter-spacing: var(--letter-spacing-small);
    /* background: rgba(0,0,0,0.10); */
    list-style: none;
    display:flex;
    padding:1.1rem 5rem;
    position:absolute;
    width:100%;
    justify-content: space-between;
}
li {
    display:flex !important;
    align-items: center;
}
header li {
    /* font-weight: 550; */
}
header li a {
    color:rgb(215, 228, 231);
    font-size: 0.90rem;
}
.section-intro{
    flex-wrap: wrap;
    display: inline-flex;
    width:100%;
    height:100vh;
    z-index:2;
    user-select: none;
    
}
.intro {
    display:none;
    text-align: center;
    margin: auto;
    max-width:43rem;
    color:var(--font-color-white);
    padding:1.5rem;
}
.fade-in {
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 1.7s;
    animation-fill-mode: forwards;
  }
  
  @keyframes fade-in {
    from {
        transform:translateY(2.2rem);
        opacity: 0;
    }
    to {
        transform:translateY(0rem);
        opacity: 1;
    }
  }
/* .upper-line {
    margin:auto;
    width: 235px;
    overflow:hidden;
    display: flex;
    border-bottom:1px solid white;
    justify-content: center;
} */
.name {
    font-size: 1.37rem;
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 0px 0px 6px rgba(49, 130, 148, 0.5);
    margin-bottom:-0.95rem;
    padding:1.05rem;
    transition: 0.2s;
    overflow:hidden;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
.name:hover {
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 0px 0px 10px rgba(92, 171, 189, 0.9);    margin-bottom:-0.95rem;
}

.portrait {
    object-fit: cover;
    border-radius: 100%;
    opacity: 98%;
    filter: brightness(60%);
    width:4.5rem;
    margin:0;
    transition: all .25s;
    overflow:hidden;
}
.portrait:hover {
}
#tur {
    background: url('public/images/tur.jpg') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height:47rem;
    width:100%;
}
#tur-overlay {
    background:rgba(35, 43, 54, 0.73);
    width:100%;
    height:100%;
}
.getit {
    font-size: 1.8rem;
    display:flex;
    justify-content: center;
    letter-spacing: 0.12rem;
    color:rgb(247, 242, 242);
    align-items: center;
}
.getit div {
    /* margin:auto auto; */
    margin-top:20.9rem;
    border-bottom:2px solid rgb(191, 198, 208);
    padding:0 0.31rem;

}
img {
    transition: all 0.7s;
}
img:hover {
}
.about-img-container {
    display: flex;
    justify-content: center;

}
.about-img {
    object-fit: cover;
    border-radius: 0.62rem;
    max-width: 25rem;
    width:100%;
    opacity: 95%;
}
.about {
    background:rgba(0,0,0,0.7);
    width:100%;
    height: 100%;
    text-align: center;
    text-shadow: 0 0px 0 #000, 1px 0px 0 #000, 0px 0px 0 #000, 0px 0px 1px rgb(150, 214, 228);  
}
.about-text {
    width:37.5rem;
    margin:auto;
}
.position {
    margin-top:0;
    line-height:2.5rem;
    text-decoration-line: underline;
    padding-bottom: 0.62rem;
    text-decoration-color: rgb(8 112 149);
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 0px 0px 7px rgba(90, 150, 162, 0.6);
    font-size: 1rem;
    letter-spacing: 0.08rem;
    transition: all 0.2s;
    overflow:hidden;
}
.position:hover {
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 2px 2px 16px rgba(185, 222, 236, 0.6);
}
.marked {
    font-weight: 400;
}
.about-title {
    color:var(--font-color-dark);
    font-weight: 300;
    text-align:center;
    font-size: 2.2rem;
}
.btn-project button {
    min-width:9rem;
    margin: 0.3rem 1rem;
    margin-bottom: 3rem;
    display: inline-block;
    border: none;
    border-radius: 4px;
    background: #041929;
}
.btn-project button:hover {
    background: #051c2e;
}
.section-apart {
    display: flex;
    justify-content: center;
}
.apart {
    border:1px solid black;
    max-width:50rem;
    margin:0.62rem;
    padding:0.62rem;
    text-align: center;
}

.section-projects {
    display: flex;
    justify-content: center;
    margin: auto;
    width:100%;
}
.left {
}
.right {
}
.hyphon {
    margin-right:0.25rem;
}
.description {
    font-size: 0.90rem;
    text-align: left !important;
    padding: 1.6rem !important;
    letter-spacing:0.015rem;
    letter-spacing:var(--letter-spacing-small);
    line-height: var(--line-height-small);
}
.project-name {
    padding:0.31rem;
    font-weight: 400;
    margin:0;
    text-align: center;
    font-size: 1.75rem;
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 2px 2px 7px rgb(23 70 79);
    letter-spacing: var(--letter-spacing-xlarge);
}
.project-img {
    object-fit: cover;
    opacity:98%;
    width:100%;
}
.project-img-container {
    overflow: hidden;

}

.contact {
    width:100%;
    text-align: center;
    margin:auto;
    background:rgb(1, 12, 23)
}
.logo-div {
    display: inline-flex;
}
.logo {
    font-size: 1.7rem;
}

/* fix logo plsition */
.fa-user-circle:before {
    content: "\f2bd";
    padding-left: 1.75rem;
}
/* TEMP. DEFAULT IMG SETTING */
#emailMe {
    margin:auto auto;
    width:100%;
    display: block;
    text-align: center;
    padding:0;
    margin-bottom:1.25rem;
    font-size: 1.12rem;
}
.projects-headline {
    text-align: center;
    margin: 0px auto;
    padding: 1.3rem;
    background: rgba(3, 11, 19, 0.8);
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 0px 0px 7px rgb(23 70 79);
    font-weight: 400;
    font-size: 1.25rem;
}
.overlay {
    /* projects overlay */
    background: rgba(0,0,0,0.38);
}

a {
    text-decoration: none;
    color:var(--font-color-white);
}
header li {
    display:block;
}
header a {
    text-decoration: none;
    color:var(--font-color-white);
    transform: all 0.2s;
    font-size:0.95rem;
    font-weight: 500;
}
header a:hover {
    text-decoration: underline;
}
.timeline {
    /* text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 0px 0px 5px rgb(52, 115, 128); */
    position: relative;
    margin: 0 auto;
    width: 100%;
    background: url('public/images/bg.jpg') no-repeat center top fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-y:hidden;
}
ul {
    padding-top: 10%;
    padding-bottom: 10%;
    padding-left: 0;
}
.timeline ul li {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top:-3.12rem;
}

.point {
    min-width: 0.9rem;
    height: 0.9rem;
    background-color: rgb(202, 211, 215);
    border-radius: 100%;
    position: absolute;
    left: 50%;
    margin-left: -0.40rem;
}
.timeline ul li .content {
    width: 50%;
    max-width: 28rem;
    margin: auto;
    /* box-shadow: rgba(91, 161, 182, 0.15) 0px 20px 20px -20px, rgba(88, 120, 146, 0.1) 0px 30px 40px -30px; */
    transition: all 0.3s ease-in-out;
    overflow:hidden;
    border-radius: 18px;
}
.timeline ul li .content:hover {
    filter:brightness(1.07);
  }

  .timeline ul li .content:hover img {
    transform: scale(1.027);
  }

.project {
    background: var(--background-color);
    border-radius: 6px;
    text-align: center;
    max-width: 27rem;
    margin: auto;
    justify-content: center;
    text-shadow: 1px 1px 5px black;
    border:1px solid rgba(128, 128, 128, 0.172);
    border: none;
    backdrop-filter: blur(2px);
}

.timeline ul li:nth-child(odd) .content {
    padding-left: 0;
}

.timeline ul li:nth-child(odd) .date {
    padding-right: 0;
}

.timeline ul li:nth-child(even) .content {
    padding-right: 0;
}

.timeline ul li:nth-child(even) .date {
    padding-left: 0;
}

.timeline ul li .date {
    width: 50%;
    padding: 0 1.25rem;
    font-weight: normal;
}

.timeline ul li .date h4 {
    background-color: var(--background-color);
    width: fit-content;
    text-align: center;
    padding: 0.62rem 0.81rem;
    border-radius: 5px;
}
#button {
    width:7.8rem !important;
    font-size: 0.8rem;
}
h4 {
    font-size: 1.12rem;
    font-weight: normal;
}
h4 p {
    text-align: left;
    margin:0.5rem;
}
.feature {
    margin:0.75rem;
    font-size: 0.88rem;
    font-weight: normal !important;
    letter-spacing: var(--letter-spacing-small);
}
.timeline ul li .date {
    /* background:rgba(255,255,255,0.5); */
}
.timeline ul li .content h3 {
    padding: 0.62rem 1.25rem;
    background-color: #0d2d5b;
    margin-bottom: 0;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.timeline ul li .content p {
    padding: 0.62rem 1.25rem;
    /* background-color: #e1d9ec; */
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.timeline ul li:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline ul li:nth-child(even) .date h4 {
    float: right;
}

.timeline::before {
    content: "";
    position: absolute;
    height: 90%;
    width: 1px;
    left: 50%;
    top:6%;
    background-color: rgb(202, 211, 215) !important;
    margin-bottom:-6.25rem;
}



/* ABOUT TEMPLATE  */
body {
    margin: 0;
  }
  html {
    box-sizing: border-box;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  h2,h1 {
      text-align: center;
      letter-spacing: 0.08rem;
  }
  h1 {
    font-size:1.4rem;
  }


  .column {
    height:fit-content;
    max-width:25rem;
    padding: 1.5rem 0.8rem;
    color:var(--font-color-dark);
    overflow:hidden;
  }
  .project-card {
    float: left;
    max-width: 37.5rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    color:var(--font-color-dark);
    padding:4.6rem 0;
  }
  .card-container-2 {
    width:100%;
  }
  .card {
    background:white;
    border-radius: 3px;
    transition: ease-in-out 0.3s all;
    border-radius:10px;
    overflow:hidden;
    -moz-box-shadow:    3px 3px 8px 4px rgba(6, 65, 84, 0.13);
    -webkit-box-shadow: 3px 3px 8px 4px rgba(6, 65, 84, 0.13);
    box-shadow:         3px 3px 8px 4px rgba(6, 65, 84, 0.13);
  }
  .card:hover {
    -moz-box-shadow:    4px 3px 9px 5px rgba(6, 65, 84, 0.14);
    -webkit-box-shadow: 4px 3px 9px 5px rgba(6, 65, 84, 0.14);
    box-shadow:         4px 3px 9px 5px rgba(6, 65, 84, 0.14);
}
.card img {
    filter:brightness(0.96);
}
.card:hover img {
      transform: scale(1.025);
      filter:brightness(1.08);
  }
.card-title {
    margin-top:1.56rem;
    font-size:1.8rem;
    background:rgba(255, 255, 255, 0.782);
    padding:0.81rem;
    text-align: center;
    margin:0;
    font-weight: 300;
    letter-spacing: 0.12rem;
    color: var(--font-color-dark);
}
  .card-container-2 {
      display: flex;
      justify-content:space-evenly;
      align-items: center;
      flex-wrap: wrap;
  }
  .center-about {
    margin: 0px auto 2.1rem auto !important;
    padding: 0 0 0 0 !important;
    float: none !important;
    max-width: 62.5rem !important;
    width: 80% !important;
}
  .about-section {
    padding: 3.1rem;
    text-align: center;
    background-color: #bac8e6;
  }

  .container {
    padding: 0 1.31rem;
    font-size: 0.90rem;
    text-align: justify;
    letter-spacing: 0.02rem;
    font-weight: 300;
  }
  .about-p {
    line-height:1.2;
  }
  .row {
    background:rgb(247, 247, 247);
    min-height:80vh;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding:2rem;
  }
  .empty-space2 {
      margin-top:-3.1rem;
  }
  .container::after, .row::after {
    content: "";
    clear: both;
    display: table;
  }
  .title {
    color: #8a3605;
    font-size: 1.2rem;
    overflow:hidden;
    line-height: var(--line-height-medium);
    margin:0;
    margin-top:0.75rem;
    font-weight: 400 !important;
  }
  .title-personal {
      width:fit-content;
  }
  .container-personal p {
      margin:15px auto;
      text-align: justify;
  }

  .button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 0.75rem 0.9rem;
    color: var(--font-color-white);
    background-color: #000;
    text-align: center;
    cursor: pointer;
    min-width: 9.6rem;
    margin:12px auto;
    display:block;
    font-size:0.8rem;
    border-radius:3px;
    transition:0.2s;
    letter-spacing: var(--letter-spacing-small);
  }
  .btn-about {
    min-width:12rem;
    font-weight: 500;
  }
  .button:hover {
    background-color: rgb(34, 34, 40);
  }
  .button2 {
    max-width:9.3rem;
  }
  @media screen and (max-width: 1203px) {
    .column {
      width: 100%;
      display: block;
    }
    .empty-space {
        margin-bottom:-7.8rem !important;
    }
  }
.hidden {
    visibility:hidden;
}


  /* CONTACT TEMPLATE */
  form {
    margin:auto;
    padding:2.8rem 1.56rem 1.56rem 2.1rem;
    color:rgb(255, 255, 255);
    text-shadow: 1px 1px 4px black;
  }
.contact-title {
    background: rgb(12, 12, 12);
    margin: 0;

    text-align: center;
    padding: 1.3rem;
    text-shadow: 0 0px 0 #000, 0px 0px 0 #000, 0px 0px 0 #000, 0px 0px 7px rgb(23 70 79);
    font-weight: 400;
    font-size: 1.25rem;
}
.logo-label {
    margin-bottom:0.95rem;
    font-size:0.8rem;
    margin-top:0.31rem;
    margin-left:0.35rem;
    font-weight: 500;
    color:var(--font-color-white);
    width:9.3rem;
    text-align: center;
    letter-spacing: var(--letter-spacing-small);
}
  input, textarea {
    background: rgba(39, 39, 39, 0.55);
    border: 1px solid rgba(81, 81, 81, 0.95);
    backdrop-filter: blur(2px);
    outline:none;
    color:var(--font-color-white);
    transition:0.2s;
    letter-spacing: var(--letter-spacing-small);
  }
  input:hover, textarea:hover {
    background: rgba(46, 46, 46, 0.55);
    border: 1px solid rgba(89, 89, 89, 0.99);
    /* backdrop-filter: blur(3px); */
  }
  input[type=text], select, textarea {
    font-size: 0.86rem;
    padding: 0.8rem; /* Some padding */ 
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 0.37rem; /* Add a top margin */
    margin-bottom: 1.6rem; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: #111c2c;
    color: var(--font-color-white);
    padding: 0.95rem 1.37rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin:auto;
    display: block;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
        background-color: #1a2536;
    }
 
  /* Add a background color and some padding around the form */
  .contact-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Required for ::before to work */
    z-index: 1; /* Ensure content appears above the pseudo-element */
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(public/images/phone.jpg) no-repeat center center;
    background-size: cover;
    filter: brightness(0.75); /* Adjust brightness */
    z-index: -1; /* Place the pseudo-element behind the content */
}
  .contact-overlay {
      padding-top:1.25rem;
  }

  /* logos */
.contact-me {
    display: flex;
    justify-content: space-between;
    height:auto;
    max-width:750px;
    margin:auto;
    font-size:1rem; 
}
.contact-me a{
    min-width:9.3rem;
    text-align: center;
}
.fa-github:before {
    content: "\f09b";
    padding-right: 0;
}
#email {
    text-align: center;
}
.contact-me a {
    color:var(--font-color-white);
    transition: all 0.5s !important;
}
.contact-me a:hover {
    color: var(--font-color-blue);
    transition: all 0.7s !important;
}
#subject {
    height:9.3rem !important;
}
.copyright {
    font-size:0.68rem;
    color:rgb(187, 187, 187);
    display:flex;
    justify-content: center;
    letter-spacing: var(--letter-spacing-small);
}

::placeholder {
    color:rgb(201, 201, 201);
}
* {
    scroll-behavior: smooth
}

ul li {
    overflow:hidden;
}

label, input, textarea {
    width:95% !important;
    margin-left:0.95rem;
}
/* LOADING SCREEN */
/* .loading-text {
    background: black;
    position: absolute;
    height:100%;
    width:100%;
    z-index: 99;
    visibility: visible;
} */
.loader {
    visibility: visible;
    display:flex;
    position:absolute;
    flex-direction:column;
    height:100%;
    width:100%;
    background:rgba(0,0,0,1);
    z-index:100;
  }
  .spinner {
     visibility: visible;
     position:absolute;
     top: 40%;
     left:50%;
     margin-left:-2.3rem;
     height:5rem;
     width:5rem;
     -webkit-animation: rotation .6s infinite linear;
     -moz-animation: rotation .6s infinite linear;
     -o-animation: rotation .6s infinite linear;
     animation: rotation .6s infinite linear;
     border:5px solid rgba(0,174,239,.25);
     border-top:5px solid rgba(0,174,239,.8);
     border-radius:100%;
  }
  @-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
 }
 @-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
 }
 @-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
 }
 @keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
 }


/* MEDIA QUEIRES  */
@media only screen and (max-width: 758px) {
    .timeline ul li .date {
        display:none;
    }
    .timeline ul li {
        margin-top:0px;
    }
    .timeline ul li .content {
        width: 95%;
        margin: auto;
        margin-bottom:130px;
    }
    .timeline::before {
        display:none;
    }
    .point {
        display:none;
    }
  }
@media only screen and (max-width: 958px) {
    .center-about {
      width:100% !important;
    }
    .project {
        margin:auto 20px;
    }
  }

  @media only screen and (max-width: 600px) {
    .contact-me a {
      display:none;
    }
    .logo-label {
        display:none;
    }
    form {
        padding:15px;
    }
    .contact-title {
    }
  }


  @media only screen and (max-width: 1000px) {
    .card-title {
        font-size: 28px;
    }
}
  @media only screen and (max-width: 585px) {
        .card-title {
            font-size: 28px;
        }
  }
  @media only screen and (max-width: 410px) {
    .card-title {
        font-size: 22px;
    }
}

  @media only screen and (max-width: 780px) {

    #tur {
        display:none;
    }
}

@media only screen and (max-width: 490px) {

    .project {
        max-width:90%;
    }
}




/* OVERALL MEDIA BIG SCREEN */
@media only screen and (min-width: 1650px) {
    :root {
        font-size: 16px;
    }
}
@media only screen and (min-width: 1700px) {
    .project {
        max-width:fit-content;
    }
}

@media only screen and (min-width: 1800px) {
    :root {
        font-size:17px;
    }
    .contact-me {
        width:32vw;
        max-width:1000px;
    }
    .column {
        max-width:23vw;
    }
}
@media only screen and (min-width: 2100px) {
    :root  {
        font-size: 18px;
    }
}

@media only screen and (min-width: 3100px) {
    :root  {
        font-size: 20px;
    }
}

@media only screen and (min-width: 3500px) {
    :root {
        font-size:23px;
    }
    .contact-me {
        /* width:50vw;
        max-width:56rem; */
    }
}