@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Open+Sans:ital@1&family=Roboto:wght@300;700&display=swap');

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* background: rgba(0, 128, 0, 0.3); */
  color: white;
  background-image: linear-gradient(to top,#a6c1ee 20%, #fbc2eb 55%, #a6c1ee 100%);
  /* background-image: linear-gradient(to top, #a8edea 0%, #fed6e3  100%); */
  font-family: Arial, Helvetica, sans-serif;
}

.browser {
  margin-top: 100px;
}

.browser >h2,h5,h6, p {
  margin: 4px;
  font-size: 100%;
  margin-left: 6.579em;
  margin-right: 6.579em;
}


h1{
/* margin-bottom: 80px; */
font-family: 'Courier New', Courier, monospace;
}

/* .browser > section{
  margin-top: 100px;
} */

/* Style the top navigation bar */
.topnav {
  /* overflow: hidden; */
  /* background-color: transparent; */
  background: rgba(4, 40, 170, 0.1);
  position: fixed;
  width: 100%;
  top: 0;  
  /* right: 2%; */
  
}

/* Style the topnav links */
.topnav a {
  float: right;
  /* background-color: #a7a6cb; */
  color: white;
  /* text-align: center; */
  padding: 8px 5px;
  text-decoration: none;
  border-radius: 50%; 
  /* width: 80px; */
  height: 50px;
  margin: auto 8px;
  font-size: 18px;
}

/* .topnav a:visited{
  background-color: #a6c1ee ;
} */

.name{
  float: left;
  display: block;
  color: #f2f2f2;
  padding-left: 20px;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: -20px;
}

/* Change color on hover */
.topnav a:hover:not(.active) {
  background-color: #ddd;
  color: black;
}

.browser1{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column; 
  /* margin-top: -30px; */
}

.avatar{
  width: 100px; 
  height: 100px; 
  border-radius: 50%; 
  border: 5px solid #a6c1ee !important;
}

.avatar-container{
  position: relative;
}

.page1 >h4{
  font-size: 40px;
}

.avatar-icon{
  position: absolute;
  bottom: -10px; 
  left: 50%;
  transform: translateX(-50%); 
  color:  #1f5120;
  font-size: 40px;
}

#p1{
  margin: 6px auto;
  font-size: 20px;
  margin-left: 0.5em;
  margin-right: 0.5em;
  text-align: center;
}

.lables{
  color: white;
  padding: 8px;
  font-family: Arial;
  position: relative;
  /* bottom: -280px; */
  margin: 13px;
  /* background-color: #F7F5EE;
  border: solid 1px #AC9675; */
}

.lables span{
  padding: 5px;;
}

.success {background-color: #04AA6D;} /* Green */
.info {background-color: #2196F3;} /* Blue */
.warning {background-color: #ff9800;} /* Orange */
.danger {background-color: #f44336;} /* Red */ 
.other {background-color: #e7e7e7; color: black;} /* Gray */ 

.open-button{
  position: absolute;
  margin-top: 50px;
  transform: translateX(-50%); 
  font-size: 20px;
  width: 160px;
  height: 60px;
  border-radius: 15px; 
  left: 50%;
  color: #fa709a;
  border: 1px solid #f1f1f1;
}

.open-button:hover{
  opacity: 0.8;
  background-color: rgba(207, 12, 30, 0.3);
  color: white;
  cursor: pointer;
}


/* 
.popup{
  box-sizing: border-box;
} */


/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 5%;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 600px;
  padding: 10px;
  background-color: white;
  color: #1f5120;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

.page1{
  font-size: 30px;
  padding: 10px 200px;
  text-align: center;
}

h4{
  font-family: 'Open Sans', italic;
  }

/* .section1{
  margin-top: 200px;
} */

#about{
  margin: 100px 50px;
  flex-direction: column; 
  display: flex;
  align-items: center;
  /* justify-content: center; */
  border: solid 1px transparent;
   /* change color later*/
}

section.left{
  width: 40%;
  padding: 25px 20px;
  height: 50%;
  background-color: #F7F5EE;
  border: solid 1px #AC9675;
  float: left;
  margin-left: 40px;
  margin-right: 4.375em;
  border-radius: 25px;
  overflow: hidden;
  box-sizing: border-box; 
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 35px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

.right01, .right02, .right03 {
  /* width: 28.125em; */
  height: 180px;
  /* background-color: #F7F5EE; */
  /* border: solid 1px #AC9675; */
  border: solid 1px transparent;
  /* margin: 20px 0 1px 45px; */
  /* border-radius: 15px 25px; */
  overflow: hidden;     
  /* color: #AC9675;; */
  color: white;
  position: relative;
}


.section1 > h2 {
  text-align: center;
  padding: 32px;
}

.row {
  display: -ms-flexbox; /* IE 10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE 10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create two equal columns that sits next to each other */
.column {
  -ms-flex: 50%; /* IE 10 */
  flex: 50%;
  padding: 0 4px;
}

.myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  margin: 3px;
}

.myImg:hover {opacity: 0.7;}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  margin: auto;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.modal-content{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 650px;
}



#portfolio{
  /* margin: 100px 50px; */
  flex-direction: column; 
  display: flex;
  border: solid 1px transparent;
   /* change color later*/
   /* background-color: #f4f3f3 ; */
   /* color: #fa709a; */
   color: white;
   text-align: center;

}

#portfolio h3{
font-size: 35px;
}

.quote{
font-size: 25px;
font-family: 'Courier New', Courier, monospace;

}



.left_pof1{
  width: 45%;
  padding: 10px 10px;
  height: 60%;
  /* background-color: #F7F5EE;
  border: solid 1px #AC9675; */
  float: left;
  margin-left: 100px;
  margin-right: 10px;
  border-radius: 25px;
  overflow: hidden;
  box-sizing: border-box;  
  text-align: start;
}

.right_pof{
  width: 28.125em;
  /* height: 500px; */
  /* background-color: #F7F5EE;
  border: solid 1px #AC9675; */
  margin: 15px 0 10px 10px;
  border-radius: 15px 25px;
  overflow: hidden;     
  color: #AC9675;;
  position: relative;
  display: -ms-flexbox; 
  display: flex;
  padding-left: 100px;
}

#portfolio > h3,h4{
  color: #fa709a;
}




@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}


@media only screen and (max-width: 1000px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }


}

