@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Instrument+Serif:ital@0;1&family=Jomolhari&display=swap');

.clr {
    clear:both;
}

body {
    background-color:#F4EAE0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

h1 {
    color:#3D2C2E;
    font-family: "Inknut Antiqua";
    font-size: 4.4em;
    margin: 0px 0px;
    padding: 0px 0px;
    text-align: center;
}

h2 {
    color: #3D2C2E;
    font-family: "Inknut Antiqua";
    font-size: 3em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    text-align: center;
}

h3 {
    color: #3D2C2E;
    font-family: "Inknut Antiqua";
    font-size: 2em;
    font-weight: 300;
    margin: 0.5em 0;
    text-align: center;
}

h4 {
    color: #3D2C2E;
    font-family: "Inria Serif", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.2em;
    text-align: center;
}

h5 {
    color: #3D2C2E;
    font-family: "Inria Serif", serif;
    font-weight: 500;
    font-size: 1.2em;
    text-align: center;
    text-decoration: underline;
    margin: 2em 0 0 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

p {
    font-family: "Jomolhari", serif;
    font-size: 1.2em;
    font-weight: 500;
    color: #3D2C2E;
    margin: 0  0 2em 0;
}

p span {
    display: block;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color:#3D2C2E;
}

.out-link {
    text-decoration: underline;
}

a:hover {
    color:#bb8b91;
}

section {
    margin: 0 0 4em 0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #F4EAE0;
}

nav {
    width: 100%;
    font-family: "Inknut Antiqua";
    color:#3D2C2E;
    font-size: 1em;
    height: 17vh;
    border-bottom: 1px solid #3d2c2e3a;
    box-sizing: border-box;
    display: flex;
}

nav ul {
    margin-left: 3em;
    width: 100%;
    list-style: none;
    display: flex;
    gap: 3em;
    align-items: center;

}

nav ul li:last-child {
    margin-left: auto;
    margin-right: 6em;
} 

nav ul li img {
    border-radius: 50%;
    box-shadow: 0px 0px 2px 1px #3D2C2E;
}

nav ul li img:hover {
    box-shadow: 0px 0px 2px 1px #bb8b91;
}

nav ul li a {
    text-decoration: none;
}

#name {
    width: 100vw;
    height: 70vh;
    display: flex;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2)) , url("../images/home-backgrounds/1.jpg");
    background-size: cover;
    background-position: 0;
    background-repeat: no-repeat;
    border: 1px solid #000;
    align-items: center;
    justify-content: center;
}

#name h1 {
    color:#F4EAE0;
}

#home-bg {
    margin: 0;
    padding: 0;
}

#photo-collection img {
    float: left;
    max-width: 50vw ;
}

#photo-collection {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#photo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    float: right;
    width: 50%;
    padding-left: 4em;
}

blockquote{
    color:#3D2C2E;
    font-family: "Instrument Serif", serif;
    font-size: 2em;
}

#quote_container {
    width: 600px;
    height: 150px;
    margin-top: 0px;
}

footer {
    font-family: "Inknut Antiqua";
    color:#3d2c2ec0;
    height: 10vh;
    max-height: 10vh;
    border-top: 1px solid #3d2c2e3a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16em;
}

footer a {
    color:#3d2c2ec0;
    text-decoration: underline;
}

#about-intro img {
    margin: 0px 0px 10px 0px;
}

#about-intro p {
    width: 40vw;
    text-align: center;
}

#achievements {
    width: 100vw;
    height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2)) , url("../images/achievements/vvm-bg.JPG");
    background-size: cover;
    background-position: 0% 26%;
}

.links {
    display: flex;
    font-size: 1em;
    flex-direction: row;
    vertical-align: center;
    justify-content: center;
    gap: 1em;
}

#vvm-btn {
    color: #1D3750;
    background-color: #ece252be;
}


#swim-comp-btn {
    color: #1D3750;
    background-color: #A0F6E8be;
}

#prog-btn {
    color: #EEE;
    background-color: #DF6363be;
}

.links a {
    color: #F4EAE0;
    margin-top: 0.8em;
    padding: 0.8em;
    background-color: #3d2c2e3a;
}

.art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Inria Serif", serif;
    font-size: 1em;
}

.art img {
    object-fit: cover;
    width:  auto;
    height: 100%;
    max-height: 60vh;
    margin: 0 0 0.5em 0;
}

