* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.horizontal-rectangle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50vw;
    height: 30vw;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background-color: #f5f5f5;
}

.horizontal-rectangle h2 {
    text-align: left;
    margin-left: 20px;
    font-size: 2.5rem;
    color: #333;
}

.horizontal-rectangle ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horizontal-rectangle li {
    margin-left: 20px;
    font-size: 1.5rem;
    color: #555;
    line-height: 2rem;
}

.horizontal-rectangle p {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    color: #777;
    line-height: 1.5rem;
}

.horizontal-rectangle button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.horizontal-rectangle button:hover {
    background-color: #0062cc;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

header {
    background-color: #000;
    color: #fff;
    padding: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid transparent; /* Add this line */
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ffffff;
    color: #000;
    padding: 10px;
    border-radius: 10px;
}

h1 {
    margin: 0;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    margin-bottom: -50px;
}

.portfolio-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
    
.horizontal-rectangle {
    align-items: left;
    width: 50vw;
    height: 30vw;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.horizontal-rectangle h2 {
    padding: 20px;
}

.horizontal-rectangle p {
    text-align: middle;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.horizontal-rectangle ul {
    margin: 0;
    padding: 0;
    list-style: inside;
}

.horizontal-rectangle li {
    margin-left: 20px;
}

.stars {
    font-size: 20px;
    margin-top: 10px;
    margin-left: 16px;
}
  
.star {
    color: gold;
}

#linkedin_logo {
    width: 50px;
    height: 50px;
}
    
.vertical-rectangle {
    width: 30vw;
    height: 45vw;
    border-radius: 20px;
    margin-right: 20px;
    margin-left: 20px;
}

.vertical-rectangle img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.vertical-rectangle #motherbird {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vertical-rectangle .mb_home {
    width: 70%;
}

.vertical-rectangle .mb_icon {
    width: 20%;
    height: auto;
    margin-right: 2.5%;
    margin-bottom: 95%;
}


/* Small screens */
@media only screen and (max-width: 768px) {
    header {
      padding: 10px;
      font-size: 12px;
    }
  
    nav ul li a {
      padding: 5px;
      border-radius: 5px;
    }
  
    nav ul li a:hover {
        padding: 5px;
        border-radius: 5px;
      }
  
    body {
      font-size: 10px;
    }
  
    main {
      padding: 10px;
    }

    .portfolio-holder {
        height: 50vh;
        margin-bottom: -50px;
    }

    h1 {
        font-size: 20px;
        margin-bottom: -30px;
    }

    .horizontal-rectangle h2 {
        text-align: center;
        font-size: 0.7rem;
        padding: 0px;
        margin-left: 0px;
    }

    .horizontal-rectangle p {
        font-size: 10px;
        line-height: 1.2;
    }

    .horizontal-rectangle {
        padding: 0px;
        height: 80vw;
    }

    .vertical-rectangle {
        height: 80vw;
    }

    .vertical-rectangle .mb_home {
        width: 120%;
        margin-left: -20px;
    }

    .vertical-rectangle .sunderland_image {
        width: 120%;
    }

    .vertical-rectangle .moron_image {
        width: 120%;
    }

    .stars {
        font-size: 10px;
        margin-left: 5px;
    }

    .horizontal-rectangle li {
        list-style-position: outside;
        font-size: 10px;
        line-height: 1rem;
        margin-left: 20px;
    }

    #linkedin_logo {
        width: 25px;
        height: 25px;
    }

}