@import 'https://fonts.googleapis.com/css?family=Abel';

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: 'Abel', sans-serif;
  text-align: center;
}

* {
  margin: 0;
  padding: 0;
}

hr {
    border: none;
    background: #a4f7d7;
    text-align: center;
    height: 100px;
}

a{
      text-decoration: none;
}

li{
      list-style: none;
}

nav ul {
  position: fixed;
  z-index: 3;
  width: 100%;
  background-color: #cacaca;
  font-family: "Abel", sans-serif;
  font-size: 1.7em;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 50px;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
}

nav ul li a:hover {
  color: #a4f7d7;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  background-color: #ababab;
  position: absolute;
  font-size: 0.8em;
  width: 100%;
  z-index: 1;
  top: 100%;
  margin-top: -10px;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.3); /* Adds shadow to the dropdown menu */
}

.dropdown-content a {
  display: flex;
  text-align: left;
  align-items: center;
  text-decoration: none;
}

.dropdownText {
  margin-top: 10px;
  margin-left: 10px;
}

.dropdown.open .dropbtn {
  background-color: #ababab;
}

.dropbtn::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
  transition: transform 0.3s ease;
}

.dropdown.open .dropbtn::after {
  transform: translateY(-50%) rotate(180deg); 
}

.lang-menu {
  display: flex;
  gap: 10px; /* Space between language buttons */
}

.language-selector {
  display: flex;
  gap: 15px;
  align-items: center; /* Vertically align language icons */
}

.lang-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.langButton {
  width: 30px; /* Size of the flag icons */
  height: auto;
  margin-bottom: 5px; /* Space between icon and label */
}

.lang-label {
  font-size: 12px;
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}

/* Welcome */
#Welcome{
    position:relative;
    height: 600px;
}

#Welcome .bg-image {
    background-color: #a4f7d7;
    position: absolute;
  	left:0;
	  right:0;
	  top: 0;
    bottom:0;
    background-image: url("../Assets/Banner.png");

    height: 100%;
    background-size: cover; 
    z-index:1;

    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);

}

#Welcome .bg-text{
  background-color: #BFFFE6;
  background-color: rgba(0,0,0, 0.5); 
  color: white;
  position: relative;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-weight: bold;
  text-align: center;
}

/* About me */

.about {
  padding-top: 80px;
  margin-top: -60px;
  padding-bottom: 80px;
  background-color: #b9b9b9;
}

.Portrait {
  margin-top: 10px;
  position: relative;
  display:inline-block;
  width: 130px; 
  height: 130px; 
  overflow: hidden; 
  border-radius: 50%; 
  border: 1px solid #000000;
}

.Portrait img{
  width: 120%; 
  height: auto;
}

.about .About-header {
  margin-top: 10px;
  color: #111;
  font-weight: bold;
  font-size: 1.8em; 
}

.About-text{
  margin: auto;
  width: 30%;
  color: #111;
  font-weight: normal;
}

/* Skills */

.skills{
padding-top: 90px;
margin-top: -60px;
padding-bottom: 60px;
background-color: #b9b9b9;
}

.skills .Skills-header {
  margin-top: 10px;
  color: #111;
  font-weight: bold;
  font-size: 1.4em; 
}
  
.logos{
padding-top: 10px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
margin: 0 auto;
max-width: 400px;
}

.logo{      
overflow: hidden; 
}
  
.logo img{		
width: 55px;    
height: 55px;
}

/* Portfolio */

.work {
  padding-top: 10px;
  margin-top: -60px;
  padding-bottom: 60px;
  background-color: #b9b9b9;
}

.work .Portfolio-header {
  margin-top: 90px;
  color: #111;
  font-weight: bold;
  font-size: 1.8em; 
}

.work-header{
  margin-top: 40px;
  color: #111;
  font-weight: bold;
  font-size: 1.8em; 
}

.work-header-nolink{
  margin-top: 40px;
  color: #111;
  font-weight: bold;
  font-size: 1.8em; 
}

.work-header:hover{
  color: #a4f7d7;
  text-decoration: underline;
}

.script-showcase{
  margin-top: 35px;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(4fr, auto);
  grid-gap: 8px;
}

.portfolio-showcase .script-showcase {
  width: 48%; 
  box-sizing: border-box; 
  margin-bottom: 20px; 
}