@media only screen and (max-width: 950px) {
  .responsive {
    width: 100%;
  }

  section.left{
    width: 80%;
    margin-bottom: 50px;
    }
  
 .right01, .right02, .right03 {
    width: 95%;
    /* padding-left: 1%; */
    height: 20%;
    background-color: #F7F5EE;
    /* background-color: blue; */
    border: solid 1px #AC9675;
    border-radius: 15px 25px;
    overflow: hidden;  
    margin-left: 60px;
    margin-top: 20px;
    color: #78a0e4;
    padding-left: 30px;
    }


  /* .page1P{
    height: 30%;
    float: left;
    margin: 50px 19px;
    overflow: hidden;
    padding-left: 1em; 
  } */
  .topnav a {
    padding: 8px 2px;
    border-radius: 25px; ;

    width: 80px;
    margin: auto 2px;
  }

  .page1{
    margin-top: 10px;
    font-size: 16px;
  }

  .avatar{
    width: 120px; 
    height: 120px; 
  }

  .app{
    width: 80%;
    margin-top: 20px;
    }

  .left_pof{
    width: 100%;
    height: 20%;
    overflow: hidden;  
    margin-left: 60px;
    margin-top: 20px;
    margin-bottom: 100px;
  }
  .left_pof1{
    width: 80%;
    margin-left: 60px;
  
  }

  #portfolio h2{
    margin-left: -370px;
    position: relative;
  }


  .page1 > h4{
    font-size: 25px;
  }

  .page1{
    font-size: 20px;
    padding: 10px 10px;
    text-align: center;
  }

  .topnav a {
    /* float: right; */
    /* background-color: #a7a6cb; */
    color: white;
    display: inline-block;
    /* text-align: center; */
    padding: 2px 0;
    border-radius: 50%; 
    /* width: 80px; */
    height: 50px;
    margin: auto 2px;
    font-size: 15px;
  }

}


  /* footer page */
  .container {
    width: 100%;
    height: 100%;
    padding-right: 15px;
    padding-left: 50px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
    flex-direction: column; 
    display: flex;
    text-align: center;
  }
  
  .name {
    margin-top: 15px !important;
  }
  
  .w3-theme-d3 {
    background-color: rgb(207, 195, 227, 0.6) !important;
  }
  
  .w3-theme-d3:hover {
    background-color: rgba(207, 159, 255, 0.8) !important;
  }
  
  a {
    font-size: x-large;
  }
  
  .w3-border {
    border: 3px solid #ccc !important;
  }
  
  .links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .links-container a {
    width: 80%;
  }
  
  .profession {
    font-size: 14px;
  }
  
  .subscribe {
    font-size: 15px;
    position: relative;
    margin: 10px auto;
    display: block;
  }
  
  .submit form {
    /* display: flex; */
    display: block;
    flex-direction: column;
    /* background-color: #04AA6D; */
  }
  
  .submit form button {
    margin-top: 5px;
    background-color: rgba(27, 122, 159, 0.9) !important;
    color: #fff !important;
  }
  
  .submit form button:hover {
    background-color: rgba(15, 67, 87, 0.9) !important;
    color: #fff !important;
  }
  .submit form input {
    width: 100% !important;
  }
  .submit form input::placeholder {
    color: #fff;
  }
  
  .icons {
    display: flex;
    gap: 40px;
    margin-top: 100px;
    position: relative;
  }
  
  .icons a {
    text-decoration: none;
  }
  
  .icons a svg {
    fill: #d0ecf7;
    transform: scale(1.5);
  }

  footer{
    text-align: center;
  }

  
  @media screen and (min-width: 768px) {
    .link {
      width: 100%;
    }


  }
  @media screen and (min-width: 576px) {
    .container {
      max-width: 540px;
    }
  
    .profession {
      font-size: 24px;
    }

  }



  .firework {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color:#ae8cd1;
    border-radius: 50%;
    animation: explode 1s linear infinite;
  }

  @keyframes explode {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(10);
      opacity: 0;
    }
  }



