@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

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

                
        
.navbar {
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	font-size: 20px;
	color: black
	text-decoration: none;
}

button {
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	font-size: 20px;
	color: black
	text-decoration: none;
}

figcaption {
	padding: 30px 20%;
}

img {
	padding: 30px 20%;
}
	
.texts {
	padding: 30px 20%;
	line-height: 1.5;
	font-size: 18px;
}

.publist {
	padding: 6px 20%;
	line-height: 1.2;
	font-size: 18px;
}

.pub {
	padding: 30px 20%;
	font-size: 18px;
}

header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 15px 10%;
}

.name {
	margin-right: auto;
}

.nav__links {
	list-style: none;
}

.nav__links li {
	display: inline-block;
	padding: 0px 20px;
}

.nav__links li a {
	transition: all 0.3s ease 0s;
}

.nav__links li a:hover {
	color: #0088a9;
	transition: all 0.3s ease 0s;
}

.nav__notes li {
	padding: 10px 20%;
	line-height: 1;
	font-size: 18px;
}


button {
	margin-left: 20px;
	padding: 9px 25px;
	background-color: rgba(0,136,169,1);
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease 0s;
}

button:hover {
	background-color: rgba(0,136,169,0.8);
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

body {
	position:relative; 
	left: 0px;  
	margin:0 auto;
	background-color:white;
	padding-bottom: 5%;
}



aside {
    width: 35%;
    padding-left: .5rem;
    margin-left: .5rem;
    float: right;
    box-shadow: inset 5px 0 5px -5px #29627e;
    font-style: italic;
    color: #29627e;
}


aside > p {
    margin: .5rem;
}

figcaption {
    font-style: italic;
    color: #29627e;
}


/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .texts, .publist, .pub {
        padding: 30px 5%;
    }

    header {
        flex-wrap: wrap;
        padding: 10px 5%;
        justify-content: center; /* Center the items in the header */
    }

    .nav__links {
        text-align: center;
        margin-top: 10px;
        width: 100%;
    }

    .nav__links li {
        display: block;
        padding: 5px 0;
    }

    button {
        margin-left: 0;
        margin-top: 10px;
    }

    .name {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    aside {
        width: 100%;
        padding-left: 1rem;
        margin-left: 0;
        float: none;
        box-shadow: none;
    }

    aside > p {
        margin: .5rem 0;
    }

    /* Adjust font sizes */
    .navbar, button {
        font-size: 18px;
    }

    .texts, .publist, .pub {
        font-size: 16px;
    }

    .name font {
        font-size: 4;
    }

    .nav__links font {
        font-size: 3;
    }
}

/* Media Queries for Larger Mobile Devices and Tablets */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .texts, .publist, .pub {
        padding: 30px 10%;
    }

    header {
        padding: 15px 5%;
        justify-content: center; /* Center the items in the header */
    }

    .nav__links {
        text-align: center;
    }

    .nav__links li {
        padding: 0px 10px;
    }

    aside {
        width: 50%;
    }
}