.wip-icon{ 
  width: 31px;
  height: 18px;
  margin-left: 10px;
  opacity: 0;
}

.wip-icon.show{
  opacity: 1;
}

.script-showcase h2{
  text-align: left; 
  font-weight: bold;
  font-size: 1.2em; 
  grid-column: 2;
  grid-row: 1;
}

.script-showcase p{
    text-align: left;  
    width: 60%;
    grid-column: 2;
    grid-row: 2;
}

.script-gif{
    width: 200px;
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    border-style: solid;
    border-width: 1px
}

.sourcecode-link{
    grid-column: 2;
    grid-row: 3;
    color: #00524e;
    font-size: 1.1em; 
    text-decoration: none;
    justify-self: left;
    text-decoration: underline;
}

.sourcecode-link:hover{
  color: #a4f7d7;
}

.used-tools{
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
}

.used-tools img{
    width: 30px;
    height: 30px;
    justify-self: end;
}

.work-description{
    margin: auto;
    width: 35%;
    text-align: center;    
}

.portfolio-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
}

/* Contact */
.contact{
  padding-top: 30px;
  margin-top: -60px;
  padding-bottom: 30px;
  background-color: #b9b9b9;
}

.contact .Contact-header {
  margin-top: 10px;
  margin-bottom: 20px;
  color: #111;
  font-weight: bold;
  font-size: 1.8em; 
}

.mail-link{
    color: #00524e;
    font-size: 1.9em; 
    text-decoration: none;
    text-decoration: underline;
}

.mail-link:hover{
    color: #a4f7d7;
}

.contactDetails{
  margin-top: 10px;
}

.contact-img{
    margin-top: 20px;
    padding: 30px;
    width: 55px; 
    height: 55px;
}

.contact-item:hover{
    opacity: 0.5;
    text-decoration: underline;
}


/* RESPONSIVENESS SMALLER SCREENS */
@media screen and (max-width: 1024px) {
  nav ul {
    text-align: center;
    font-size: 1em; 
    margin: 0;
    display: flex;
    justify-content: center;
  }

  nav ul li {
    margin: 0 5px; 
  }

  nav ul li a {
    padding: 8px 12px; 
    font-size: 1em; 
  }

  .About-text,
  .work-description {
    width: 80%;
    margin: 0 auto;
  }

  .script-showcase p {
    width: 90%;
    font-size: 1em;
    margin: 0 auto;
  }

  .dropdown-content {
    min-width: 160px;
    left: 0;
    right: auto;
  }

  .dropdown-content a {
    display: flex;
    align-items: center; 
    padding: 0px 0px; 
  }

  .dropdownText {
    margin-top: 10px;
    margin-left: 0px;
  }

  .dropdown-content a img {
    width: 25px; 
    height: auto;
    margin-right: 10px;
  }
}



/* For screens with a max-width of 768px */
@media screen and (max-width: 768px) {
  nav ul {
    font-size: 1em;
    padding: 0 15px;
    justify-content: center;
  }

  nav ul li {
    margin: 0 5px; 
  }

  nav ul li a {
    padding: 8px 12px; 
    font-size: 1em;
  }
  
  .portfolio-showcase .script-showcase {
    width: 100%; 
  }

  .About-text,
  .work-description {
    width: 90%;
    margin: 0 auto;
  }

  .script-showcase p {
    width: 100%;
    font-size: 0.9em;
    margin: 10px auto;
  }

  .dropdown-content {
    min-width: 100%;
    left: 0;
    right: auto;
  }

  .dropbtn img {
    width: 20px; 
  }

  .dropdown-content a {
    display: flex;
    align-items: center;
  }

  .dropdown-content a img {
    width: 20px;
    margin-right: 8px; 
  }
}

/* For screens with a max-width of 480px */
@media screen and (max-width: 480px) {
  nav ul {
    font-size: 0.9em;
    padding: 0 10px; 
  }

  nav ul li {
    margin: 0 5px;
  }

  nav ul li a {
    font-size: 0.9em; 
    padding: 6px 10px;
  }

  .About-text,
  .work-description {
    width: 95%;
  }

  .script-showcase p {
    width: 100%;
    font-size: 0.8em;
  }

  .dropbtn img {
    width: 18px;
  }

  .dropdown-content a {
    display: flex;
    align-items: center; 
  }

  .dropdown-content a img {
    width: 18px;
    margin-right: 6px; 
  }
}



