* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url(images/Basic/san-placeholder.webp);
    background-size: cover;
    background-position: center;
    transition: background-image .7s ease-in-out
}

.header.full-image-loaded {
    background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url(images/Basic/san.webp)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 7%
}

.logo {
    width: 99px;
    cursor: pointer
}

.nav-links {
    flex: 1;
    text-align: center
}

.nav-links li {
    list-style: none;
    display: inline-block;
    margin: 10px 20px
}

.nav-links li a {
    text-decoration: none;
    font-weight: bolder;
    font-size: 24px;
    color: #fff
}

.register-btn {
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px
}

.container {
    padding: 0 7%;
    margin: 10px 20px
}

.header h1 {
    font-size: 4vw;
    font-weight: 500;
    color: #fff;
    text-align: center;
    padding-top: 15%
}

.search-bar {
    background: #fff;
    width: 70%;
    margin: 30px auto;
    padding: 6px 10px 6px 30px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 67px
}

.search-bar form {
    display: flex;
    align-items: center;
    flex-grow: 1;
    position: relative;
    height: 55px
}

.search-bar form .search-input {
    flex-grow: 1;
    height: 100%;
    display: flex;
    align-items: center
}

.search-bar form .search-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: 0 0;
    padding: 0;
    font-size: 1.2vw;
    color: #333
}

.search-bar form .search-button {
    background: #ff5361;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 0;
    outline: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: left .4s ease, transform .4s ease;
    z-index: 1
}

.search-bar form .search-button i {
    color: #fff;
    font-size: 15px
}

.search-bar.active form .search-button {
    left: calc(100% - 55px - 10px);
    transform: translateY(-50%)
}

.location-input {
    flex: 1
}

.search-botton {
    right: 0
}

.introduction {
    margin: auto
}

.search-bar form label {
    font-weight: 600
}

.sub-title {
    margin: 100px 0 20px;
    font-size: 2.2vw;
    font-weight: 500;
    color: #333
}

.master {
    display: flex;
    flex-direction: column;
    gap: 60px
}

.master-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(clamp(150px, 15vw, 250px), 1fr));
    gap: 30px;
    justify-content: start
}

.master-row>div {
    text-align: center
}

.master-row>div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.master h4 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.PhD>div,
.master-supervisor>div,
.administrative-assistant>div,
.post-doctoral>div,
.Engineer>div,
.doctor>div,
.master-row>div {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
    transition: transform .3s, box-shadow .3s
}

.PhD>div:hover,
.master-supervisor>div:hover,
.administrative-assistant>div:hover,
.post-doctoral>div:hover,
.Engineer>div:hover,
.doctor>div:hover,
.master-row>div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1)
}

.doctor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px
}

.doctor>div {
    text-align: center;
    width: clamp(150px, 15vw, 250px);
    box-sizing: border-box;
    margin: 0 auto
}

.doctor>div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.doctor h3 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.PhD {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px
}

.PhD>div {
    text-align: center;
    width: clamp(150px, 15vw, 250px);
    box-sizing: border-box;
    margin: 0 auto
}

.PhD div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.PhD h3 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.master-supervisor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px
}

.master-supervisor>div {
    text-align: center;
    width: clamp(150px, 15vw, 250px);
    box-sizing: border-box;
    margin: 0 auto
}

.master-supervisor>div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.master-supervisor h3 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.administrative-assistant {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px
}

.administrative-assistant>div {
    text-align: center;
    width: clamp(150px, 15vw, 250px);
    box-sizing: border-box;
    margin: 0 auto
}

.administrative-assistant>div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.administrative-assistant h3 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.post-doctoral {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px
}

.post-doctoral>div {
    text-align: center;
    width: clamp(150px, 15vw, 250px);
    box-sizing: border-box;
    margin: 0 auto
}

.post-doctoral>div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.post-doctoral h3 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.Engineer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px
}

.Engineer>div {
    text-align: center;
    width: clamp(150px, 15vw, 250px);
    box-sizing: border-box;
    margin: 0 auto
}

.Engineer>div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.Engineer h3 {
    font-weight: 600;
    margin-top: 10px;
    text-align: center
}

.Engineer p {
    font-size: 15px;
    text-align: center
}

.cta {
    margin: 80px 0;
    background-image: linear-gradient(to right, #3f2321, transparent);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 5%;
    color: #fff
}

.cta h3 {
    font-size: 4vw;
    line-height: 5.3vw;
    font-weight: 500
}

.cta p {
    font-size: 18px;
    margin: 10px 0
}

.cta-btn {
    background: #ff5361;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-block
}

.research {
    display: grid;
    grid-template-columns: repeat(4, minmax(clamp(150px, 15vw, 250px), 1fr));
    grid-gap: 30px;
    margin-bottom: 30px;
    justify-items: start
}

.research div img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px
}

