@import url("https://use.typekit.net/pos3sdz.css");

@font-face {
    font-family: "garet-book";
    src: url(./fonts/Garet-Book.ttf),
}

* {
    font-family: "area-normal", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
}

body {
    background-color: #202020;
}
#bk {
    background-image: url('https://file.derglab.com/nas/bkbgdark.png');
    background-size: cover;
    background-position: center;
}

li, a, button {
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color: white;
}
.school a {
    font-weight: 600;
    font-style: normal;
    font-size: 26px;
    letter-spacing: 0.04em;
    margin-top: 40px;
    margin-bottom: 5px;
    text-align: left;
    transition: all 0.3s ease 0s;
}
.school a:hover {
    color: #6161c7;
    transition: all 0.2s ease 0s;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #333;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav {
    list-style: none;
}

.nav li {
    display: inline-block;
    padding: 2px 20px;
}

.nav li a {
    transition: all 0.3s ease 0s;
}

.nav li a:hover {
    transition: all 0.3s ease 0s;
    color: rgb(97, 97, 199)
}

.logo {
    cursor: pointer;
    width: 50px;
    height: auto;
}

button {
    padding: 9px 25px;
    background-color: rgb(97, 97, 199);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    display: block;
    margin: 0 auto;
    text-align: center;
}

button:hover {
    background-color: rgba(97, 97, 199, 0.7);
}

button.medium {
    padding: 12px 300px;
    font-size: 16px;
}

h1 {
    font-family: "garet-book";
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
    letter-spacing: 0.04em;
    margin-top: 10px;
    text-align: center;
}

h2 {
    font-weight: 600;
    font-style: normal;
    font-size: 26px;
    letter-spacing: 0.04em;
    margin-top: 40px;
    margin-bottom: 5px;
    text-align: left;
}

h3 {
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.04em;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
    color: #AAAAAA;
}
.card ul {
    margin-left: 20px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.card li {
    line-height: 1.6;
    margin-bottom: 10px;
}

.profile-pic {
    width: 150px;
    height: auto;
    border-radius: 75px;
    margin: 20px;
}
.contact-info {
    width: 75%;
}

.feed {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 5%;
    gap: 30px;
}
.feed h1 {
    font-family: "garet-book";
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: #6161c7;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
.feed p {
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    max-width: 800px;
    padding-bottom: 20px;
}
.feed .card {
    background-color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feed .card:hover {
    box-shadow: 0 10px 10px #00000081;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feed .card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}
.feed .card video {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}


.video-feed {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 40px 5%;
    gap: 20px;
}
.video-feed h1 {
    font-family: "garet-book";
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: #6161c7;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
.video-feed p {
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    max-width: 800px;
}
.video-feed .card {
    background-color: #333333;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    flex: 1 1 calc((100% - 60px) / 4); /* up to 4 cards per row (3 gaps of 20px = 60px) */
    max-width: calc((100% - 60px) / 4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 1500px) {
    .video-feed .card {
        flex: 1 1 calc((100% - 40px) / 2);
        max-width: calc((100% - 40px) / 2);
    }
}
@media (max-width: 767px) {
    .video-feed .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.video-feed .card:hover {
    box-shadow: 0 10px 10px #00000081;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-feed .card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}
.video-feed .card video {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}


.split-feed {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 40px 5%;
    gap: 20px;
}
.split-feed h1 {
    font-family: "garet-book";
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: #6161c7;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
.split-feed p {
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    max-width: 800px;
}
.split-feed .card {
    background-color: #333333;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    flex: 1 1 calc((100% - 60px) / 4); /* up to 4 cards per row (3 gaps of 20px = 60px) */
    max-width: calc((100% - 60px) / 4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 1500px) {
    .split-feed .card {
        flex: 1 1 calc((100% - 40px) / 2);
        max-width: calc((100% - 40px) / 2);
    }
}
@media (max-width: 767px) {
    .split-feed .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.split-feed .card:hover {
    box-shadow: 0 10px 10px #00000081;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.split-feed .card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}
.split-feed .card video {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

@media (min-width:500px) {
    .profile-pic {
        width: 150px;
        height: auto;
        border-radius: 75px;
        margin: 20px;
    }
    .contact-split {
    display: flex;
    flex-direction: row;
    align-items: left;
    gap: 20px;
    }
}
@media (max-width:499px) {
    .profile-pic {
        width: 80%;
        height: auto;
        border-radius: 50px;
        margin: 10px;
    }
    .contact-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    text-align: center;
    }
}


.card {
    overflow: hidden;
}

.card button {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
}

/* Make overly wide "medium" buttons responsive inside cards */
.card button.medium {
    padding: 12px 24px;
    width: 100%;
    max-width: 100%;
}
