* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
}

body {
    background-color: #08100c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


header {
    width: 100%;
    display: flex;
    padding: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1000;
    top: 0;
    background-color: #08100c;
}

.site_logo {
    width: max-content;
    height: 5vh;
    display: flex;
    align-items: center;
}

.site_logo img {
    width: 25px;
    height: 25px;
}

.site_logo h1 {
    font-size: 1.5rem;
}

.toggled-nav-desktop{
    display: none;
}

.hamburger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger span {
    display: block;
    height: 5px;
    width: 30px;
    background-color: rgb(255, 255, 255);
}

.hamburger-first-child {
    position: absolute;
    top: 10px;
    transform: rotate(45deg);
}

.hamburger-second-child {
    opacity: 0;
}

.hamburger-third-child {
    position: absolute;
    bottom: 10px;
    transform: rotate(-45deg);
}

.hamburger-span{
    transition: all 0.5s ease;
}

/* nav container */


.toggled-nav {
    height: 45vh;
    width: 100%;
    left: -100%;
    background-color: rgb(144, 144, 144);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: absolute;
    margin-top: 3rem;
    top: 0;
    z-index: 999;
    transition: left 0.2s ease;
}

.navHidden{
    left: 0;
}

nav a {
    font-size: 1.1rem;
    color: black;
}

main {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: 1fr 1fr;
    margin-top: 5rem;
}

main .introduction {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.introduction h2 {
    font-size: 1.5rem;
}

.introduction p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-top: 1rem;
    padding-right: 0.5rem;
}

.introduction div {
    padding: 1rem 0;
    /* background-color: red; */
}

.button1,
.button2 {
    display: inline-block;
    padding: 7px 5px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    transition: transform 0.3s ease;
}

.button1 {
    background-color: orange;
    color: white;
}

.button2 {
    background-color: white;
    color: black;
    margin-left: 1rem;
}

.button1:hover, .button2:hover{
    transform: scale(1.2);
}

.button1:active, .button2:active{
    transform: scale(0.9);
}

.image-section{
    grid-column: 1 / 3;
    display: flex;
    justify-content: center; 
    /* background-color: blue; */
}

.main-image{
    width: 250px;
    height: 250px;
    background-color: orange;
    border-radius: 20px;
    border:none;
}

.main-image img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}



aside {
    display: flex;
    align-items: center;
    justify-content: center;
}

aside .social-icon-container{
    width: 80%;
    height: 30vh;
    background-color: rgb(29, 29, 29);
    gap: 0.5rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background: green; */
}

.social-icon-container div{
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 7px;
    transition: all 0.4s ease;
}

.social-icon-container div:hover{
    cursor: pointer;
    background-color: rgb(52, 52, 52);

}

.social-icon-container div img{
    width: 100%;
    height: 100%;
    filter: brightness(100) invert(1);
}

footer{
    width: 100%;
    height: 10vh;
    background-color: #101923;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    font-size: 1.1rem;
    margin-top: 28vh;
}

/* Tablet responsiveness */
@media screen and (min-width:500px) and (max-width:999px) {
    header .site_logo {
        margin-left: 1rem;
    }
    header div:last-child{
        margin-right: 1rem;
    }
    main{
        width: 75%;
        /* background-color: rgb(0, 0, 0); */
    }

    .introduction h2 {
    font-size: 2rem;
}

.introduction p {
    /* font-size: 1.5rem; */
    margin-top: 1.5rem;
}
}

/* Desktop responsiveness */
@media screen and (min-width:1000px) {

    header .site_logo{
        margin-left: 3rem;
    }
    header div:last-child{
        display: none;
    }

    header .toggled-nav-desktop{
        margin-right: 5rem;
        width: 50%;
        display: flex;
        justify-content: space-around;
        font-size: 1.2rem;
        
    }

    .toggled-nav-desktop a{
        color: white;
        transition: color 0.4s ease;
    }

    .toggled-nav-desktop a:hover{
        color: orange;
    }

    #focused-link{
        color: orange;
    }
    
    main {
    width: 70%;
    height: 90vh;
    padding-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-template-rows: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
aside div{
    width: 40%;
}

.introduction{
    margin-right: 3rem;
}
.image-section{
    /* background-color: yellow; */
    grid-column: none;
    align-items: center;
}

.main-image{
    width: 350px;
    height: 350px;
    
}

/* .main-image{
    width: 400px;
    height: 400px;
    
} */
}