@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gruppo&family=Orbitron:wght@400..900&display=swap');


/*Overall CSS*/
body {
    margin: 0;
    font-family: "Orbitron", sans-serif;
    background-color: #222222;
    color: #F0F0F0;
}

.article {
    min-height: 100vh;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(26,26,26,1), rgba(26,26,26,0));
    height: 4rem;
}

nav a {
    color: whitesmoke;
    text-decoration: none;
    padding: 2rem;
}

.title {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    margin: 2rem;
}

.line {
    width: 30rem;
    height: 0.3rem;
    background-color: #F0F0F0;
    border-radius: 0.5rem;
}

p {
    font-family: "Gruppo", sans-serif;
    font-weight: 700;
}

footer {
    display: flex;
    flex-direction: column;
    height: 10rem;
    background-color: #1A1A1A;
    color: whitesmoke;
    align-items: center;
    justify-content: center;
}

.footercontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.email {
    margin-right: 2rem;
}

/*Home page CSS*/
.home-page-landing {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-urban-scenery_1.jpg);
    color: whitesmoke;
    background-size: cover;
    background-position: center;
}

.home-page-title {
    font-family: "Orbitron", sans-serif;
    font-size: 3rem;
    transform: rotate(0deg);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(26, 26, 26, 0.5);
}

.about-me {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin-bottom: 2rem;
}

.about-me-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.image-gallary {
    display: flex;
    flex-direction: row;
    width: 27rem;
    margin: auto 2rem;  /*make a better solution for the spacing problem witht the image gallary*/
}

.about-me-image {
    width: 13rem;
    height: 13rem;
}

.about-me-text {
    width: 50%;
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
}

.about-me-text p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.about-me-text a {
    text-decoration: none;
    background: transparent;
    color: #F0F0F0;
    padding: 0.2rem 0.4rem;
    border: 0.1rem solid #F0F0F0;
    border-radius: 2rem;
    transition: background-color 0.75s, color 0.75s, border 0.75s;
    align-self: flex-end;
    margin-top: auto;
}

.about-me-text a:hover {
    background-color: #00F0E1;
    color: #222222;
    border: 0.1rem solid #222222;
}

.mid-page-image {
    height: 100vh;
    color: whitesmoke;
    padding: 4vh;
}

.mid-page-image video {
    width: 100%; /* Ensure the video takes the full width of its container */
    max-width: 100%; /* Ensure it doesn't exceed the container's width */
    height: auto; /* Maintain aspect ratio */
    max-height: calc(100vh - 8vh); /* Adjust maximum height to prevent vertical overflow */
    object-fit: cover; /* Ensure the video fills the container */
}

.learningoutcomes {
    height: 100vh;
}

.outcome-IDs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: auto 2rem;
}

.pagelinks {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: whitesmoke;
    height: 25rem;
    width: 10rem;
}

#development {
    background-image: url(images/cyberpunk-blue-page.jpg);
    background-size: cover;
}

#ux {
    background-image: url(images/cyberpunk-red-page.jpg);
    background-size: cover;
}

#mediaproducts {
    background-image: url(images/cyberpunk-purple-page.jpg);
    background-size: cover;
}

#research {
    background-image: url(images/cyberpunk-green-page.jpg);
    background-size: cover;
}

#communication {
    background-image: url(images/cyberpunk-pink-page2.jpg);
    background-size: cover;
}

#professionalidentity {
    background-image: url(images/cyberpunk-grey-page.jpg);
    background-size: cover;
}


/*Learning outcome pages CSS*/

.development-page-landing {
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-blue-page.jpg);
    color: whitesmoke;
    background-size: cover;
    background-position: center;
}

.ux-page-landing {
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-red-page.jpg);
    color: whitesmoke;
    background-size: cover;
    background-position: center;
}

.mediaproducts-page-landing {
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-purple-page.jpg);
    color: whitesmoke;
    background-size: cover;
    background-position: center;
}

.research-page-landing {
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-green-page.jpg);
    color: whitesmoke;
    background-size: cover;
    background-position: center;
}

.communication-page-landing {
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-pink-page2.jpg);
    color: whitesmoke;
    /* background-size: cover; */
    background-position: center;
}

.professionalidentity-page-landing {
    position: relative;
    height: 100vh;
    background-image: url(images/cyberpunk-grey-page.jpg);
    color: whitesmoke;
    background-size: cover;
    background-position: center;
    text-align: center;
}


.learningoutcometitle {
    position: absolute; /* Takes h1 out of the normal document flow */
    top: 25%; /* Positions h1 halfway down the parent (header) */
    left: 0;
    transform: rotate(-90deg) translateX(-100%); /* Rotates and moves h1 into view */
    transform-origin: top left; /* Adjusts the pivot point for rotation */
    font-size: 2.5rem;
    white-space: nowrap; /* Keeps text on one line */
    margin: 0; /* Removes default margins */
    margin-left: 1.5rem;
    padding: 0.5rem; /* Adds some padding around the text */
}

.leftcontainer {
    flex: 1;
}

.rightcontainer {
    margin-left: 2rem;
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.infosection {
    display: flex;
    margin: auto 2rem;
}

.article-image {
    width: 25rem;
    height: 25rem;
}

.rightcontainer {
    margin-left: 5rem;
    margin-right: 2rem;
    display: flex;
}

.article p {
    margin-top: 0; /* Remove default margin to align with image */
    margin-bottom: 1rem; /* Add margin for spacing */
}

li {
    font-family: "Gruppo", sans-serif;
    font-weight: 700;
}

.buttons {
    align-self: flex-end;
    margin-top: auto;
}

.article a {
    text-decoration: none;
    background: transparent;
    color: #F0F0F0;
    padding: 0.2rem 0.4rem;
    border: 0.1rem solid #F0F0F0;
    border-radius: 2rem;
    transition: background-color 0.75s, color 0.75s, border 0.75s;
    margin-right: 1rem;
    align-self: flex-end; 
    margin-top: auto;
}

.article a:hover {
    background-color: #00F0E1;
    color: #222222;
    border: 0.1rem solid #222222;
}



/*about me css*/
