@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap');
/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: rgb(87, 198, 107); 
  --second-color: #002c0c;
}
.header-image{
  width: 100vw;
}
/* Loading Stuff */
.loading-screen{
    position: absolute; /* Use absolute positioning to place the loading screen */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
#loading-image{
    width: 30vw;
    height: auto;
    margin-bottom: 20px;
}
#loading-text{
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  width: 400px;
  height: 80px;
  margin-top: 20px;
}
/* button */
.button-51 {
    background-color: transparent;
    border: 1px solid rgb(87, 198, 107);
    box-sizing: border-box;
    color: var(--second-color);
    font-family: "Avenir Next LT W01 Bold",sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 16px 23px;
    position: relative;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.button-51:hover,
.button-51:active {
  outline: 0;
}

.button-51:hover {
  background-color: transparent;
  cursor: pointer;
}

.button-51:before {
  background-color: #d5f6da;
  content: "";
  height: calc(100% + 3px);
  position: absolute;
  right: -7px;
  top: -9px;
  transition: background-color 300ms ease-in;
  width: 100%;
  z-index: -1;
}

.button-51:hover:before {
  background-color: #6df68b;
}

@media (min-width: 768px) {
  .button-51 {
    padding: 16px 32px;
  }
}
/* Main */
body {
  background-image: radial-gradient(circle, #ffffff, #e8e8e8, #d2d2d2, #bcbcbc, #a7a7a7);
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, grey 1px, transparent 1px),
    linear-gradient(to bottom, grey 1px, transparent 1px);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.P-image1{
    width: 60vw;
    height: auto;

}
.textback {
  background-color: white;
  border: 3px solid var(--primary-color); /* Use CSS variable */
  border-radius: 10px;
  padding: 20px; /* Use shorthand property */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
  
.text1 {
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  width: 700px;

}
.text2 {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    width: 700px;
}
.text3 {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    width: 700px;
}
section {
  padding-top: 70px;
    width: 100%; /* Set the desired width of the section */
    height: 1000%; /* Set the desired height of the section */
}

.icon {
  background-color: #ffffff;
  width: 250px;
  border-radius: 10px;
  box-shadow: 5px 2px 5px rgba(0, 0, 0, 0.3); 
  transition: height 1s ease;
  margin-bottom: 30px;
}
.img2 {
  transition: all .3s ease-in-out; 
}
.img2:hover {
 transform: scale(1.1);
}
.img3 {
  transition: all .3s ease-in-out; 
}
.img3:hover {
 transform: scale(1.1);
}
.img4 {
  transition: all .3s ease-in-out; 
}
.img4:hover {
 transform: scale(1.1);
}
.projects-link{
    background-color: white;
    width: 150px;
    margin-bottom: 10px;
    border-radius: 10px;
}
a {
  color: var(--primary-color); 
}

.bottomtextbox {
  background-color: black;
  color: #787878;
  bottom: 0;
  width: 100vw;
  font-size: 16px;
}
.bottomtextbox * {
  box-sizing: border-box;
  border: none;
  outline: none;
}


.bottomtext{
  font-family: 'Poppins', sans-serif;
}

.icon-table {
    width: 100vw;
    text-align: center;
     /* Center the content horizontally within the table */
}

/*hi*/
.padlock{
  width: 15px;
  height: 15px;
}

.popup {
  padding-top: 15%;
  padding-left: 20%;
  padding-right: 20%;
  position: fixed;
  top: 30;
  left: 50;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Ensure the pop-up appears on top of other content */
}

.popup-content {
  padding-top: 10px;
  background-color: #fff;
  padding: 20px;
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  max-width: 700px;
  font-size: small;
  text-align: center;
}

#closeBtn {
  cursor: pointer;
  background-color: rgb(87, 198, 107);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
}  
h4{
  font-size: medium;
}