#eighty-oddities-btn {
    color: #EEE;
    background-color: #5B504E;
}

#auli-btn {
    color: #EEE;
    background-color: #156064;
}

#kerala-btn {
    color: #1D3750;
    background-color: #7BC950;
}

#misc-btn {
    color: #EEE;
    background-color: #CF4848;
}

#photography .links {
    margin: 0 0 3em 0;
}

.photo {
    display: flex;
    flex-direction: column;
    text-align: center;
    
    font-family: "Inria Serif", serif;
    font-size: 1em;
    color: #3D2C2E;
    overflow: hidden;
}

.photo img {
    object-fit: cover;
    width:  auto;
    height: 100%;
    max-height: 60vh;
    border-radius: 10px; /* Adds rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Optional */
    margin: 0 0 0.5em 0;
    padding: 0;
    object-position: 50% 50%;
}

.poetry img {
    object-fit: contain;
    width:  auto;
    height: auto;
    max-height: 60vh;
    margin: 0 0 0.5em 0;
    padding: 0;
    
}

.gallery {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 2em;
    max-width: 90vw;
    margin: 2em auto;
    align-items: stretch;
}
.gallery div img {
    object-position: 50%, 50%;
}
#p1 {
    grid-column: 1/2;
    grid-row: 1/2;
}

#p2 {
    grid-column: 2/4;
}

#p4 {
    grid-column: 1/3;

}

#p4 img {
    object-position: 50% 25%;
}

#p5 img {
    height: 100%;
}

#p5 {
    grid-column: 3/4;
}


#eighty-oddities-gallery div{
    background-color: #F4EAE0;
}
#eighty-oddities-gallery .gallery {
    display: grid;
    align-items: stretch;
    gap: 2em;
    max-width: 90vw;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#eighty-oddities-gallery .photo img {
    object-fit: cover;
    box-sizing: border-box;
    border-radius: 10px; /* Adds rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Optional */
    margin: 0 0 0.5em 0;
    padding: 0;
    object-position: 50% 50%;
}

.intro {
    margin: 0 2em;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 4em;
    align-items: center;
    justify-content: center;
    max-width: 70vw;
}

#vvm .intro p {
    width: 35%;
    margin: 0;
}

#prog .intro p {
    width: 55%;
    margin: 0;
}

#vvm div {
    margin: 1em 0;
    width: 60%;
}

#prog div {
    margin: 1em 0;
}

.feats {
    text-align: center;
}

#kp1 {
    grid-column: 3/4;
}

#kp2 {
    grid-column: 1/3;
    grid-row: 1/2;
}

#kp3 {
    grid-column: 2/5;
}

#kp4 {
    grid-column: 3/5;
}

#kp5 {
    grid-row: 3/4;
    grid-column: 1/3;
}

#kp6 {
    grid-column: 1/2;
    grid-row: 2/3;
}

#kp7 {
    grid-row: 1/2;
    grid-column: 4/5;
}


#ap1 {
    grid-column: 1/4;
}

#ap4 {
    grid-row: 1/2;
    grid-column: 4/5;
}

#ap2 {
    grid-column: 2/5;
}

#ap7 {
    grid-row: 2/3;
    grid-column: 1/2;
}

#ap3 {
    grid-column: 1/3;
}

#ap5 {
    grid-row: 3/4;
    grid-column: 3/5;
}

#ap6 {
    grid-row: 4/5;
    grid-column: 1/4;
}

#a4 {
    grid-column: 3/5;
}

#ap8 img {
    object-position: 85% 50%;
}

#mp7 {
    grid-row: 1/2;
    grid-column: 2/4;
}

#mp2 {
    grid-row: 2/3;
    grid-column: 3/5; 
}

.intro span {
    text-align: center;
}

#swim-comp > div > div > img {
    width: 40vw;
    border-radius: 10px;
}

#swim-comp > div > p {
    margin: 0.5em 0 0 0;
}

.image-container {
    margin: 2em 0;
    display: flex;
    width: 80%;
    max-width: 80vw;
    gap: 2em;
}

.image-container img {
    overflow: hidden;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0.2px #0000005e;
}

#swim-comp h5{
    text-align: left;
}

.image {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    font-family: "Inria Serif", serif;
    font-size: 1em;
    color: #3D2C2E;
}

#swim-comp .photo {
    margin: 1.5em 0;
}

#contact span {
    margin: 2em 0;
}