* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
    box-sizing: border-box;
}

body {
    background-color: #131315;
    color: #CCBFBD;
}

header {
    width: 100%;
    height: 100vh;
    background-image: url(../Images/Background/Galaxy2.jpg);
    background-color: rgba(0, 0, 0, 0.451);
    background-blend-mode:darken;
    background-size: cover;
    background-position: center;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #F5DEDC;
    display: inline-block;
    transition: 0.5s;
}

.social-icons a:hover {
    color: #F5DEDC;
    transform: translateY(-5px);
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding: 10px 10%;
    max-width: 2000px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 100px;
}

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #F5DEDC;
    position: absolute;
    left: 0;
    bottom: -6px;
}

nav ul li a:hover::after {
    width: 100%;
    transition: 0.5s;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.header-text h1 {
    font-size: 100px;
    font-weight: 500;
    color: #F5DEDC;
}

/* ---About Me Section--- */

#about {
    padding: 80px 0;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
}

.about-col-2 {
    flex-basis: 60%;
    padding-left: 50px;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links, .tab-links-astro {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links:after, .tab-links-astro:after {
    content: '';
    width: 0;
    height: 3px;
    background: #F5DEDC;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after, .tab-links-astro.active-link::after {
    width: 50%;
}

.tab-contents ul li, .tab-contents-astro ul li{
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span, .tab-contents-astro ul li span {
    color: #F5DEDC;
    font-size: 14px;
}

.tab-contents, .tab-contents-astro {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* ---Astro Section--- */

.tab-contents-astro.active-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tab-contents-astro.active-tab .row {
    flex-wrap: wrap;
}

.astro-text {
    flex-basis: 45%;
    min-width: 330px;
}

.astro-images {
    flex-basis: 50%;
    min-width: 330px;
}

.two-medias img, .two-medias video {
    width: 50%;
    max-width: 300px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.one-media video, .one-media img {
    max-width: 500px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.two-medias, .one-media {
    display: flex;
    justify-content: flex-start;
}

h2 {
    margin-bottom: 15px;
    margin-top: 20px;
}

.astro-text ul li {
    list-style:circle;
    margin-left: 20px;
}

.astro-images p {
    max-width: 600px;
}

/* ---projects Section--- */

#projects {
    padding: 30px 0;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 450px));
    grid-gap: 40px;
    margin-top: 50px;
}

.project-container {
    background: #202023;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.project-container h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.project-container a {
    text-decoration: none;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    color: #6582bc;
}

.project-container:hover {
    background: #2d2d31;
    transform: translateY(-10px);
    cursor: pointer;
}

.side-by-side {
    display: flex;
    align-items:center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.side-by-side img {
    min-width: 250px;
    max-width: 400px;
    border-radius: 10px;
    margin-bottom:10px;
}

.side-by-side p {
    max-width: 400px;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #F5DEDC;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}

.btn:hover {
    background: #2d2d31;
}

.project-image {
    margin: 0 auto;
}

/* ---Publication Section--- */

.publication-link {
    font-size: 20px;
    color:#F5DEDC;
    text-decoration: none;
}

.publication-link:hover {
    color: #F5DEDC;
    text-decoration: underline;
}
/* ---Footer--- */
footer {
    padding: 50px 0;
}

/* ---Contact Section--- */

/*.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #ABA19C;
    margin-right: 15px;
    font-size: 25px;
}

.btn.btn2 {
    display: inline-block;
    background: #888281;    
}

.contact-right form {
    width: 100%;
}

form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}*/

/* ---Small Screen Section--- */

@media only screen and (max-width: 600px){

    .header-text {
        font-size: 16px;
    }

    .header-text h1 {
        font-size: 50px;
    }

    nav ul li {
        margin: 10px 5px;
    }

    nav ul li a {
        font-size: 15px;
    };

    .row {
        flex-direction: column;
    }

    .about-col-1, .about-col-2 {
        flex-basis: 100%;
        margin: 20px 0;
        padding-left: 0;
        min-width: none;
    }

    .tab-links, .tab-links-astro {
        margin-right: 30px;

    }

    .sub-title {
        font-size: 40px;
    }

    .project-container {
        width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }

}