*{ margin: 0; padding: 0; }

/* Custom Fonts */

@font-face {
    font-family: MuseoModerno;
    src:url("fonts/MuseoModerno-Bold.ttf");
}

@font-face {
    font-family: MintysisAH;
    src:url("fonts/MintysisAH-Bold.ttf");
}

@font-face {
    font-family: WorkSans;
    src:url("fonts/WorkSans-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: VDS;
    src:url("fonts/VDS_Bold.ttf");
}

@font-face {
    font-family: Oswald;
    src:url("fonts/Oswald-Regular.ttf");
    font-weight: regular;
}

@font-face {
    font-family: Oswald;
    src:url("fonts/Oswald-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: Oswald;
    src:url("fonts/Oswald-Medium.ttf");
    font-weight: medium;
}

/* Main Styles */

body {
  width: 100%;
  height: 100%;
  font-family: Oswald;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-content: space-between;
}

html {
  height: 100%;
  width: 100%;
  user-select: none;
}

/* Fonts */

body {
	font-family: Oswald;
}

.spin-text {
	font-family: WorkSans;
}

.article {
	font-family: MuseoModerno;
}


main p {
	font-family: Arial;
  	color: #3D995C;
}

main a {
	font-family: Arial;
  	color: #3D995C;
}

main a:hover {
	filter: brightness(75%);
}

/* Slide */

@keyframes slide {
    0% {transform: translateY(25%);}
    100% {transform: translateY(0); }
}

.slide {
    opacity: 0; /* Initially hide the element */
    transition: opacity 0.5s ease; /* Add a transition effect for opacity */
}

.slide.active {
    opacity: 1; /* Show the element when the active class is added */
    animation: slide 0.75s forwards;
    /*width: 100%;*/
  	text-align: -webkit-center;
}

/* Additional Styles */

block img{
  	width: 100%;
  	margin-bottom: -5px;
}

/* Additional Settings */

a {
	-webkit-user-drag: none;
}

img {
	-webkit-user-drag: none;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-user-drag: none;
  user-select: none;
}


/* //////////// Laptop/desktop //////////// */

@media (min-width: 796px) {

    main {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
      	background-color: #fff;
      	padding-top: 65px; /* For header space */
    }
  
    .spin-text {
        color: white;
        font-size: 16px;
        margin: 125px 23px;
        font-weight: bold;
    }
    
    .content {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding-bottom: 0px;
    }
    
    .over {
        position: absolute;
        color: white;
    }
    
    .content img {
        width: 100%;
        height: auto;
        user-select: none;
    }
    
    .title {
        width: 100%;
        height: 100%;
        margin: auto;
    }
    
    .article {
        white-space: nowrap;
        background-color: #3D995C;
        font-weight: bold;
        font-size: 80px;
        color: white;
        border-radius: 100px;
        padding: 0px 70px 0px 70px;
        margin: 100px 0px 80px 0px;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
      	user-select: none;
    }
    
    .block {
        user-select: none;
      	width: 100%;
    }
    
    .block img {
        border-radius: 100px;
        object-fit: cover;
        width: 512px;
        height: 512px;
        margin-left: 60px;
        margin-right: 60px;
        transition: transform .2s;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.25);
    }
    
    .block img:hover {
        filter: brightness(75%);
        transform: scale(1.025); 
    }
    
    .inline {
        display: inline-block;
    }
    
    .spacer {
        height: 100px;
    }

  	/* Sign Up Form */

      /* Main container */
      .container {
          width: 400px;
          margin: 10% 0% 6.5% 0%;
          padding: 20px;
          box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.1);
          border-radius: 5px;
          background-color: #fbfbfb;
          color: #3D995C;
      }

      /* Input */
  	  button,
      input[type="text"],
      input[type="number"],
      input[type="email"],
      input[type="password"],
      input[type="submit"] {
          width: 100%;
          padding: 10px;
          margin: 8px 0;
          display: inline-block;
          border:none;
          box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.1);
          border-radius: 4px;
          box-sizing: border-box;
      }

  	  button {
          background-color: white; /* Green */
          color: #3D995C;
      }

      button:hover {
          background-color: #fafafa;
          cursor: pointer;
      }

      button:active {
          background-color: #f1f1f1;
      }

      /* Submit Button */
      input[type="submit"] {
          background-color: #3D995C;
          color: white;
          border: none;
          cursor: pointer;
      }

      /* Hover */
      input[type="submit"]:hover {
          background-color: #2D894C;
      }

  	/* Fields Description */
    description{
      position: absolute;
      left: 0;
      margin-left: 5%;
      font-size: 14px;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
    }

}



/* //////////// Mobile and tablet CSS //////////// */

@media (max-width: 796px) {
  
    main {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
      	background-color: #fff;
      	padding-top: 40px; /* For header space */
    }
    
    .content {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding-bottom: 0px;
    }
    
    .over {
        position: absolute;
        color: white;
        justify-content: center;
    }
    
    .content img {
        max-width: 100%;
        height: auto;
        user-select: none;
    }
    
    .title {
        width: 80%;
        height: 80%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 19px;
    }
    
    .article {
        background-color: #3D995C;
        font-weight: bold;
        font-size: 42px;
        color: white;
        border-radius: 100px;
        padding: 0px 20px 0px 20px;
        margin: 40px 0px 20px 0px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      	user-select: none;
    }
    
    .block {
        user-select: none;
    }
    
    .block img {
        border-radius: 50px;
        object-fit: cover;
        width: 256px;
        height: 256px;
        margin: 15px;
        transition: transform .2s;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.25);
    }
    
    .block img:hover {
        filter: brightness(75%);
        transform: scale(1.025); 
    }
    
    .inline {
        display: inline-block;
    }
    
    button {
        background-color: #3D995C;
        border: none;
        border-radius: 100px;
        color: white;
        padding: 2px 50px;
        text-align: center;
        font-weight: bold;
        text-decoration: none;
        display: inline-block;
        font-size: 30px;
        margin: 0px 0px 35px 0px;
        transition-duration: 0.4s;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
    }
    
    button:hover {
        background-color: #33804D; /* Green */
    }
    
    .spacer {
        height: 75px;
    }
  
  	/* Sign Up Form */

      /* Main container */
      .container {
          width: 85%;
          margin: 12% 0%;
          padding: 20px;
          box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.1);
          border-radius: 5px;
          background-color: #fbfbfb;
          color: #3D995C;
      }

      /* Input */
      input[type="text"],
      input[type="number"],
      input[type="email"],
      input[type="password"],
      input[type="submit"] {
          width: 100%;
          padding: 10px;
          margin: 8px 0;
          display: inline-block;
          border:none;
          box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.1);
          border-radius: 4px;
          box-sizing: border-box;
      }

      /* Submit Button */
      input[type="submit"] {
          background-color: #3D995C;
          color: white;
          border: none;
          cursor: pointer;
      }

      /* Hover */
      input[type="submit"]:hover {
          background-color: #2D894C;
      }

  	/* Fields Description */
    description{
      position: absolute;
      left: 0;
      margin-left: 7%;
      font-size: 14px;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
    }
  
}

/*@media (max-width: 666px) and (orientation: portrait) {
  
    footer {
        position: fixed;
    }
  
}*/