/*Made by AG*/

@import url('https://fonts.googleapis.com/css2?family=Lora&family=Mulish&display=swap');
body {
    font-family: 'Mulish', sans-serif;
    font-size: 20px;
    font-style: oblique;
    font-weight: 550;
    margin: auto;
    max-width: 1440px;
    background-image: url('image/bgpattern.svg');
}

.navbar ul {
    list-style: none;
    margin: auto;
    padding: 0;
    display: flex;
    background: #FBEEC1;
}

a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.navbar ul li {
    margin-right: 15px;
    padding: 15px;
    background: #FBEEC1;
}

.navbar ul li:hover {
    background: #BC986A;
}

.info {
    margin-bottom: 10px;
    background: linear-gradient(155deg, #FBEEC1, 40%, #BC986A);
}

#avatar {
    width: 100%;
    margin: 10px 0;
}

.info-text {
    padding: 20px;
}

.aboutme {
    margin-bottom: 10px;
    padding: 20px;
    position: relative;
    align-items: center;
    justify-content: center;
    background-image: url('image/about.jpeg');
    background-size: cover;
}

.aboutme::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(251, 238, 193, 40%);
}

.aboutme h2,
p {
    position: relative;
    color: #000;
}

.achivment {
    margin-bottom: 10px;
    padding: 20px;
    position: relative;
    align-items: center;
    justify-content: center;
    background-image: url('image/achivment.jpg');
    background-size: cover;
}

.achivment::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(251, 238, 193, 35%);
}

.achivment h2,
p {
    position: relative;
}

.achivment h3 {
    position: relative;
    text-align: center;
    font-size: 20px;
}

.achivment ul,
li {
    position: relative;
    font-size: 18px;
}

.form-row {
    display: flex;
}

.achivmentbox {
    border: 3px solid #000;
    box-sizing: border-box;
    width: 48%;
    margin: auto;
}

.contact {
    background: linear-gradient(125deg, rgb(251, 238, 193), 20%, #BC986A);
    padding: 20px;
}

.contact img {
    width: 100px;
    margin: 10px 20px;
    transition: 0.6s;
}

.contact img:hover {
    transform: scale(1.3);
}

@media (max-width:685px) {
    .form-row,
    .achivmentbox {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width:471px) {
    .contact img {
        width: 70px;
        margin: 5px 5px;
    }
    a {
        font-size: 18px;
        margin-right: 5px;
        padding: 10px;
    }
    p {
        font-size: 18px;
    }
    .navbar ul li {
        font-size: 16px;
        margin-right: 5px;
        padding: 5px;
    }
}

@media (max-width:385px) {
    .contact img {
        width: 60px;
        margin: 5px 5px;
    }
    a {
        font-size: 16px;
        margin-right: 5px;
        padding: 10px;
    }
    p {
        font-size: 16px;
    }
    .navbar ul li {
        margin-right: 10px;
        padding: 10px 0;
    }
}