.intro1{
    margin-top: 120px;
    margin-left: 160px;
    font-size: 50px;
    color: #008D44;
}

.intro2{
    margin-top: -20px;
    margin-left: 162px;
    font-size: 32.5px;
    color: #008D44;
}

body {
    font-family: sans-serif;
    overflow-y: hidden;
}

.main-card {
    background-color: white;
    width: 350px;
    height: 170px;   
    margin: 50px auto;
    margin-left: 150px;
    padding: 35px;     
    border-radius: 35px;    
    
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.13); 
    
    display: flex;
    flex-direction: column;
    margin-top: 90px;
}

.intro3 {
    margin-top: 35px;
    margin-bottom: -30px;
    font-size: 45px;
    color: #5f5f5f;
}

.intro3 span {
    display: block;
}

.intro3 span + span {
    margin-top: 5px;
}

.button-group {
    display: flex;
    margin-top: -100px;
    margin-left: 180px;
}

.button-group button {
    width: 165px;
    height: 60px;
    padding: 12px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.student-link button {
    background: #008D44;
    color: white;
    border: none;
}

.student-link button:hover {
    background-color: #53b984;
}

.admin-link button {
    background: white;
    color: #008D44;
    border: 4px solid #008D44;
    margin-top: 80px;
    margin-left: -165px;
}

.admin-link button:hover {
    background-color: #f0f0f0;
    color: #00b859;
    border-color: #00b859;
}

a {
    text-decoration: none;
}

.right-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    background-color: #008D44;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.right-container > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.right-container .img1, 
.right-container .img2 {
    position: relative; 
    z-index: 2;
}

.right-container .img1 img {
    width: 260px;
    height: auto;
    object-fit: contain;
    margin-top: -60px;
}

.right-container .img2 img {
    width: 520px;
    height: auto;
    margin-top: 40px;
    object-fit: contain;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */
@media screen and (max-width: 1024px) {

    body{
        overflow-y: auto;
    }

    .intro1{
        margin-left: 60px;
        font-size: 40px;
    }

    .intro2{
        margin-left: 60px;
        font-size: 25px;
    }

    .main-card{
        margin-left: 60px;
        width: 300px;
        height: auto;
        padding: 30px;
    }

    .intro3{
        font-size: 38px;
    }

    .button-group{
        margin-left: 0;
        margin-top: 40px;

        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .admin-link button{
        margin: 0;
    }

    .button-group button{
        width: 220px;
    }

    .right-container{
        width: 45%;
    }

    .right-container .img1 img{
        width: 180px;
    }

    .right-container .img2 img{
        width: 320px;
    }

}
/* PHONE */
@media screen and (max-width: 767px){

    body {
        margin: 0;
        overflow-x: hidden;
    }

    .page-transition-wrapper {
        position: relative;
        min-height: 100vh;
    }

    .right-container{
        position: absolute !important;
        top: 123px;
        left: 2px;
        width: calc(100% - 4px) !important;
        height: calc(100vh - 123px) !important;
        overflow: hidden;
        border-radius: 30px 30px 0 0;
    }

    .right-container > img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .right-container::after {
        position: absolute;
        z-index: 1;
        background: rgba(0, 0, 0, 0.2);
        content: "";
        inset: 0;
        pointer-events: none;
    }

    .right-container .img1 {
        position: fixed;
        top: 37px;
        left: calc(50% - 135px);
        width: 48px;
        margin: 0;
    }

    .right-container .img2 {
        position: fixed;
        top: 42px;
        left: calc(50% - 67px);
        width: min(55vw, 205px);
        margin: 0;
    }

    .right-container .img1 img {
        width: 48px;
        margin: 0;
    }

    .right-container .img2 img {
        width: 100%;
        margin: 0;
    }

    .main-card{
        position: absolute;
        top: 208px;
        left: 0;
        right: 0;
        z-index: 20;
        box-sizing: border-box;
        width: 225px;
        height: 249px;
        margin: 0 auto;
        padding: 46px 20px;
        border-radius: 30px;
        align-items: center;
        box-shadow: none;
    }

    .intro1{
        position: absolute;
        right: 0;
        bottom: 171px;
        left: 0;
        z-index: 20;
        width: 100%;
        margin: 0;
        color: white;
        font-size: 24px;
        text-align: center;
    }

    .intro2{
        position: absolute;
        right: 0;
        bottom: 143px;
        left: 0;
        z-index: 20;
        width: 100%;
        margin: 0;
        color: white;
        font-size: 16px;
        text-align: center;
    }

    .main-card .intro3 {
        margin: 0;
        font-size: 22px;
        white-space: nowrap;
    }

    .main-card .intro3 span {
        display: inline;
        margin: 0;
    }

    .button-group{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 17px;
        margin: 34px 0 0;
    }

    .button-group a,
    .button-group button {
        display: block;
        width: 118px;
        height: 40px;
        box-sizing: border-box;
    }

    .button-group button {
        padding: 0;
        border-radius: 22px;
        font-size: 13px;
    }

    .admin-link button{
        margin: 0;
        border-width: 1px;
    }

}