* {padding: 0; margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}

body {
    box-sizing: border-box;
    background-color: #f0f8ff;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.obj {
    max-width: 800px;
    width: 90%;
}
.shw {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

#header, #aboutloon {
    background: #F9C846;
    color: #382d10;
    border-radius: 10px;
    text-align: center;

    margin: 10px;
}


/* About Loon */

#aboutloon {
    text-align: left;
    display: flex;
    align-items: center;
    background-color: white;
    
    aspect-ratio: 2 / 1;
    width: 90%;
    height: auto;
    max-width: 800px;
    
    padding: 0;
}

.rte {
    transition: transform 0.3s ease;
}
.rte:hover {
    transform: scale(1.05) rotate(1deg);
}

.info {
    padding: 10px;
}
.info h2 {text-align: center;}
.info {font-size: 20px;}
#aboutloon img {
    flex: 1 1;
    width: 50%;
    height: 100%;
    object-fit:cover;
    border-radius: 10px 0 0 10px;
}

/* Projects */
#projects {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
#pjdesc {
    text-align: center;
    margin: 20px;
    background-color: #24A0ED;
    color: #00223f;
    width: 100%;
    border-radius: 10px;
}
.project {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 2 / 0.5;
    width: 100%;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background-color: white;
    color: #000000;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.project:hover {
    transform: scale(1.05);
}
.pjinfo {
    padding: 20px;
    width: 40%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
}
.pjinfo h2 {
    text-align: center;
}
.project img {
    width: 60%;
    object-fit: cover;
    border-right: rgba(0, 0, 0, 0.462) dashed 2px;
}

/* Contacts */
.contact {
    font-size: 24px;
    display: flex;
    align-items: center;
    flex-direction: column;

    width: 90%;
    max-width: 400px;
    margin: 40px auto;
    padding: 4px;

    text-align: center;
    border-radius: 10px;
    background: white;
}
.clist {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    align-items: center;
    justify-items: center;
    margin: 20px 0;
}

.cicon {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 100%;
    max-width: 32px; max-height: 32px;
    
    border-radius: 50%;
    transition: transform 0.3s ease;
    overflow: hidden;
    margin: 0 auto;
}

.cicon img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 100%;
}

.cicon:hover {
    transform: scale(1.2) rotate(12deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#tg {background-color: #4DA5F6;}
#email {background-color: #040404;}
#steam {background-color: rgb(0, 0, 0);}
#roblox {background-color: #2F5FFF;}
#yt {background-color: #ffffff}
#tt {background-color: #000000;}

/* footer */
footer {
    text-align: center;
    opacity: 0.5;
    margin-bottom: 30px;
}


/* Water Mark */
#wmark {
    opacity: 0.3;
    position: fixed;
    top: 0;
    right: 0;
    user-select: none;
}

/* Screen Size */

@media (max-width: 850px) {
    #aboutloon {
        flex-direction: column;
    }
    #aboutloon img {
        border-radius: 10px 10px 0 0;
        width: 100%;
        height: 50%;
    }
    .info {
        font-size: clamp(0px, 2.5vw, 100px);
    }
    .pjinfo {
        padding: 3px;
        font-size: clamp(0px, 1.8vw, 100px);
        width: 60%
    }
    .pjinfo img {
        width: 40%;
    }
    .pjinfo:not(h2) {
        font-size: clamp(0px, 2.2vw, 100px);
    }
}