*{ margin: 0; padding: 0; }

/* Custom Fonts */

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

@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;
}

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

:root {
  /* Variables */
}

/* 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;
}

/* Spinning Text */

#circle {
    position: relative;
    border-radius: 100%;
    padding: 16px;
    animation: rotate-animation 8s infinite linear;
}

#circle span {
    position: absolute;
    transform-origin: top left;
}

@keyframes rotate-animation {
    from { transform: rotate(0); }
    to { transform: rotate(-360deg); }
}

/* Scroller styling */

.scroller {
    height: 1.2em;
    line-height: 1.2em;
    position: relative;
    overflow: hidden;
    max-width: 1100px;
}

.scroller > span {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    animation: tslide 5s infinite;
    margin-left:262px;
}

@keyframes tslide {
    0% {top: 0;}
    25% {top: -1.2em;}
    50% {top: -2.4em;}
    75% {top: -3.6em;}
}

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

/* Body */

body {
    background-color: #3D995C;
}

/* Falling Images */

.falling-container {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1; /* Ensure it's above other elements */
}

.falling-image {
    position: absolute;
    width: 64px; /* Adjust size of the falling images */
    transition: top 2s ease-in-out; /* Smooth falling effect */
}

/* Animations */

@keyframes appear {
 	0% {opacity: 0%;}
 	100% {opacity: 100%; }
}

/* Additional Settings */

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

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

.center {
  text-align: center;
  justify-content: center;
}



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

@media (min-width: 1000px) {

    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-family: WorkSans;
        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-family: MuseoModerno;
        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;
    }*/
    
    .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;
    }
    
    button {
        background-color: #3D995C;
        border: none;
        border-radius: 100px;
        color: white;
        padding: 2px 185px;
        text-align: center;
        font-family: MuseoModerno;
        font-weight: bold;
        text-decoration: none;
        display: inline-block;
        font-size: 30px;
        margin: 12px 0px;
        transition-duration: 0.4s;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
        cursor: pointer
    }
    
    button:hover {
        background-color: #33804D; /* Green */
    }
    
    .spacer {
        height: 100px;
    }

}



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

@media (max-width: 1000px) {
  
    main {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    main {
      	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-family: MuseoModerno;
        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-family: MuseoModerno;
        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;
    }

}



/* //////////// Correcting //////////// */



@media (max-width: 1285px) {
    .article {
        white-space: normal;
        font-size: 50px;
        width:500px;
        line-height: 52px;
        padding: 20px 40px 20px 40px;
        margin: 80px 0px 20px 0px;
    }
    
    .block img {
        margin-top: 35px;
    }
}



@media (max-width: 592px) {
    .article {
        font-size: 30px;
        width:220px;
        line-height: 32px;
        padding: 10px 20px 10px 20px;
        margin: 40px 0px 10px 0px;
    }
}