.research>div {
    text-align: center;
    position: relative;
    overflow: hidden
}

.research>div h3 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.8vw;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
    white-space: nowrap
}

.research>div ul {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2vw;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
    list-style-type: disc;
    list-style-position: inside;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 90%
}

.research>div ul li {
    margin-bottom: 5px
}

.start-btn {
    text-decoration: none;
    background: #ff5361;
    color: #fff;
    width: 80%;
    max-width: 350px;
    display: block;
    text-align: center;
    margin: 60px auto;
    padding: 15px;
    border-radius: 30px;
    font-size: 20px
}

.about-msg {
    text-align: center;
    margin: 80px 0;
    color: #333;
    font-size: 17px
}

.about-msg h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 500
}

#text_test {
    font-size: 17px;
    margin-top: -28px;
    margin-right: -960px;
    padding-right: 0
}

.footer {
    margin: 80px 0 10px;
    text-align: center
}

.footer a {
    text-decoration: none;
    color: #999;
    font-size: 22px;
    margin: 0 10px
}

.footer hr {
    background: #999;
    height: 1px;
    width: 100%;
    border: 0;
    margin: 20px 0
}

.footer p {
    padding-bottom: 15px
}

.share {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    text-align: center;
    justify-content: center
}

.share-button {
    width: 280px;
    height: 80px;
    background: #dfe6e9;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: .3s linear
}

.share-button:hover {
    transform: scale(1.1)
}

.share-button span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #2d3436;
    color: #f1f1f1;
    text-align: center;
    line-height: 80px;
    z-index: 999;
    transition: .6s linear;
    border-radius: 40px
}

.share-button:hover span {
    transform: translateX(-100%);
    transition-delay: .3s
}

.share-button a {
    flex: 1;
    font-size: 28px;
    text-align: center;
    transform: translateX(-100%);
    opacity: 0;
    transition: .3s linear
}

.share-button:hover a {
    opacity: 1;
    transform: translateX(0)
}

.share-button a:nth-of-type(1) {
    transition-delay: 1s
}

.share-button a:nth-of-type(2) {
    transition-delay: .8s
}

.share-button a:nth-of-type(3) {
    transition-delay: .6s
}

.share-button a:nth-of-type(4) {
    transition-delay: .4s
}

body {
    cursor: none
}

#laser-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none
}

.trail-dot {
    position: fixed;
    background-color: red;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 1;
    transition: opacity .1s linear, transform .1s linear
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .4);
    padding-top: 60px
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333
}

.modal-content form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #555
}

.modal-content form input[type=text],
.modal-content form input[type=password] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box
}

.modal-content form button {
    background-color: #ff5361;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color .3s ease
}

.modal-content form button:hover {
    background-color: #e04a57
}

.close-button {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: 700
}

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

#userProfile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff
}

.default-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #ff5361;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #fff
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    z-index: 10001;
    border-radius: 5px;
    top: 100%;
    left: 0;
    margin-top: 5px
}

.dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 400;
    font-size: 16px
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #ff5361
}

nav .nav-links {
    margin-right: auto;
    margin-left: 0
}

#menu-btn {
    display: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer
}

@media only screen and (max-width:768px) {
    body {
        overflow-x: hidden
    }

    .header {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll
    }

    nav {
        padding: 15px 20px;
        min-height: 100px;
        display: flex;
        align-items: flex-start
    }

    nav .logo {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 80px;
        z-index: 12
    }

    .nav-right {
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
        position: relative;
        z-index: 11
    }

    #userProfile {
        flex-direction: column;
        align-items: center;
        gap: 5px
    }

    #menu-btn {
        display: block
    }

    .nav-links {
        position: absolute;
        background: rgba(28, 42, 79, .95);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        top: 0;
        width: 180px;
        right: -180px;
        height: 100vh;
        padding: 80px 30px 20px;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: right .4s ease-in-out;
        z-index: 10
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, .2)
    }

    .header h1 {
        padding-top: 40%;
        font-size: 9vw
    }

    .research>div {
        padding: 10px
    }

    .research h3 {
        font-size: 1.5rem
    }

    .research li {
        font-size: 1rem
    }

    .sub-title {
        font-size: 1.8rem;
        margin-top: 50px
    }

    .PhD,
    .master-supervisor,
    .administrative-assistant,
    .post-doctoral,
    .Engineer,
    .doctor {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .master-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px
    }
}

@media (pointer:fine) {
    html {
        cursor: none
    }

    #laser-cursor {
        display: block
    }
}